The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
28 views

init: Id “2” respawning too fast

I've just updated a CentOS 5.10 box to 5.11 with all the latest patches and rebooted. Following the reboot I'm now getting the below error message every few minutes: init: Id "2" respawning too ...
0
votes
1answer
50 views

“No inittab file found” after reset

An old dedicated server (Debian w. Raid1) wasn't responding today and now can't boot after manual reset. Last message is "No inittab file found". I still have access to filesystem via rescue system. ...
0
votes
0answers
36 views

CentOS 5.x - inittab failing on rc.d calls

I have several servers that run some python scripts at the end of the inittab. I have one server which is having issues and the scripts weren't running. With troubleshooting, I found that if I moved ...
0
votes
1answer
154 views

How to respawn a script in RHEL/Centos6 when /etc/inittab has been deprecated?

I have a custom init script and I want that script to be respawned if in case the process dies. In RHEL/Centos 6 /etc/inittab is deprecated. So how should I ensure the process will be respawned?
1
vote
1answer
898 views

can't start daemon tools automatically

Everytime I reboot the server, I need to manually start daemon tools by manually running the command svscanboot &. I've tried adding csh -cf '/command/svscanboot &' in /etc/rc.local and ...
-1
votes
1answer
121 views

can't reset password from centos

I lost the root password. So I modified /etc/shadow and also changed '/etc/inittab' file to access single user mode. But both didn't work. It asked me for a password that I don't have. Why updating ...
-2
votes
1answer
370 views

chkconfig vs /etc/inittab

I had a look at what chkconfig and /etc/inittab - from what I could see both does the same something. If I am wrong, what is the different and which one I should use for specific requirement?
3
votes
3answers
2k views

(ubuntu) How to kill a respawn service

I like to respawn a service when the service goes down. I have added it to inittab however I cannot kill it when i need to. Is there away i can respawn a service however be able to kill it manually ...
1
vote
3answers
12k views

/etc/inittab respawn script migrating from RHEL/CentOS 5.x to 6.x

I have a non-forking perl script running as a TCP-sockets daemon (this script is a backend for a multiplayer game) in CentOS 5.7. It is being started and respawned by /etc/inittab: ...
2
votes
2answers
906 views

Restarting a Perl-script (socket daemon) from /etc/inittab

I run a small multiplayer card game with around 500 users at peak times: The client is in Flash and the server is in Perl. The Perl server binds to port 8080, i.e. only 1 instance of it can be ...
0
votes
6answers
6k views

init.d script not working … but the command works if I execute it in the console

I have a command that is working fine if I executed it from the command line ... but when I put it in an init.d script it wont's start (well .. it starts but have a behavior different from that when ...
3
votes
3answers
1k views

agetty IPMI serial console on RHEL respawning too fast

I have a dell poweredge 2970 server with a serial console over ip enabled on the first ethernet. The server with Red Hat enteprise 5.4 is configured to have console over ttyS1 in grub ...
3
votes
1answer
300 views

(CeontOS) How to respawn lighttpd & MySQL in “/etc/inittab”

I need to manually create auto-respawning for lighttpd & MySQL to make sure it running all time But what is the code to put in /etc/inittab? thanks
0
votes
2answers
323 views

Start up a process before I log in? (linux)

I want to start up synergy on my suse box (gnome) automatically before (preferably, or after) I log in. How do I do this? I am a major Linux newbie and I tried writing the below on the last line of ...
6
votes
8answers
2k views

Using inittab to ensure sshd (and other important items) are still running — any drawbacks?

Having managed to kill sshd on a remote machine (by running a script which used all available memory in the machine, oops...) which I have no access to other than visiting the hosting for[1], I was ...
3
votes
7answers
2k views

Change Run Level

I always forget how to do this, how to I change the inittab run level of a server/daemon?