dedicated server apache error

Status
Not open for further replies.

mywish123

Power Member
Joined
Jun 25, 2013
Messages
670
Reaction score
103
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
 
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.
 
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
 
httpd not running, trying to start httpd (pid 1864) already running httpd started every time got new value when try to start nginx there
 
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.
 
i m using centos 6.8 64bit operating system with latest cpanel and easyapache 4 on there
 
Code:
type kill -9 1864
then
service httpd start

Also check the error logs to get more details.
 
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.
 
also do not run easyapache, when you want to run nginx.
 
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
 
Status
Not open for further replies.
Back
Top