The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DAM! I Upgrade and apache does not start!

Discussion in 'EasyApache' started by wimp, May 19, 2003.

  1. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    just upgrade to latest ver. of CPanel (as WHM news Told of an e-mail security)
    adn now Apache does not start and my server is down for 30 min now... customer complaints...
    ---
    Syntax error on line 209 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.10: cannot open shared object file: No such file or directory
    /etc/rc.d/init.d/httpd start: httpd could not be started
    root@myserver [~]#
    ----


    what can i do??

    cPanel.net Support Ticket Number:
     
  2. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    Support can you please replay! I have server dow afther upgrade!
    Customer complains! And no replay to my support ticket I send.



    Thanks

    cPanel.net Support Ticket Number:
     
  3. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    Did you check if libphp4.so is missing?

    If it is then you see if you have a recent libphp4.so backup in that directory and rename it to libphp4.so.
    Otherwise you should install php again, or what might be easier just run buildapache again.

    cPanel.net Support Ticket Number:
     
  4. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    libphp4.so its fine!
    nothing missing!

    cPanel.net Support Ticket Number:
     
  5. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    I downgrade MySQL vers. From 4 to 3.2.. (Updating CPanel upgraded MySQL from 3.2.. -> 4...)
    And now apache starts !!

    Incredible!

    Cpanel staff should tell us what going on when update to latest vers. And they should also tell that we need going to "tweak settings" and set the versione of MySQL we like to use on server to prevent this type of problems...
    Is seems no MYSQL versione is set afhter Upgrade of CPanel!!



    :eek:

    cPanel.net Support Ticket Number:
     
  6. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Try rebuilding apache and then put it back to your normal operating state.

    cPanel.net Support Ticket Number:
     
  7. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    SAME PROBLEM HERE !!

    Do I have to downgrade mysql ?!?!?!?!

    cPanel.net Support Ticket Number:
     
  8. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    yes downgrade to 3.2. ->save and and follow the istruction you see on the next page.
    Then reboot the server.
    That's the only way for me to let it work again.

    bye

    cPanel.net Support Ticket Number:
     
  9. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    trying now ..

    cPanel.net Support Ticket Number:
     
  10. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    nothing to do , it didn't help ..
    going mad !!!!

    Help please !!!

    cPanel.net Support Ticket Number:
     
  11. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Just use buildapache to relink php against the installed mysql and everything should start.

    cPanel.net Support Ticket Number:
     
  12. infinityws

    infinityws Well-Known Member

    Joined:
    Feb 20, 2003
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    Why does everyone cry here when they have problem. Its more productive and quicker to submit a ticket to cpanel or the techs.

    cPanel.net Support Ticket Number:
     
  13. mainarea

    mainarea Active Member

    Joined:
    Nov 18, 2002
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    It's not always quicker...

    - Matt

    cPanel.net Support Ticket Number:
     
  14. Silverado

    Silverado Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Backyard - Poolside

    I thought that what forums were for. If someone has a similar problem they can give you a quick fix, or you can find one in a search. Ideally it would be better to use them in tandem.

    cPanel.net Support Ticket Number:
     
  15. MySundown

    MySundown Well-Known Member

    Joined:
    Jun 2, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    I'm having a simular problem, I ran /scripts/easyapache like it said to in whmnews to upgrade open_ssl because it was insecure, now Apache has crashed and no matter what, won't restart for me. I've tried restarting the server's power, nothing is working. Guess I'm going to have to rebuild, but I really don't want to do that right now :(

    cPanel.net Support Ticket Number:
     
  16. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX

    Should have copied the /usr/local/apache dir to backup.. If this screwed up all you would have to do is switch dirs.

    Maybe CPanel also backs it up. you backup daily.. right?

    cPanel.net Support Ticket Number:
     
  17. toma1708

    toma1708 Active Member

    Joined:
    Aug 30, 2001
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Apache

    Hy,

    Use config file rollback in WHM and restore a previous version of httpd.conf. Had the same problem and it worked.

    Good luck.

    Catalin

    cPanel.net Support Ticket Number:
     
  18. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Funny I kind of seen this one coming, I ran easyapache on a test server and sure enough it crashed due to a apache plug in mod.

    I think easyapache is great if you have no custom tweaks to apache.

    Maybe a new version will more flexible.

    Maybe try to comment out any mods that are not apache defaults and restart apache.

    -Charles

    cPanel.net Support Ticket Number:
     
  19. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    On my situation , I was lucky that Bradco
    was reading this forum , and then on irc cpanel channel he helped me to find the solution to my problem.

    He was great to solve my problems few minutes.
    He told me that "/usr/include/linux was linked to /usr/src/linux and it was not there .

    He fixed the problem and modified /scripts/easyapache to check this problem in the future.

    Without his help probably at this time my apache was still down ..
    posting my problem here (in this forum) helped me a lot
    to solve the problem faster .

    Bye

    cPanel.net Support Ticket Number:
     
    #19 Radio_Head, Jun 9, 2003
    Last edited: Jun 9, 2003
  20. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    What's this? /scripts/buildapache

    I don't have it :confused:

    Can I download it?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page