We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Cant start httpd and nginx
-
- Posts: 7
- Joined: Sat Mar 10, 2018 1:32 pm
- Os: CentOS 5x
- Web: apache + nginx
Cant start httpd and nginx
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:
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.
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:
By the way, this is the tutorial I followed on: 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.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]
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.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Cant start httpd and nginx
Try to rebuild web for your VestaCP users
-
- Posts: 7
- Joined: Sat Mar 10, 2018 1:32 pm
- Os: CentOS 5x
- Web: apache + nginx
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Cant start httpd and nginx
My friend... that is not how you are going to run and maintain your Linux server.LorenzoVonMatterhorn wrote: ↑Sat Mar 10, 2018 5:15 pmI tried to reinstall vestacp but it says there is a user called admin. Im newbie to linux and vesta.
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
-
- Posts: 7
- Joined: Sat Mar 10, 2018 1:32 pm
- Os: CentOS 5x
- Web: apache + nginx
Re: Cant start httpd and nginx
There is no way to repair vestacp setup?mehargags wrote: ↑Sun Mar 11, 2018 8:32 amMy friend... that is not how you are going to run and maintain your Linux server.LorenzoVonMatterhorn wrote: ↑Sat Mar 10, 2018 5:15 pmI tried to reinstall vestacp but it says there is a user called admin. Im newbie to linux and vesta.
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
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.