Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Cant start httpd and nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
LorenzoVonMatterhorn
Posts: 7
Joined: Sat Mar 10, 2018 1:32 pm

Os: CentOS 5x
Web: apache + nginx
Cant start httpd and nginx
  • Quote

Post by LorenzoVonMatterhorn » Sat Mar 10, 2018 1:44 pm

OS: Centos 6.9
Web: apache & nginx

I tried to upgrade php 5.6 to php 7 by following a tutorial. In step 6 I got an error that tells me I have missing dependencies. I tried to install them one by one but it was going to forever. I learned thats called "dependency hell".

Well, after a lots of research I decided to keep php 5.6 for a while. But, I can't start nginx and httpd process. If httpd working, nginx refusing to start:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Stopping nginx: [FAILED]
Starting nginx: nginx: [emerg] bind() to 128.24.230.223:80 failed (98: Address already in use)
nginx: [emerg] bind() to 128.24.230.223:80 failed (98: Address already in use)
nginx: [emerg] bind() to 128.24.230.223:80 failed (98: Address already in use)
nginx: [emerg] bind() to 128.24.230.223:80 failed (98: Address already in use)
nginx: [emerg] bind() to 128.24.230.223:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[FAILED]
By the way, this is the tutorial I followed on:
SpoilerShow
http://www.servermom.org/upgrade-vestac ... -7-centos/
Note: I tried to restart the machine, tried to stop apache and start nginx then start apache back but this time apache asking for that port.

And I think I lost a few services after that. It says it does not recognize the service when I type service php-fpm stop.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Cant start httpd and nginx
  • Quote

Post by mehargags » Sat Mar 10, 2018 4:09 pm

Try to rebuild web for your VestaCP users
Top

LorenzoVonMatterhorn
Posts: 7
Joined: Sat Mar 10, 2018 1:32 pm

Os: CentOS 5x
Web: apache + nginx
Re: Cant start httpd and nginx
  • Quote

Post by LorenzoVonMatterhorn » Sat Mar 10, 2018 5:15 pm

mehargags wrote: ↑
Sat Mar 10, 2018 4:09 pm
Try to rebuild web for your VestaCP users
I tried to reinstall vestacp but it says there is a user called admin. Im newbie to linux and vesta.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Cant start httpd and nginx
  • Quote

Post by mehargags » Sun Mar 11, 2018 8:32 am

LorenzoVonMatterhorn wrote: ↑
Sat Mar 10, 2018 5:15 pm
mehargags wrote: ↑
Sat Mar 10, 2018 4:09 pm
Try to rebuild web for your VestaCP users
I tried to reinstall vestacp but it says there is a user called admin. Im newbie to linux and vesta.
My friend... that is not how you are going to run and maintain your Linux server.
You should try to fix if something is broken, you cannot re-install VestaCP on top of an existing install. You need to reinstall your whole VPS and then clean-install VestaCP
Top

LorenzoVonMatterhorn
Posts: 7
Joined: Sat Mar 10, 2018 1:32 pm

Os: CentOS 5x
Web: apache + nginx
Re: Cant start httpd and nginx
  • Quote

Post by LorenzoVonMatterhorn » Sun Mar 11, 2018 11:44 am

mehargags wrote: ↑
Sun Mar 11, 2018 8:32 am
LorenzoVonMatterhorn wrote: ↑
Sat Mar 10, 2018 5:15 pm
mehargags wrote: ↑
Sat Mar 10, 2018 4:09 pm
Try to rebuild web for your VestaCP users
I tried to reinstall vestacp but it says there is a user called admin. Im newbie to linux and vesta.
My friend... that is not how you are going to run and maintain your Linux server.
You should try to fix if something is broken, you cannot re-install VestaCP on top of an existing install. You need to reinstall your whole VPS and then clean-install VestaCP
There is no way to repair vestacp setup?
I tried to fix but there was hell of a dependencies needed and all dependencies needed another dependencies to install that made me dizzy.
Format was the last option because I don't own the server. I just rented it to learn vestacp. Well, I will contact with my server provider to reinstall vesta with php7. Thanks eveyone.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password