Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    24

    Default apache failed and dont restart by itself

    Hello,

    Since more than 72 hours, Apache failed every 10 minutes and if i want my domains back, i have to restart the service manualy.

    Someone have a solution?

    Thanks

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Sure, a starting point anyway. Log into shell and run this command:

    /usr/local/apache/bin/httpd -t

    It will check your httpd.conf file for errors. If there are any, it will state what it is a what line so you can fix it.
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  3. #3
    Member
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    24

    Default

    Originally posted by Website Rob
    Sure, a starting point anyway. Log into shell and run this command:

    /usr/local/apache/bin/httpd -t

    It will check your httpd.conf file for errors. If there are any, it will state what it is a what line so you can fix it.
    This is the result after doing /usr/local/apache/bin/httpd -t

    Warning: DocumentRoot [/dev/null] does not exist
    [Sat Apr 19 12:17:31 2003] [warn] NameVirtualHost 64.62.159.7:80 has no VirtualHosts
    Syntax OK

    What do you think?

    Thanks...

  4. #4
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    The VirtualHost warning is no biggee, just means the IP address can be deleted from your httpd.conf file -- WHM doesn't always remove an IP when an account is terminated.

    The first one though, do you not have a /dev/null listing? Do a: locate null and see what comes back.
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  5. #5
    Member
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    24

    Default

    Originally posted by Website Rob
    The VirtualHost warning is no biggee, just means the IP address can be deleted from your httpd.conf file -- WHM doesn't always remove an IP when an account is terminated.

    The first one though, do you not have a /dev/null listing? Do a: locate null and see what comes back.
    warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
    warning: You need to run the 'updatedb' command (as root) to create the database.

    Do you think i have to 'updatedb' command (as root) to create the database ?

    Thanks for helping me.

  6. #6
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Something strange is going on here.

    /usr/bin/updatedb

    Type that in, wait till finished (5 - 20 minutes) then type: locate null
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  7. #7
    Member
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    24

    Default

    Originally posted by Website Rob
    Something strange is going on here.

    /usr/bin/updatedb

    Type that in, wait till finished (5 - 20 minutes) then type: locate null
    /usr/bin/updatedb...it happen nothing when i do this.

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    41

    Default

    i am having a similar problem. any one have ideas? Any one wanna look into my server and take a look at what's wrong?

  9. #9
    Member
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    24

    Default

    This is the responce i receive from cpanel support

    "Eric G." eric@cpanel.net wrote at 2003-04-22 14:41:18 :

    This is actually normal. Apache does a
    graceful restart every 10 minutes to get rid&
    nbsp;of any defunct or abandon processes that
    ;may be running.

    --
    Eric Gregory
    cPanel Support Staff
    Berwick, PA Office

    cPanel, Inc.

  10. #10
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    This is what I have done. It works for me:

    http://forums.cpanel.net/showthread....ght=httpd+cron

  11. #11
    Member
    Join Date
    Mar 2003
    Posts
    863

    Default

    Originally posted by uv3net
    This is the responce i receive from cpanel support

    "Eric G." eric@cpanel.net wrote at 2003-04-22 14:41:18 :

    This is actually normal. Apache does a
    graceful restart every 10 minutes to get rid&
    nbsp;of any defunct or abandon processes that
    ;may be running.

    --
    Eric Gregory
    cPanel Support Staff
    Berwick, PA Office

    cPanel, Inc.
    Thats hilarous because evertime i visit top i see all kinds of defunct processes so that means if Apache restarts every 10min i am getting defunct processes 24hrs a day 7 days a week because every 10min includeds some kind of defunct! Whats up with that?

  12. #12
    Member
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    24

    Default

    Originally posted by sexy_guy
    Thats hilarous because evertime i visit top i see all kinds of defunct processes so that means if Apache restarts every 10min i am getting defunct processes 24hrs a day 7 days a week because every 10min includeds some kind of defunct! Whats up with that?
    Probably Cpanel Team know it's a BUG, but they dont want help to resolve this problem. They just want take our money but dont care about customers. It's what i think....

Similar Threads & Tags
Similar threads

  1. Apache failed and wont restart
    By Cleon in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-12-2005, 11:25 AM
  2. apache failed - A restart was attempted automagicly.
    By Vatoloco in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-11-2004, 12:28 AM
  3. apache failed / httpd won't restart
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-18-2004, 05:27 PM
  4. Replies: 0
    Last Post: 09-04-2004, 10:56 PM
  5. Apache Failed... And wont restart even after recompile :s
    By AlexSmithMCP in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-14-2004, 06:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube