1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

dedicated server apache error

Discussion in 'Black Hat SEO' started by mywish123, Aug 25, 2016.

  1. mywish123

    mywish123 Regular Member

    Joined:
    Jun 25, 2013
    Messages:
    356
    Likes Received:
    34
    Home Page:
    hi
    i have dedicated server and i installed nginx admin ther when i try to restart nginx i got following error
    httpd not running, trying to start httpd (pid 1864) already running httpd started
    i have no idea what and where is issue
    easyapache 4 is installed in my server and cpanel whm installed so now help me how to fix this issue my server is working properly but i think when some load then showing more server load please help me guys
     
  2. mywish123

    mywish123 Regular Member

    Joined:
    Jun 25, 2013
    Messages:
    356
    Likes Received:
    34
    Home Page:
    any body know >?
     
  3. loedown

    loedown Jr. VIP Jr. VIP

    Joined:
    Jun 29, 2009
    Messages:
    1,582
    Likes Received:
    496
    Home Page:
    type kill -9 1864
    then
    service httpd start
     
  4. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    506
    Likes Received:
    261
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    What is unclear is what exactly you wanna achieve. You restarted nginx and then httpd.
    I am not sure if you understand that they are concurrent services, you either use nginx or Apache (httpd). Of course you can set up both to work, but i am not sure if that is your goal. You would have to elaborate ;-)
    But i suppose you just want to use nginx. If that is the case, then you need to stop httpd service and then start nginx. That should do the trick.
     
  5. mywish123

    mywish123 Regular Member

    Joined:
    Jun 25, 2013
    Messages:
    356
    Likes Received:
    34
    Home Page:
    actually i want to run nginx instead of apache httpd so as before my previous service i always install nginx there and just start nginx and its working fine there but in my current server when i run nginx its giving error like what i explain above so just need to run nginx instead of apache also how to proper compile easyapche 4 what php extension i need to use and proper setup plz help me
     
  6. mywish123

    mywish123 Regular Member

    Joined:
    Jun 25, 2013
    Messages:
    356
    Likes Received:
    34
    Home Page:
    httpd not running, trying to start httpd (pid 1864) already running httpd started every time got new value when try to start nginx there
     
  7. Moabaer

    Moabaer Junior Member

    Joined:
    Sep 28, 2010
    Messages:
    101
    Likes Received:
    13
    Is this a server that you put a lot of work in to set up? If not I would start over with a tutorial that fits your operating system.

    If you don't need Apache, why not remove it? And if you need it and want to set up nginx as a reverse proxy, you need Apache but it has nothing to do with nginx. If Apache is not working it shouldn't make any problems. Those are two very different programs that do not need each other.
     
  8. mywish123

    mywish123 Regular Member

    Joined:
    Jun 25, 2013
    Messages:
    356
    Likes Received:
    34
    Home Page:
    i m using centos 6.8 64bit operating system with latest cpanel and easyapache 4 on there
     
  9. virtualpurity

    virtualpurity Jr. VIP Jr. VIP

    Joined:
    Nov 12, 2012
    Messages:
    720
    Likes Received:
    415
    Occupation:
    SEO, Hosting
    Location:
    /root
    Home Page:
    Code:
    type kill -9 1864
    then
    service httpd start
    Also check the error logs to get more details.
     
  10. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    506
    Likes Received:
    261
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    I prefer nginx myself too.
    As i said before nginx and httpd (apache) cannot work together without proper setup.
    If you want to use just nginx, then remove httpd and install nginx.
    Depending on your server OS:
    yum remove httpd
    yum install nginx

    apt-get remove httpd
    apt-get install nginx

    That should imho do what you need.
    Dont know what exactly is the package "nginx admin" but it asking for httpd running does not make sense to me.
     
  11. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    506
    Likes Received:
    261
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    also do not run easyapache, when you want to run nginx.
     
  12. mywish123

    mywish123 Regular Member

    Joined:
    Jun 25, 2013
    Messages:
    356
    Likes Received:
    34
    Home Page:
    actually i all time setup server my self with some basic configuration not expert level now problem is that now easyapache 4 on new cpanel as before i al time work on easyapache 3 and i simple install nginx and just clikc on nginx to start and its start but now when i click on that getting some error like which i explain above