Re: Command help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bradley wrote:
Instead of rebooting, you could use telinit to change the run level.
It will stop/start services as necessary to match the configuration
for that run level.

Mikkel
Actually, I tried that but for some reason telinit doesn't work
correctly.  It doesn't shut down or start everything it's suppose to
when called up.  I get no errors and I still don't know why.  This is
why I have to reboot.

It's not uncommon for there to be missing "Kxx*" files in one of the
/etc/rc.d/rcX.d directories.  Without them, the system won't stop those
processes.

It SHOULD start everything unless there are some pid files left in
/var/run that indicate the daemon is running when, in reality, it isn't.
For example, if you simply "kill -9 httpd", the /var/run/httpd.pid
file remains in place and a "service httpd start" won't start Apache
since the script thinks it's already running.  Delete /var/run/httpd.pid
and the script will start Apache.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-  Diplomacy: The art of saying "Nice doggy!" until you can find a   -
-                            big enough rock.                        -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux