search for: inittab

Displaying 20 results from an estimated 366 matches for "inittab".

2010 May 10
4
Begining with puppet.
Hi, I am trying to do my first puppet configuration, already installed the puppetserver and client, in this link show my configuration and my puppet structure: http://paste.pocoo.org/show/212227/ But when i run the client side daemon i get this message: info: /Class[main]/Node[basenode]/Class[inittab]/File[inittab]/source: No specified sources exist err: /Class[main]/Node[basenode]/Class[securetty]/File[securetty]/source: Could not describe /securetty: Fileserver module ''securetty'' not mounted Anyone can help me? Thanks in advance! -- Marley Bacelar Project Fedora Ambassado...
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 Jun 30
1
/etc/inittab: Serial access/ Console Server
...always wanted to know how this is done (before serial ports go >> away forever). >> > >We (CentOS Project) just got a $29,000 machine w/o a video card. (Sparc >niagara t2000 machine). > >I use a serial connection to what it boot ... > > You don't just need the inittab setting. You also need a GRUB setting and a secureTTY detting. The following is a paste out of my firewall document that I wrote that has been tested and works: 6.15 Configuring Headless Operation By configuring ?headless? operating we will be able to manage the firewall via a cable plugged into...
2011 Jun 16
1
OS Hardening typo?
...( http://wiki.centos.org/HowTos/OS_Protection ) there's a section on "Physical Protection" that includes requiring a single-user mode password. There's four lines that look something like this: echo "Require the root pw when booting into single user mode" >> /etc/inittab echo "~~:S:wait:/sbin/sulogin" >> /etc/inittab echo "Don't allow any nut to kill the server" perl -npe 's/ca::ctrlaltdel:\/sbin\/shutdown/#ca::ctrlaltdel:\/sbin\/shutdown/' -i /etc/inittab It's been awhile since I've messed with the /etc/initab file, b...
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 On the CentOS-6 host we did this, in accordance with the instructions provided in the various README files and man pages. # s...
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 no...
2011 Jun 02
2
Restarting a Perl-script (socket daemon) from /etc/inittab
...get is small and I had enough troubles already, I want to use as little additional software as possible - so that I can change hosters or reinstall my cheapo server quickly. That is why I for example just log to /tmp/pref.txt instead of installing syslog-ng. And that is why I'd like to use /etc/inittab for restarting my Perl daemon. My Perl daemon runs mostly stable, but approx. once a week it can crash with a May 29 11:06:46 myhost kernel: pref.pl[3113]: segfault at 00007fffa21e6fd8 rip 0000003cce274460 rsp 00007fffa21e6fd0 error 6 Since I'm tired of restarting the server manu...
2011 Oct 04
2
Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?
..., I don't want to install anything else like daemontools etc. - to keep my web-server easily reinstallable (or movable to another hoster). But now I have migrated to CentOS 6.0, added that line and the "init q", but nothing happens - as indeed promised by the comments in the new /etc/inittab. Where should I move my line, which docs to read? The pref.pl is a poll()ing TCP-sockets daemon for a game Thank you Alex
2006 Jan 09
1
OT: IAXModem in inittab causes modem to be u nres ponsive, running from console it's OK
...ps 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 wrote: >faxguy, maybe you can tell me why > >As I've noted in previous posts I'm evaluating HylaFax with IAXModem. When I >run iaxmodem and faxgetty through a console the modem works 100% I have...
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 2 times Apr 28 23:04:51 darkstar log...
2010 Jan 26
2
Xen, Amazon, and /proc/cmdline
Amazon (or perhaps Amazon's configuration of Xen) forces a machine to come up at run level 4, regardless of what's in /etc/inittab. I've looked through /etc/rc.sysinit and /etc/rc.d/rc, to determine which (if any script) looks at /proc/cmdline and forces a particular run level, but to no avail. It seems that /sbin/init does the forcing. Can anyone confirm that /sbin/init reads /proc/cmdline to overwrite /etc/inittab? I...
2008 Nov 10
1
Console and disk-devicenames in DomU on Lenny?
Hi, I've tried to setup a new DomU on Lenny and I'm a little bit confused on which device names I should use for disks and console in the various DomU-kernels? Is it correct that: 2.6.18-xen-kernel from Etch start with no "extra" tty1 in /etc/inittab /dev/sd for disks 2.6.26-xen-kernel from Lenny: start with no "extra" hvc0 in /etc/inittab /dev/xvd for disks pv-ops-kernel from upstream: start with extra="console=hvc0 xencons=hvc0" hvc0 in /etc/inittab /dev/xvd for disks Best Regards, /LM
2008 Nov 12
0
guest inittab problems
...ing console font lat9w-16.psfu -m trivial G0:loadable Couldnt open /dev/tty1 Couldnt open /dev/tty2 Couldnt open /dev/tty3 Couldnt open /dev/tty4 Couldnt open /dev/tty5 Couldnt open /dev/tty6 failed Couldnt get a file descriptor referring to the console done Here is the un-commented /etc/inittab on the DomU''s: id:3:initdefault: si::bootwait:/etc/init.d/boot l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 ls:S:wait:/etc/init.d/rc S ~~:S:respawn:/sbin/su...
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 ri...
2013 Nov 05
1
/etc/inittab
I noticed in /etc/inittab that it has this line: # 0 - halt (Do NOT set initdefault to this) It makes sense, but what if it did get set to 0 or 6? Is there a way to boot to single-user mode anyway to edit the file and change it to a correct value? What if it is set to a negative number or a value > 6? Does it defa...
2006 Jan 09
1
OT: IAXModem in inittab causes modem to be unres ponsive, running from console it's OK
faxguy, maybe you can tell me why As I've noted in previous posts I'm evaluating HylaFax with IAXModem. When I run iaxmodem and faxgetty through a console the modem works 100% I have yet to find a fax that it won't tie up with. When I run IAXmodem and faxgetty in initttab, the modem is extremely slow to respond and only actually does anything about half the time, the rest of the time
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 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 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4...
2011 Aug 09
2
mingetty on centos 6
hi all, on centos 5 - I could trim the number of mingetty's running by editing /etc/inittab on centos 6 there are none in the /etc/inittab file but it reverences /etc/init/tty.conf. I dont see in there how to control how many mingetty's get started. Where is that? THanks, Jerry
2013 Mar 19
3
2 questions re UPS management
...a bit does a clean shutdown. All this without installing ANYTHING extra. one of the UPSes I'm using is a tripplite (now on 6.4 x86_64, but formerly on the same machine with 5.9 i686), the other is a CyberPower UPS on a different 5.9 machine. question #1: in 5.9 there are two entries in /etc/inittab, one for power fail and the other for power restoration. The default setting for the powerfail entry has it doing a shutdown in 2 minutes. So, I need to tweak it a bit: that UPS powers two computers, the Centos 5.9 box and a Windows XP box. A little googling showed me how to use Samba tools to tel...