Results 1 to 8 of 8
  1. #1

    [cPanel]: "httpd not running, trying to start" and "httpd could not be started"

    I trying:
    Code:
    [root@serwer /]# httpd restart
    /usr/sbin/httpd restart: httpd not running, trying to start
    /usr/sbin/httpd restart: httpd could not be started
    Code:
    [root@serwer /]# /etc/rc.d/init.d/httpd configtest
    Syntax OK
    Help

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    9,072
    What does the error log show?

    tail -f /usr/local/apache/logs/error_log
    RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca

    www.HostingSecList.com - Security Notices for the Hosting Community.

  3. #3
    Code:
    [root@serwer /]# tail -f /usr/local/apache/logs/error_log
    [Sat Sep  1 20:10:45 2007] [notice] mod_security/1.9.1 configured
    [Sat Sep  1 20:10:45 2007] [error] (12)Cannot allocate memory: could not open transfer log file /usr/local/apache/domlogs/domain23.domain23.info.
    [Sat Sep  1 20:11:13 2007] [notice] mod_security/1.9.1 configured
    [Sat Sep  1 20:11:13 2007] [error] (12)Cannot allocate memory: could not open transfer log file /usr/local/apache/domlogs/domain23.domain23.info.
    [Sat Sep  1 20:13:31 2007] [notice] mod_security/1.9.1 configured
    [Sat Sep  1 20:13:31 2007] [error] (12)Cannot allocate memory: could not open transfer log file /usr/local/apache/domlogs/domain123.domain123.info.
    [Sat Sep  1 20:13:40 2007] [notice] mod_security/1.9.1 configured
    [Sat Sep  1 20:13:40 2007] [error] (12)Cannot allocate memory: could not open transfer log file /usr/local/apache/domlogs/domain123.domain123.info.
    [Sat Sep  1 20:14:06 2007] [notice] mod_security/1.9.1 configured
    [Sat Sep  1 20:14:06 2007] [error] (12)Cannot allocate memory: could not open transfer log file /usr/local/apache/domlogs/domain123.domain123.info.

  4. #4
    This is problem ?
    Code:
    [error] (12)Cannot allocate memory

  5. #5
    Fixed.

    This is VPS server on my Dedicated server, i stopped VPS and reboot base dedicated server, now httpd working

  6. #6
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,522
    you might want to check your memory allocation as your VPS seems to be suffering from memory shortage.
    tanfwc

  7. #7
    Reboot is not a solution
    www.alrutani.com
    Alrutani Web Hosting

    Find your self in alrutani web hosting
    It's more then a host, it's a network of minds !!

  8. #8
    Join Date
    Aug 2007
    Location
    Minneapolis
    Posts
    111
    Quote Originally Posted by alrutani View Post
    Reboot is not a solution
    Someone has never administered a Windows box.

Posting Permissions

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