You are not logged in.
Pages: 1
Topic closed
Some of my daemons are not starting and the script /etc/rc.local in not being executed. I think the problem started after I changed some of the startup configuration using chkconfig.
Apache for example should be working in runlevel 4 (the default level on my system):
[root@summer root]# chkconfig --list httpd
httpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@summer root]# runlevel
N 4
[root@summer root]# /etc/init.d/httpd status
httpd is stopped
Yet it does not start after a computer restart (no sign of starting in the apache logs). I have to start it manually using either:
/etc/init.d/httpd start
or
/etc/rc.d/rc4.d/S85httpd start
Some services (httpd, smb and cron as far as I know) present this problem. Other services work fine.
Any ideas?
still having this prob?
Well, if you're using rc.local then i assume you're using Red Hat or Fedora, which i don't use.
cat /var/log/apache2/error.log
here and lets see
I guess I'm still having this problem, did not dare to restart since :)
Sadus I checked the apache error log, and there's no entry whatsoever, no trace of any attempt to start, so I have assumed that the problem is from the startup scripts not apache.
When I manually start apache after the system startun "/etc/init.d/apache start", then everything goes OK and you can see the normal entries in error.log
I'm going to work on this problem tonight and tell you what happens
I fixed it.
some process for the mail server (which I do not use anyway) was getting stuck in 99% cpu usage, slowing down the PC (but hardly noticeable in command line) and effectively halting execution of the following startup scripts.
one of these problems where it turns out to be simpler than you thought.
I just turned off the mail server in all runlevels.
let me guess, Exim?
Beeeeep, wrong answer!
Sorry :)
Nope, exim is not installed on my system
Pages: 1
Topic closed