Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2004
    Location
    South East England
    Posts
    71

    Default Apache Failed... And wont restart even after recompile :s

    i just got home from work and found that apache had failed, when i try 2 restart all i get is this
    PHP Code:
    [root@svr1 bin]# service httpd start
    /etc/init.d/httpd starthttpd could not be started 
    thats even after a recompile.

    tail on the error_log file shows this
    PHP Code:
    [root@svr1 logs]# tail error_log -f -n5
    [Mon Jun 14 23:17:10 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log.
    [
    Mon Jun 14 23:25:49 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log.
    [
    Mon Jun 14 23:25:49 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log.
    [
    Mon Jun 14 23:25:49 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log.
    [
    Mon Jun 14 23:29:36 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log.
    [
    Mon Jun 14 23:33:23 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log.
    [
    Mon Jun 14 23:33:28 2004] [error] (2)No such file or directorycould not open bytes log file /usr/local/apache/domlogs/newtolinux.co.uk-bytes_log
    (newtolinux.co.uk is one of my domains)

    any ideas?
    Alex A. Smith MCP
    Wired Network LTD Managing Director

  2. #2
    Member
    Join Date
    May 2004
    Location
    South East England
    Posts
    71

    Default

    o and the /usr/local/apache/domlogs/ folder doesnt exist....
    Alex A. Smith MCP
    Wired Network LTD Managing Director

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Try creating a domlogs folder.

    In shell,
    cd /usr/local/apache
    mkdir domlogs
    chown 0711 domlogs

    If that doesn't help, try this:
    /usr/local/apache/bin/apachectl configtest
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  4. #4
    Member
    Join Date
    May 2004
    Location
    South East England
    Posts
    71

    Default

    thanks worked a treat, wonder y it stoped working in the first place lol

    /me hugs ya (in a non gay kinda way lol)
    Last edited by AlexSmithMCP; 06-14-2004 at 07:03 PM.
    Alex A. Smith MCP
    Wired Network LTD Managing Director

  5. #5
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    I had my server provider update the kernel a while back and when they were done my sites didn't work. I took a quick look myself and noticed the was no domlogs directory so I created one and restarted apache and all went well. I figured it would take care of your problem as well.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. apache wont restart, help?
    By hamper in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-27-2006, 04:46 AM
  2. Apache failed and wont restart
    By Cleon in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-12-2005, 12:25 PM
  3. Apache failed / won't recompile
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 46
    Last Post: 04-06-2005, 11:48 AM
  4. Apache recompile wont work :(
    By I-Web in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-26-2004, 12:01 PM
  5. Apache wont restart !! help please
    By kickback in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-16-2004, 12:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube