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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
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
Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
You should look at /var/log/messages as you attempt to restart some of the services. THere should be an error generated that would help find the problem.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.