NGINX Broke my Apache

Started by Farukh Khan, April 10, 2015, 02:11:45 PM

Previous topic - Next topic

Farukh Khan

Hello,

After installing NGINX from the CWP it broke the apache. Now every client of mine is seeing the default apache page. Apache rebuild wont working.

CWP admins please provide a solve ASAP.

brijendrasial

#1
Fixed.

Farukh Khan

Thanks bullten your solutions always worked. Really thanks a lot :)

Farukh Khan

But still when I enable Varnish and rebuild vhosts I see the default apache page without the website. Is there any solve to this problem without setting apache IP to 127.0.0.1? because it prevents postfix mail incoming and outgoing.

Administrator

you need to use varnish multi-IP if you want to use your own or multiple IPs.

erm3nda

Quote from: BullTen on April 10, 2015, 06:00:21 PM
Fixed.

I like when you say fixed.
I DONT know what is not working on that thread...
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

brijendrasial


Farukh Khan

Hey bullten please help me again main. Somehow I ran into the same problem when I installed httpd-devel for Installing Mod_Antiloris following your server hardening blog posts. Was configuring my new server but by mistake Installed two apache. 2.4.17 is the main one but the running apache seems to be 2.2.15 when I use httpd -v

The solution was in your post but you removed it with Fixed Quote.

Please help me again man. Am really in a critical situation.

Thanks in advance...

Administrator

apache 2.4 still isn't supported so you could have multiple issues if you don't have experience with manual changes in linux

Farukh Khan

Actually I have done upgrading my apache to 2.4 using bullten's blog guide. Re-installation of the whole server would be a huge problem. Please help me here how could I uninstall the extra apache 2.2.15


Thanks in advance...

brijendrasial

Quoteyum -y remove httpd
cd /etc/init.d/
rm -f /etc/init.d/httpd
wget -q http://dl1.centos-webpanel.com/files/s_scripts/httpd
chmod +x /etc/init.d/httpd

Farukh Khan

Will this solution restore my previously installed apache 2.4.17 along with suPHP? Or it will restore the apache to the previous CWP apache version?

Farukh Khan

Thanks mate that solved the problem and it seems apache 2.4.17 is running in the server. So seems pretty good to me. Your a life savior bullten. Thanks a lot :)