Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    41

    Default Need Help With Apache Auto-Restart

    I just woke up this morning to find out my server was down almost all last night. The reason being when cpanel was restarting it didn\'t know the password for my ssl. I really don\'t know if it is even setup to start ssl. Can anyone help me with configuring CPanel so that it starts ssl first and knows my password (or should I just take the password right off?). Thank you in advance for any help.

  2. #2
    Member
    Join Date
    Sep 2001
    Posts
    157

    Default

    Ours is doing this too! WTF. Our server has been down for hours now, and I can\'t get into WHM either. I have received a few emails about Apache restarting, so my only guess is that a bug in the last update of WHM is causing the server to continuously reboot.. What\'s the deal!? I can\'t even get ahold of Burst support right now to fix this... and I can\'t do anything on our server..

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    Can you get in with SSH to at least give it a /etc/rc.d/init.d/httpd startssl , and then feed it the SSL passphrase? That will at least get things going...

    and a /etc/rc.d/init.d/cpanel3 restart , should bring up your WHM again.... might want to kill all portsentry processes before you do that though.

    You should build your SSL passphrases into the keys/certificates for future usage. Perhaps there is a bigger issue that made this not a possibility on your server- or maybe it is even a more widespread issue.

    For now, I would shell in and get http started up the hard way, and then bring up the WHM as suggested.

    Good luck!
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    41

    Default

    After talking to my provider if you want to have whm control apache and want to use ssl you can\'t use pass phrases, also if you want to have multiple ssl\'s. Remove the SSL from the ssl keys. To do that type the following where your cert key is stored:
    openssl rsa -in whateveryourcert.key -out whateveryourcert.key
    You will be asked the pass phrase. After that you should be able to reset apache without having to use passphrases and with using whm.

  5. #5
    Member
    Join Date
    Sep 2001
    Posts
    157

    Default

    I don\'t know if that was it or not.. The server was down for at least 4 hours today. We could not get into anything, including FTP and SSH.

    I thank you for your suggestions, but was not able to try them. At least the server has come back up and I hope it doesn\'t die again. Now I just have to deal with one or two services dying each hour since it came back up.

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    41

    Default

    That was how my trouble started happening, that was just so apache would re-start on it\'s own. I would suggest having your provider rebuild the kernel, that has taken care of my problem.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 02-04-2010, 12:19 AM
  2. How can i auto restart apache if memory usage load >= 80%
    By hackboys in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-12-2009, 06:45 PM
  3. Apache Auto Restart Every Day/Minute
    By arkain in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-18-2005, 06:17 AM
  4. Auto Restart Script
    By Netsender in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-07-2004, 12:18 PM
  5. Auto Restart of Services
    By LinuxFreaky in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 09-11-2002, 12:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube