search for: telinit

Displaying 20 results from an estimated 82 matches for "telinit".

2005 Dec 19
6
Shutdown script not being run
...The softlinks exist in the runlevel directories: /etc/rc.d/init.d/mytest /etc/rc.d/rc0.d/K99mytest /etc/rc.d/rc1.d/K99mytest /etc/rc.d/rc2.d/K99mytest /etc/rc.d/rc3.d/K99mytest /etc/rc.d/rc4.d/S01mytest /etc/rc.d/rc5.d/S01mytest /etc/rc.d/rc6.d/K99mytest When I 'telinit 4', I can see the script output in /var/log/messages: Dec 19 11:46:49 bnofdn1 mytest: Called with start Dec 19 11:46:49 bnofdn1 rc: Starting mytest: succeeded When I 'telinit 3', there is no output from this script. It is like the script is not even being called. Am I doing...
2015 Dec 15
4
Dumb CentOS 7 question
Gordon Messmer wrote: > On 12/15/2015 11:26 AM, m.roth at 5-cent.us wrote: >> Really? There's no systemd target to restart it, and graphical.target >> doesn't do it? Um..... > > Why do you think that? Sorry, I would have thought that graphical.target would do it. And suppose I'm using kdm...? mark > > # systemctl status gdm.service > gdm.service -
2012 Dec 17
4
- problem with reboot or shutdown
hi all, I have a problem with my CentOS 6.3 distribution only when I restart or turn off the machine it does not restart properly. remains in both cases black screen and then I do not understand exactly what he's doing. grub after I hit send and then darkness. only after that forcement for a further time the power cycle then it works. the kernel version is 2.6.32-279.14.1.el6.i686 where is
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 those are production systems. Is there any possibility (given that ``telinit q'' kills the running process) to 'keep the process alive' _and_ reload...
2005 Aug 17
3
Are these steps for re-installing Gnome correct/safe?
...to reset my Gnome interface back to how it was when I first installed it. I'm thinking the steps I need to take are roughtly these, but it would be great if someone could verify that these will be a non-destructive way of getting Gnome back to it's original state: 1. Stop X (By running telinit 3 at a command prompt?) 2. Use YUM to remove Gnome and KDE (#yum remove gnome kde?) 3. Use YUM to install Gnome (#yum install gnome?) 4. restart X (#telinit 5?) Could someone clarify if I have the commands right, and if this process is safe to undertake? Dave
2015 Sep 17
1
Centos 7, systemd, and nvidia drivers
...Gordon Messmer wrote: > You ran "systemctl start multi-user" when you meant to "systemctl > isolate multi-user". > The man page describes isolate: "This is similar to changing the > runlevel in a traditional init system." Note that you can actually do 'telinit 3' and telinit 5' with systemd. I do, even though the documentation is a little complainy about it. This maps to `systemctl isolate runlevel3.target` or `systemctl isolate runlevel2.target` (which in turn are symlinks to multi-user.target and graphical.target), and is a lot less typing. :)...
2015 Dec 15
0
Dumb CentOS 7 question
...isn't in this target should stop and anything that is should start'. You can do `systemctl isolate multi-user.target` and then `systemctl isolate graphical.target` (although beware that the former can and probably will kill your session.) I guess this is reasonably analogous to doing "telinit 3" and then "telinit 5". In fact, "telinit 3" and then "telinit 5" should work basically as expected under systemd -- they will isolate multi-user.target and graphical.target, respectively. -- Matthew Miller <mattdm at fedoraproject.org> Fedora Project L...
2014 Nov 23
0
X Abort after run level 3->5 transition and multiple logins are tried?
Through many years and through CentOS-6.5, I would boot to runlevel 3, do various admin stuff on my desktop and then telinit 5, which started an X session on tty7. I would then do logout->switch user a few times to get additional user IDs active. Many years ago I would accomplish this with some kind of "startx ... :1', or ':2' etc. thingy, but I've forgotten the details now. For some reason 6.6 u...
2006 Aug 17
1
powercom issues
...ups.status="OB" event, is: echo `date` >> /root/upsLog echo " No power, shutting down the system!" >> /root/upsLog sleep 30 control=`/usr/local/ups/bin/upsc Inform@localhost ups.status` if [ $control != OL ] then /usr/local/ups/sbin/upsmon -c fsd fi I changed "telinit 0 " to "upsmon -c fsd", following the advice of Mr Selinger from the mailing list. Besides, I added "shutdownArguments={{1,0},y}" to ups.conf, as you advised me. With this configuration, if the system works correctly, according to me things should go like that in case of a...
2020 May 13
2
CentOS 7 - xfs shrink & expand
...r >> message).? So I couldn't mount my 32TB RAID (where the xfsdump file was). > I think you misunderstood what I meant. You appear to have booted into > rescue mode, but that's not what I meant. What I meant is good old single > user mode. The state you'll get with "telinit 1" or with "s" or "1" as a > kernel boot option. > > For what you want to do not a single reboot is required. > > Regards, > Simon > >> On 5/13/2020 12:48 AM, Simon Matter via CentOS wrote: >>> Hi, >>> >>>> I'm ha...
2007 Jul 10
3
console lock up
hello, I am using 2.6.21, lguest-2.6.21-307.patch.gz and an image from http://uml.nagafix.co.uk/Fedora7/Fedora7-x86-root_fs.bz2 the console hangs, is this expected or caused by the image? I can still ssh to it or if I boot in single user mode the console is available but running init3 and it's hung. also is it possible to get the last gz patch released for 2.6.21?
2007 Jul 10
3
console lock up
hello, I am using 2.6.21, lguest-2.6.21-307.patch.gz and an image from http://uml.nagafix.co.uk/Fedora7/Fedora7-x86-root_fs.bz2 the console hangs, is this expected or caused by the image? I can still ssh to it or if I boot in single user mode the console is available but running init3 and it's hung. also is it possible to get the last gz patch released for 2.6.21?
2009 Apr 19
2
X won't start
This machine is running CentOS 5.3, fully updated Linux mavis.localdomain 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 athlon i386 GNU/Linux. Video is an ATI Radeon 9000. X froze overnight and attempts to restart it fail. I tried an old kernel (2.6.18-92.1.22.el5) before realizing that root can start X and a virgin user can start X. I still can't use my original user name.
2015 Jan 08
3
reload /sbin/init
Hi, There was an update of glibc on CentOS 6 http://lists.centos.org/pipermail/centos-announce/2015-January/020863.html and now: # needs-restarting 1 : /sbin/init How do i tell /sbin/init to use the updated files from glibc without a reboot? -- Kind Regards, Markus Falb
2008 Nov 16
1
Video Card [SOLVED]
...Duo, 8 Gb RAM. Using the latest Nvidia x86_64 driver package (177.82) I could not get the 1280x1060 resolution (I could get nothing but 640x480). Additionally, while attempting various fixes, the monitor base color turned blue. Cure: 0. I set run level 3 in /etc/inittab and then executed 'telinit 3' to work from a text display. 1. I set the Rosewill in VGA (analog) mode--that is the only mode that will work with the Nvidia driver (discovered by trial and error). 2. I deleted the existing xorg.conf file (at /etc/X11). 3. I used nvidia-xconfig to write a new xorg.conf file. 4. I i...
2009 Aug 13
2
/etc/init.d/gdm for centos5
Does anybody know how to restart X in centos 5.3? /etc/init.d/gdm | xdm seems to be missing. thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090813/671fde5f/attachment-0003.html>
2002 Feb 28
1
error -13 with smbopen
Using linux on both server and client. I can run smbmount and all seems ok. But, when I try to use kfm to browse a share, I get the following messages thousands of times in /var/log/messages and things more or less hang up. I have to telinit 1 to get control of my client machine. smb_open: aph5/.directory open failed, result=-13 smb_readpage_sync: aph5/.directory open failed, error=-13 Any insight appreciated, Joel
2007 Apr 12
2
4.92 beta update to centos5 proper words of caution
For those of you who are going to do the update from the centos5 beta to centos 5 proper despite the warnings, this is a(n incomplete) list of instructions for how to accomplish this 1. Get yourself into runlevel 3 (telinit 3 from terminal) as the dbus update will die if you're in X. 2. Setenforce 0 # turn off selinux as there have been some unconfirmed reports that it will interfere with the updates. 3. yum update 4. rpm -qa release="*fc6*" # this will let you find and identify the packages which had th...
1999 Nov 30
0
Security Fixes for Slackware 4.0 Available (fwd)
...the system (such as bind), you need to make sure that you stop the daemon before installing the package. Otherwise the file may not be updated properly because it is in use. You can either stop the daemon manually or go into single user mode and then go back to multiuser mode. Example: # telinit 1 Go into single user mode # upgradepkg bind Perform the upgrade # telinit 3 Go back to multiuser mode Remember to back up configuration files before performing upgrades. - The Slackware Linux Project http://www.slackware.com
2006 Aug 16
5
Master privileges unavailable on UPS, no access :(
Hello! After I type "upsmon", in syslog the following message appears: Aug 16 14:11:09 marto upsmon[7731]: Master privileges unavailable on UPS [Inform@localhost] Aug 16 14:11:09 marto upsmon[7731]: Reason: Access denied Can you tell me where my error is, my configuration files are: ups.conf: [Inform] driver = powercom port = /dev/ttyS0 desc = "inform guard" linevoltage = 220