Results 1 to 13 of 13
  1. #1

    Unhappy Apache woes - httpd won't start

    I had no prior problems with apache until today when it started failing on it's own every 20 minutes.

    I recompiled apache with 'easyapache', and now it won't start up at all. When I try to start it it says 'httpd failed please contact system admin'.

    I've done 'service httpd testconfig' and it says 'syntax ok', so there doesnt seem to be anything wrong with that.

    I'm at a loss as to what to do as there are no error messages to go by - any help would be much appreciated. Thanks.

  2. #2
    Have you checked :
    /etc/httpd/logs/error_log ?

  3. #3
    The following entry corresponds to each of my attempts to restart apache from the error_log:

    PHP Code:
    pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run
    Could the problem be with httpd.pid ?

  4. #4
    Ahh I've finally fixed it, for some reason Apache doesn't like PHP 4.3.10, when I recompiled it with 4.3.9 it worked again.

    Hopefully that's the problem solved now.

  5. #5
    Join Date
    Apr 2003
    Location
    NC
    Posts
    3,080
    It should like 4.3.10 just fine but for that matter you should upgrade to 4.3.11 which is the latest and runs fine with Apache.
    John W, CISSP, C|EH
    MS Information Security and Assurance
    ITEagleEye.com - Server Administration and Security
    Yawig.com - Managed VPS and Dedicated Servers with VIP Service

  6. #6
    Join Date
    Oct 2003
    Location
    Long Island, New York
    Posts
    220
    Do you have any apache/php modules that need to be recompiled for the new versions?
    TWSites.com - Business Web Hosting Solutions & Server Management Since 2003

  7. #7
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    you could be using mmcache which will cause those problems.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  8. #8
    you could be using mmcache which will cause those problems.
    Yes I am, does it not work with versions of php above 4.3.9 ?

  9. #9
    Join Date
    Oct 2003
    Location
    Long Island, New York
    Posts
    220
    You have to recompile it every time you update apache, and possibly upgrade to eaccelerator (latest version).
    TWSites.com - Business Web Hosting Solutions & Server Management Since 2003

  10. #10
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    Originally posted by DoCk
    You have to recompile it every time you update apache, and possibly upgrade to eaccelerator (latest version).
    Incorrect
    you have to recompile eacc/Turck every time you update PHP (which is NOT apache). Eacc/Turck have nothing to do with apache, but they have EVERYTHING to do with php.

    I do agree that upgrading to eaccelerator (eaccelerator.net) is a good idea, as Turck is no longer being developed, and eacc is.
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

  11. #11
    What distribution, kernel are you using?

  12. #12
    Originally posted by Dal
    Ahh I've finally fixed it, for some reason Apache doesn't like PHP 4.3.10, when I recompiled it with 4.3.9 it worked again.

    Hopefully that's the problem solved now.
    I think he solved it

    Regards
    Steven Billings
    2UK2 - Local Solutions, World Wide Potential

    First-Rate Support, Stupendous Prices, Remarkable Uptime

  13. #13
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    4.3.9 is incredibly insecure. I suggest you find the real solution to the problem, as you're highly @ risk when using 4.3.9
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

Posting Permissions

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