Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a redhat box 9 with a custom compiled 2.4.20 kernel (vanilla). I was going along just fine till I found that a number of my service's were not running. I went and checked on there status but found that they are dead but subsys locked. I went to /var/lock/subsys and tried deleting sendmail and restarting it but it failed to shut down and restart was sucessful. yet it is still dead. Here is my service --status-all
[root@localhost sbin]# ./service --status-all edited for subsys locked.
anacron dead but subsys locked
apmd is stopped
arpwatch is stopped
atd dead but subsys locked
Configured Mount Points:
Active Mount Points:
crond dead but subsys locked
httpd is stopped
Chain INPUT (policy ACCEPT)
target prot opt source destination
so David, I started with crond and did a service crond restart and then service crond reload. afterwards I checked the /var/log/messages and it told me that the service shutdown failed. I thought perhaps I had a mislink in my /etc/rc5.d/ dir but that turned false. I could not locate any reason for the failure. Then I deleted the files in /var/lock/subsys, and that got rid of the problem with subsys locked. then I restarted the services and found that the service was once again dead and locked. any suggestions?
If you do a restart twice without doing anything else, and the stop part fails on the second restart then it should be in the log files why it failed to start and run properly. If it's not in the log files try another service. Some services may have better logging of errors than others, and they may both be failing due to the same problem.