Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED EA-5662: apache is not start at boot

Discussion in 'General Discussion' started by urgido, Dec 11, 2016.

  1. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    122
    Likes Received:
    7
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    httpd is not start at boot or reboot the vps. Here is my log:

    FYI: If I restart apache from command line or WHM interface it runs without any issue.

    Any clue?
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    920
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    You may need to increase the open file limits, from the CLI check:
    Code:
    cat /proc/sys/fs/file-max
    If the value is really low increase it, example:
    Code:
    echo “1630634″ > /proc/sys/fs/file-max
    If increasing the value works you need to make sure the value loads at the next reboot so add it to /etc/sysctl.conf
    # Maximum number of open files permitted
    fs.file-max = 1630634
    To load the new values from the sysctl.conf file, run:
    Code:
    sysctl -p /etc/sysctl.conf
    Then restart httpd
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    122
    Likes Received:
    7
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    This is my current value

     
  4. JacobPerkins

    JacobPerkins Well-Known Member

    Joined:
    May 2, 2014
    Messages:
    619
    Likes Received:
    96
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    We're adding in our ulimits back to the init scripts via case EA-5662. I hope we'll have this public tomorrow afternoon.
     
  5. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    122
    Likes Received:
    7
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Thanks for your help and quick solution.
    Bless
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice