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

Displaying 20 results from an estimated 4000 matches similar to: "Restarting a Perl-script (socket daemon) from /etc/inittab"

2011 Oct 04
2
Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?
Hello, sorry, for 1 more question on CentOS 5 -> CentOS 6 migration. On my old CentOS 5.7 machine I have the following line: pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl >/tmp/pref-`date +%a`.txt 2>&1' afarber and this has served me well, I don't want to install anything else like daemontools etc. - to keep my web-server easily reinstallable (or movable to
2009 Nov 18
1
Removing respawning process from inittab w/o killing it
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, I need to remove an entry of inittab which is used to (re)spawn a process: mydemon:2345:respawn:/usr/sbin/mydemon >/dev/null 2>&1 So, I would comment out that entry and reload init running ``telinit q''. IIRC, this would lead to the currently running daemon being killed. I don't want to /try/ whether I'm right, as
2013 Apr 16
1
inittab - huh what's it good for?
We run a CentOS-5 based hylafax server with external serial modems. We are transitioning to an Asterisk system using IAXmodem running on CentOS-6. On the CentOS-5 system to start the fax modems we added these lines to inittab: # Add fax lines and always ALWAYS run "telinit q" after making a change. fax1:2345:respawn:/usr/sbin/faxgetty ttyS0 fax2:2345:respawn:/usr/sbin/faxgetty ttyS1
2006 Jun 30
1
/etc/inittab: Serial access/ Console Server
>On Thu, 2006-06-29 at 20:48 -0700, Chris Fox wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Rodrigo Barbosa wrote: >> >> > you might want to try agetty: >> > >> > T0:23:respawn:/sbin/agetty 9600 ttyS0 vt100 >> > >> > Not sure if it will work, but seems likely. >> > >> I've always
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
The following patch allows OpenSSH 2.2.0-p1 to be started (and managed) from /etc/inittab (by "init") on systems which support that. This is useful when you *really* want SSHD to always run since it will be automatically restarted by "init" if it dies (and if "init" dies the the systems dies :-). I use a line (in /etc/inittab) like this on Solaris systems:
2009 Feb 14
1
Asterisk CLI problem if run from /etc/inittab
Hi, We are having a strange issue. If we run asterisk from /etc/inittab and then connect using asterisk -r, we don't see any logs coming in CLI. However logs are properly reported to /var/log/asterisk/messages and system is working fine. Now, if we run from command line (asterisk -f) and then usie asterisk -r, we properly see logs in CLI. This is bit strange and not able to solve this
2008 Nov 12
0
guest inittab problems
We have several suse 10.3 guests running in paravirtualization, however all the guests boot with the following messages: Loading keymap Couldnt open /dev/tty1 Loading /usr/share/kbd/keymaps/i386/qwerty/us.map.gz failed Loading compose table latin1.add failed Start Unicode mode Couldnt open /dev/tty1 Couldnt open /dev/tty2 Couldnt open /dev/tty3 Couldnt open /dev/tty4 Couldnt open
2009 Oct 09
0
/etc/inittab not loaded properly
hi, im new here. we have servers with centos 4. yesterday one of it crash and cold rebooted. reboot process run well until finally we found that some of /etc/inittab configurations doesn't loaded properly, like no virtual terminal available and svscanboot not executed. i assumed that these configurations not loaded: # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1
2009 Feb 10
1
INIT: Id "snmp" respawning too fast: disabled for 5 minutes
Hello all, I recently started seeing these messages on the consoles of three production Centos 5.2 servers. They have been occurring nonstop for the past few days and show up routinely every five minutes. INIT: Id "snmp" respawning too fast: disabled for 5 minutes INIT: Id "snmp" respawning too fast: disabled for 5 minutes INIT: Id "snmp" respawning too fast:
2010 May 15
1
what''s wrong with my pv domU console? INIT: Id "1" respawning too fast: disabled for 5 minutes
Hi Pasi, if I don''t change the tty to hvc it will stopped on Kernel 2.6.31.13 on i686 (console) localhost login: root Kernel 2.6.31.13 on i686 (console) localhost login: root Kernel 2.6.31.13 on i686 (console) localhost login: root After I change it to hvc0 followed the twiki page the log is Remounting root filesystem in read-write mode: [ OK ] Mounting local filesystems: [ OK
2006 Sep 19
3
Error on DomU with xencons=ttyS
Hi all, I have a question on /etc/inittab for DomU booted with xencons parameter. I saw the following error messages when I appended xencons=ttyS to DomU boot option. INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "4" respawning too fast: disabled for 5 minutes INIT: Id
2003 Sep 25
4
[Bug 716] OpenSSH 3.7.1p2: sshd doesn't start at reboot (Tru64 UNIX)
http://bugzilla.mindrot.org/show_bug.cgi?id=716 Summary: OpenSSH 3.7.1p2: sshd doesn't start at reboot (Tru64 UNIX) Product: Portable OpenSSH Version: -current Platform: Alpha OS/Version: OSF/1 Status: NEW Severity: major Priority: P2 Component: sshd AssignedTo: openssh-bugs
2008 Sep 01
10
Unable to xm console in a running domU
Hi list, I am running a virtualized server. Dom0 uses Xen 3.2.1 with Debian Etch and a custom kernel 2.6.21 created by my webhosting company. I install my domU using debootstrap for a Debian Etch with 2.6.18-6-xen-amd64 kernel. Everything works well except the fact that once the VM is started I cannot "xm console" into it. It only works while it is booting and while it is shutting
2008 Jan 28
6
Xen Virtual Console xvc (Was: Re: Pardon me for possibly dumb question but....)
Thread stealing is not nice, even if the subject is generic. > Related question - what physical device does /dev/xvc0 refer to? What can > I > connect to get to the agetty running on this device? > xvc0 is a xen virtual console and does not correspond directly to a physical device that I am aware of. Yves-Gaël Chény seemed to have answered the second part of the question: >
2010 Apr 29
9
illegal root login on `hvc0''
Hi, I''m running Xen 4 on Slack64. I haven''t console login prompt to domU until I changed xvc0 to hvc0 on /etc/inittab file. No I have access to login but whenever I try to login I get this error from /var/adm/secure file root@darkstar:/var/adm# cat secure Apr 28 22:49:22 darkstar login[1286]: ILLEGAL ROOT LOGIN on `hvc0'' Apr 28 22:49:45 darkstar last message repeated
2006 Jan 09
1
OT: IAXModem in inittab causes modem to be u nres ponsive, running from console it's OK
good tips ill try that out thanks ps is there a recommended runlevel or 2345 is ok? -----Original Message----- From: Lee Howard [mailto:faxguy@howardsilvan.com] Sent: Monday, January 09, 2006 1:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] OT: IAXModem in inittab causes modem to be unres ponsive, running from console it's OK Colin Anderson
2005 Jun 08
1
error message: INIT: Id "s0" respawning toofast:disable for 5 minutes
Guys (and Gals), FYI I also have the *same* message here. Wonder is it is related to my Compaq D500 Space Saver PIV 1.7 or the fact that I don't yet have a modem card in the * box. (Please don't shoot me, did try Google first) Many thanks, Wagner Gimenes -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf
2010 May 18
2
/etc/inittab
Help! I hosed my system and did a restore from a backup but when I boot, I get an error no inittab file found. Where can I get a 5.2, 'stock' inittab file not in a rpm so I can use a rescue disk to create this file? Or if possible, could someone please post their's for me? TIA
2006 Aug 29
4
/dev/tty*: not a character device after reboot
Hello All I just recently adopted a server with Gentoo/Xen as domain0 server with several domainUs attached to it. Please forgive my xen-noobness, but I was hoping that someone can help me out. These images have not been updated in a long time, and I''m trying to get all the domainUs updated with their appropriate services patches, etc. I''m currently working on one Gentoo
2007 Nov 18
2
Launching X-Windows at different runelvels
Hi all, I need to launch X-Windows at runlevel 4 and 5. CentOS only start up x-windows at runlevel by default. I have modified /etc/inittab to accomplish this: x:4:respawn:/etc/X11/prefdm -nodaemon x:5:respawn:/etc/X11/prefdm -nodaemon But this returns errors every time that start and stop system ... Which is the correct form to launch x-windows under centos at different runlevels?? Many