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.

Easyapache completely deletes running Apache instance?!?!?!

Discussion in 'EasyApache' started by ritontor, Jan 28, 2010.

  1. ritontor

    ritontor Member

    Joined:
    May 17, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    What the christ is going on, I've done this 20 times and it's been fine, but this time Easyapache has COMPLETELY DELETED the currently running Apache!

    # /etc/init.d/httpd start
    /etc/init.d/httpd: line 100: /usr/local/apache/bin/httpd: No such file or directory

    Can someone please tell me what the hell it is doing killing the live Apache instance? Now my customers are sitting around with their thumbs up their arses for half an hour while the thing compiles the new one - which is MEANT to be happening in the background!
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Well, if something goes wrong during easyapache, it restores the previous config and Apache starts working. Since the binary has been deleted, not sure if easyapache would have caused it. Are you sure you didn't executed the rm command by any chance ? :)
     
  3. ritontor

    ritontor Member

    Joined:
    May 17, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Yeah I'm pretty sure I didn't, seeing as I was using the web interface rather than the shell, and that I've never done anything of the sort in about 15 years of *nix administration :)

    It's still going... 45 minutes in. It'll finish soon but the customers are obviously getting extremely pissy about all this. I can't for the life of me believe this has happened, how could there ever be a way it would do this? What sort of mechanism is there via which to (a) work out what went wrong, and (b) ensure it never happens again? Should I be raising a ticket somewhere or something? This is a pretty serious failure!
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    When EasyApache 3 begins the requested build one of the first actions is to move /usr/local/apache to a backup location. Apache restarts triggered by cPanel are disabled during this time period.

    If the build fails the backup is restored.
     
  5. ritontor

    ritontor Member

    Joined:
    May 17, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Right, so why did my httpd die the minute I started Easyapache? I didn't try the httpd restart until after I noticed it was no longer running. I'm serious about this guys, I'll be taking it up with my cpanel provider and/or directly with cpanel support, I *need* an answer on this one, I can't afford for it to happen again.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Put in a ticket with cPanel so they can come by and look at the build log.
     
Loading...

Share This Page