Results 1 to 6 of 6
  1. #1

    Apache won't start

    For some reason, apache is down and I can't even restart the service.

    root 5311 0.8 0.5 20784 19380 ? S 15:37 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
    root 5321 0.0 0.0 2236 1128 ? S 15:37 0:00 /bin/sh /etc/rc.d/init.d/httpd start
    root 5323 0.6 0.1 13112 6308 ? S 15:37 0:00 /usr/local/apache/bin/httpd -DSSL
    Does anyone can tell me what I can do?
    Off Topic Forum - An Off Topic discussion Forum.

  2. #2
    Join Date
    Sep 2005
    Location
    Southern California
    Posts
    179
    Check out the error log at /usr/local/apache/logs/error_log

    You can also kill those bottom two processes (5321 and 5323) and try to start it yourself to see any error messages

    Code:
    /etc/rc.d/init.d/httpd start

  3. #3
    Join Date
    Aug 2006
    Location
    Regina, Saskatchewan, CA
    Posts
    221
    Building on localhost127's idea, you might want to run a continuous cat on the log file while you try to restart the service. You can then see what happens while it's running.

    tail -f /usr/local/apache/logs/error_log
    Bill - Support Analyst - Liveblock Auctions International
    http://www.LiveGlobalBid.com

  4. #4
    under the CPU/Memory/MySQL Usage

    it has this weird high cpu load.

    nobody 165.06 38.66 0.0
    Top Process %CPU 72.0 /usr/local/apache/bin/httpd -DSSL
    Top Process %CPU 43.0 /usr/local/apache/bin/httpd -DSSL
    Top Process %CPU 37.0 /usr/local/apache/bin/httpd -DSSL
    Off Topic Forum - An Off Topic discussion Forum.

  5. #5
    Join Date
    Aug 2006
    Location
    Regina, Saskatchewan, CA
    Posts
    221
    You'd probably want to check an access log but add on a grep to specify those bits. If you can identify what is causing this, you might feel more comfortable with either killing the processes or leaving them alone. On my machine, if the processes were still running, it would be like this:

    tail -f /var/log/httpd/access_log | grep DSSL
    Bill - Support Analyst - Liveblock Auctions International
    http://www.LiveGlobalBid.com

  6. #6
    You might want to check your semaphores if they fill up.

    ipcs -s

    Or if your logs in /usr/local/apache/logs

    If any file is over 2 Gigs

    Good luck!
    Psychz Networks - Enterprise Servers & Data Center Professionals
    ★24/7 On-Site Support - Premium Server Hardware
    ★Facilities: Los Angeles, CA - Dallas, TX | Tier-4 Data Centers
    ★Dedicated Servers - Colocation - Psychz DDoS-Shield™ On-Premise Mitigation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •