CentOS 5 :: Cannot Execute The "/etc/rc.d/rc.sysinit"

Jan 28, 2011

my computer will not boot up and this error message is post on the screen. the permission for this file on my computer reads "-rw-rw-r--", and i know that the correct permission for this file should be "-rwx-xr-x." is there a way where i can re-change the permission?

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Can't Execute Things In /tmp Now But Is There A Way To Execute Only One File And No More?

Feb 17, 2011

i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???

View 1 Replies View Related

General :: How To Write To A Rc.sysinit On A Tempfs

Feb 25, 2011

my rc.sysinit script has:
if [ "$FACTORY_RESET" = "1" ]; then
echo 'Reseting to factory config'
mount -o sync,remount,rw /boot
[ -r /boot/default.cf.2 ] && mv /boot/default.cf.2 /boot/default.cf.3
[ -r /boot/default.cf.1 ] && mv /boot/default.cf.1 /boot/default.cf.2
[ -r /boot/default.cf.0 ] && mv /boot/default.cf.0 /boot/default.cf.1
[ -r /boot/default.cf ] && mv /boot/default.cf /boot/default.cf.0
mount -o sync,remount,ro /boot fi

And I need to change last one to rw or comment it out until I write some other part of the installation, otherwise the whole system is ro and I can't alter or install anything. I guess that when my system boots put everything into rw, create the system and then move everythiong into ro, so I am locked out. If I remove the SD card and put into another system, how can I access the script and change it?

View 3 Replies View Related

General :: Rc.sysinit File In Opensuse?

Aug 19, 2010

I want to edit the file /etc/rc.sysinit.But this file is used in redhat systems. Iam using opensuse 11.1, to find the corresponding file for the same in opensuse.

View 1 Replies View Related

General :: Change Permissions Of Rc.sysinit In Run Level 1?

Apr 6, 2010

While playing with my Linux box, I edited rc.sysinit in /etc/rc.d/ folder. But now when I boot into run level 3 or 5, I get complain that system cannot run /etc/rc.d/rc.sysinit. I boot into run level 1, and checked its permissions, which is rw-r--r-- . It should be rwxr-xr-x. I tried to use chmod to change its permissions, but it responded that "Read Only file system" Now how can I change its persmissions when in run level 1. In run level 3 and 5, machine does not boot. My box has Fedora Core 2 with kernel 2.6.20.

View 3 Replies View Related

CentOS 5 :: Bash: /bin/grep: Cannot Execute Binary File CentOS 5.4

Jun 4, 2011

I am facing problem on executing commands like df -h,ls-l,grep etc in /bin.

it is showing below errors:--
----------------------------------------------------------------------------------
login as: root
root@220.226.102.217's password:
Last login: Sat Jun 4 11:14:20 2011 from 220.227.54.149
-bash: /bin/egrep: cannot execute binary file

[code]....

View 2 Replies View Related

Ubuntu :: Boot Error: Failed To Spawn Rc-sysinit Main Process?

May 28, 2010

I have a minimal installation of Ubuntu, with lxde-core and some other apps I really use. Sometimes when I start the system, it hangs and nothing else happens. I hit Esc and then I see:Code:init: Failed to spawn rc-sysinit main porcess: Unable to open console: Input/Output error.I get stuck there, and the only thing I can do is to hold the power button, shutdown, boot again, and pray it will boot fine. Sometimes it does, sometimes it doesn't.

View 1 Replies View Related

CentOS 5 Server :: Can't Execute Some Commands?

May 22, 2009

I am trying to determine if I should upgrade PHP's PEAR on my server. I am trying to check the version of PEAR currently installed. I am getting the following error when I use the pear -V command:Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)(/usr/share/pear:/usr/share/php) in System.php on line 459I tried adding /tmp to my php.ini file, but then when I use the pear -V command it doesn't do anything. I do not get any errors or anything.I am also trying to install symfony and have the same situation described above when I use the following command: pear cannel-discover pear.symfony-project.comDoes anyone have any thoughts? If not the solution, does anyone have any suggestions on how to begin troubleshooting this?

View 2 Replies View Related

CentOS 5 :: Execute A C++ Program On PowerPC

Oct 5, 2009

I'm trying to execute a C++ program on PowerPC. But I am facing an error saying: "error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory". But a C program gets executed successfully. The programs are cross compiled using PowerPC cross compiler.

View 1 Replies View Related

CentOS 5 :: Execute `alter Table` For A Lot Of Tables?

May 7, 2009

You piece of advice will be very useful for me! How to execute "ALTER TABLE" for a lot of tables in database? I'm going to change engine from MyISAM to NDBCLUSTER. There are several hundreds of tables in database.Command like ALTER TABLE * ENGINE=NDBCLUSTER

View 1 Replies View Related

CentOS 5 :: Where To Put Commands To Execute Just Before Shutdown / Logoff?

Mar 3, 2010

Where can I put commands which should be executed just before

- logoff

- shutdown

I think there must be somewhere an opposite script to

.initrc
or
.bashrc

View 5 Replies View Related

General :: Rhel/centos File Execute And Installation?

Mar 6, 2010

i have new build testing centos 5.4 i386 base how to monitor logs and watch what is going wrong with file. i have 1 zmanda server enterprise i give permission and when i excecute nothing happend

# chmod +x amanda-enterprise-3.0-installer.bin
-rwxr-xr-x 1 root root 0 Mar 6 12:12 amanda-enterprise-3.0-installer.bin
# ./amanda-enterprise-3.0-installer.bin

what i am missing to install it.

View 1 Replies View Related

CentOS 5 :: Ssh - Execute The Script Remotely / File Not Found?

May 28, 2010

ssh - execute the script remotely / File not found: ''I am uisng amazon ec2-api-tool & ec2-ami-tool

i was unable to execute through ssh. Getting error as File not found: The same script i can able to run directly in client machine successfully. Through ssh i was uanble to run the script remotely Source : myScript.sh ec2-create-volume --size $1 --availability-zone $2 $ssh -i key.pem root@myhost ./myScript.sh 10 us-east-1a In remote machine i have permission for myScript.sh as -rwxr-xr-x

Note:Reference link

1) How to create an ebs image from an existing ec2 instance
2) Building EBS Boot and S3 Based AMIs for EC2 with Ubuntu vmbuilder - Alestic.com

View 1 Replies View Related

CentOS 5 :: Cannot Execute The Installation Script Gives An Error Permission Denied?

Aug 11, 2009

I want to install Codendi softwr to my Centos 5.3.But can not execute the installation script gives an error permission denied./etc/fstab file does not contain a path that holds my CDROM drive.

View 2 Replies View Related

CentOS 5 :: Search A Text File For The Existence Of Certain Strings And Execute A Command If They Exist, Something Along The Lines?

Feb 23, 2010

This should be simple but I can't seem to find what I am looking for.I want to search a text file for the existence of certain strings and execute a command if they exist, something along the lines of:

if <string> exists
command
or

if <any member of this list exists>
command

I know how to manually search a file with grep, cat, etc., but the "if this exists" part eludes me.

View 7 Replies View Related

CentOS 5 :: Yum Crash When Try To Execute "yum Update"

Sep 21, 2009

I'm getting a yum crash when I try to execute "yum update". How could I resolve this.

[root@some_system]# yum update
Loaded plugins: fastestmirror

[Code].....

View 3 Replies View Related

SUSE :: Automate Execute Command, Reboot And Execute Command?

Dec 1, 2008

Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually

View 5 Replies View Related

CentOS 5 :: X/Gnome Takes Long Time To Load And Sudo Takes Long Time To Execute

Oct 13, 2009

I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.

I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.

A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.

I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.

View 19 Replies View Related

Programming :: Awk - Input From One Line - Execute Program - Input From Next Line - Execute Program

Sep 25, 2010

I have a file with two fields of numbers that I want to use as input for another program.

Code:

The above code does not work, as I think it would take the whole first and second fields as the input for one particular instance of the program 'inputbashangle'. What I want is to get the first two numbers from the first line of the file 'outfailtest', execute 'inputbashangle' with them, then move on to the first two numbers of the second line for all the lines of 'outfailtest'.

View 9 Replies View Related

General :: How To Execute Csh In Sh

Aug 23, 2010

how to execute csh in sh ie, if I have a script in csh syntax as , ( my.csh )

##################
set x = y
setenv xx YY
##################

And I have a sh script ( my.sh )

#####################
#!/bin/sh

I want to call here the my.csh in such a way that I have access to variables set by the

csh script
ie. echo $x $xx shoud work from sh ( main script )
######################

View 13 Replies View Related

Fedora :: How To Execute .sh Files

Aug 1, 2011

I'm new to linux but slowly getting the hang of things... I downloaded an application with a .sh extension. I typed "bash filename.sh" It appears to start trying to execute it and then says that it can't display the GUI because it needs access to an X server

View 3 Replies View Related

General :: Execute Different Commands With Same Name?

May 14, 2010

I have a two seperate files on my computer,

which execfile
/usr/local/bin/
/usr/bin/

so, i have two files with the same name in two different directories. How can I specify exactly which command to run?

View 6 Replies View Related

Ubuntu :: Possible To Execute Program From RAM

Feb 14, 2010

I was wondering if it was possible to execute a program from RAM, like having the file data in a bash script variable and then running it.
Something like this:
ls=`cat ls`
$ls
So is it possible to run a program without touching the hard disk and without creating tmpfs or ramfs (it would need to be standard user privileges).

View 1 Replies View Related

Ubuntu :: Why Can't Execute These Files

May 4, 2010

I'm having trouble printing with CUPS. Turns out that none of the binaries under /opt/OpenPrinting-Gutenprint can be executed. Witness:

root$ cd /opt/OpenPrinting-Gutenprint/bin
root$ ./cups-calibrate
bash: ./cups-calibrate: Permission denied

[code]...

View 7 Replies View Related

Ubuntu :: How To Execute A .bin File

May 18, 2010

execute a .bin file. I have downloaded an application but I cannot run it (not recognized by double click).

View 7 Replies View Related

Ubuntu :: Can't Execute Script From Cd

Oct 20, 2010

I have written a shell script and set the permissions to executable. It works fine. I burn it to a cd. But then, I cannot run it from the cd. All of the execute permissions are gone.

View 1 Replies View Related

Ubuntu :: Files Won't Execute?

Nov 20, 2010

I am having trouble getting files to execute, even though I used chmod 777 on them, I don't know what I did wrong, I use ubuntu server so only the terminal is available to me.

View 7 Replies View Related

Ubuntu :: Can't Execute .jar Files?

Apr 1, 2011

I'm trying to execute a .jar file(SwingTest.jar). I change the directory to where the .jar is(Desktop). Then type the following EXACTLY:java -jar SwingTest.jarBut all it outputs is:Failed to load Main-Class manifest attribute fromSwingTest.jar

View 7 Replies View Related

Ubuntu :: Accidentally Set All Bin To Execute?

May 20, 2011

I was in the wrong directory when I did a chmod +x *.bin, so now all of my commands in the terminal come back with the error "Cannot execute binary file." From ls, to cd .. I get this error. I seem to be able to do things with sudo, but does anyone know how to fix all of my permissions so that basic terminal commands come back?

View 9 Replies View Related

Ubuntu :: Execute From FAT Filesystem?

Jul 29, 2011

I have a collection of ELF executables that I am trying to run from a FAT filesystem. How can I do this without modifying the OS?p.s. I am running 11.04

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved