The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reboot Problems

Discussion in 'General Discussion' started by danej, Mar 18, 2008.

  1. danej

    danej Active Member

    Joined:
    Dec 5, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    WHM 11.15.0 cPanel 11.18.3-R21703
    FREEBSD 6.2-RELEASE-p10 i386 on standard - WHM X v3.1.0


    When the box reboots (had power failure at data center), apache and bind do not restart on their own. To restart apache, I just use

    /scripts/restartsrv_apache

    but /scripts/restartsrv_bind fails

    I have to do:

    /usr/sbin/named -u bind -c /etc/namedb/named.conf


    Looking through the log files, it tries to start bind with /etc/named.conf (which doesn't exist). So i did a symbolic link from /etc/named.conf -> /etc/namedb/named.conf. Now, when I restart the box, bind starts, but not apache. I can not see anywhere in the log files why apache doesn't start.

    Any ideas of scripts I can modify, or where a better log file is at?

    I've been looking in

    /var/log/messages
    /usr/local/apache/logs/error_log
     
Loading...

Share This Page