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.

Restart Apache kills all apache services

Discussion in 'EasyApache' started by emalbum, Jul 3, 2005.

  1. emalbum

    emalbum Member

    Joined:
    Jun 5, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I have installed Apache2 on a different port on my server. When I try to restart the standard CPanel installation of Apache using WHM, it kills the second copy (Apache2). This doesn't seem right to me...it looks like the
    Code:
    /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
    script is killing all instances of httpd and not the instance specified in the PIDFILE.

    Any ideas? Should I report this as a bug? Any suggestions as to how I can prevent it from doing this or at least starting back up the Apache2 instance?

    Thanks.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Not much you can do about it. You could report it as a bug, though in a sense it isn't really a bug since cPanel isn't designed to run two different web servers on the same box.
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    It is not very good idea to run two different versions of Apache on one single server. Since you're running a CPanel powered server, the best option is to remove Apache 2.
     
Loading...

Share This Page