httpd and dovecot service start fails
Nigel Wade
nmw at ion.le.ac.uk
Mon Feb 6 10:02:22 UTC 2006
Harold Hallikainen wrote:
>>On Sat, Feb 04, 2006 at 09:43:02PM -0800, Harold Hallikainen wrote:
>>
>>>I'm installing FC4 on an old machine after having success on a new
>>>machine. I did a new install (instead of update) and modified the same
>>>configs I modified on the new machine. Here's the latest problem. This
>>>is
>>>getting real close to working correctly!
>>>
>>>If I do /sbin/service httpd restart or /sbin/service dovecot restart,
>>>the
>>>restart fails (the stop fails too since they did not start properly
>>>during
>>>boot). However, if I do /usr/sbin/httpd or /usr/sbin/dovecot , they both
>>>seem to run fine. How can I find out what's going wrong during boot or
>>>restart that's causing these to not run? I've looked in the httpd logs
>>>and
>>>the messages log and found nothing.
>>
>>Look again. For httpd, look in /var/log/httpd/error_log. For
>>dovecot, look in /var/log/maillog. If a service isn't starting
>>properly, there _must_ be some information either on the screen or in
>>a log.
>>
>
>
> I left httpd running last night by manually starting it. I then did a
> service httpd restart this afternoon. Here's the restart:
>
> [root at kauko sbin]# ./service httpd restart
> Stopping httpd: [ OK ]
> Starting httpd: [FAILED]
> [root at kauko sbin]#
>
>
Try running the script directly with sh and the -x flag (which will echo
commands before they are executed) so you see where the script is failing:
# sh -x /etc/init.d/httpd start
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw at ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
More information about the Redhat-install-list
mailing list