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 General Discussion
  • Search

After update cant open webiste anymore, Ngnix not starting anymore

General questions about VestaCP
Post Reply
  • Print view
Advanced search
20 posts
  • 1
  • 2
  • Next
tomkom
Posts: 11
Joined: Wed Nov 24, 2021 8:58 am

Os: Debian 6x
Web: nginx + php-fpm
After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by tomkom » Wed Nov 24, 2021 9:03 am

After the autoupdate came to version 1.0.0 my Websites dont open anymore.

When i start ngnix i get this error:


#nginx: [emerg] bind() to 127.0.0.1:8084 failed (98: Address already in use)
nginx: [emerg] bind() to 161.97.91.*:80 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:8084 failed (98: Address already in use)
nginx: [emerg] bind() to 161.97.91.*:80 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:8084 failed (98: Address already in use)
nginx: [emerg] bind() to 161.97.91.*:80 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:8084 failed (98: Address already in use)
nginx: [emerg] bind() to 161.97.91.*:80 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:8084 failed (98: Address already in use)
nginx: [emerg] bind() to 161.97.91.*:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()

my versions are :

v-list-sys-vesta-updates
PKG VER REL ARCH UPDT DATE
--- --- --- ---- ---- ----
vesta 1.0.0 5 x86_64 yes 2021-11-24
vesta-php 1.0.0 1 x86_64 yes 2021-11-24
vesta-nginx 1.0.0 1 x86_64 yes 2021-11-24
vesta-ioncube 1.0.0 1 x86_64 yes 2021-11-24
vesta-softaculous 1.0.0 1 x86_64 yes 2021-11-24


any help would be great!
Top

tomkom
Posts: 11
Joined: Wed Nov 24, 2021 8:58 am

Os: Debian 6x
Web: nginx + php-fpm
Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by tomkom » Wed Nov 24, 2021 2:06 pm

nobody be able to help?
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by sandro » Wed Nov 24, 2021 8:19 pm

The error indicates that another process exists using the service's communication ports.

Stop the Nginx service and check that the ports are still open.

If so, check which process is responsible and "kill" it.

Then start Nginx again.
Top

tomkom
Posts: 11
Joined: Wed Nov 24, 2021 8:58 am

Os: Debian 6x
Web: nginx + php-fpm
Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by tomkom » Wed Nov 24, 2021 9:19 pm

[root@vmd57908 ~]# service nginx stop
Redirecting to /bin/systemctl stop nginx.service
[root@vmd57908 ~]# netstat -tulpn | grep --color :80 tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 944/nginx: master p


now iget this error:
[root@vmd57908 ~]# nginx
nginx: [emerg] open() "/home/admin/conf/web/reitsportportal.com.auth" failed (2: No such file or directory) in /home/admin/conf/web/reitsportportal.com.nginx.conf:59


i have not changed anything on the config no added or delted anything...
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by imperio » Wed Nov 24, 2021 10:10 pm

try rebuild web for users and stop/start nginx
Top

tomkom
Posts: 11
Joined: Wed Nov 24, 2021 8:58 am

Os: Debian 6x
Web: nginx + php-fpm
Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by tomkom » Wed Nov 24, 2021 10:40 pm

to be honest i dont have any idea how to do that...
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by imperio » Wed Nov 24, 2021 11:10 pm

USERS section
choose all users (toogle all) and rebulid web from select

after that

Code: Select all

service apache2 stop
service nginx stop
killall apache2
killall nginx
service nginx start
service apache2 start
Top

tomkom
Posts: 11
Joined: Wed Nov 24, 2021 8:58 am

Os: Debian 6x
Web: nginx + php-fpm
Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by tomkom » Thu Nov 25, 2021 12:29 am

phuuu.

now i get this...

[root@vmd57908 ~]# service nginx start
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
[root@vmd57908 ~]# systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/nginx.service.d
└─limits.conf
Active: failed (Result: exit-code) since Thu 2021-11-25 01:29:16 CET; 10s ago
Docs: http://nginx.org/en/docs/
Process: 22054 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Nov 25 01:29:16 vmd57908.contaboserver.net systemd[1]: Starting nginx - high performance web server...
Nov 25 01:29:16 vmd57908.contaboserver.net nginx[22054]: nginx: [emerg] open() "/home/admin/conf/web/reitsportportal.com.auth" failed (2: No such file or directory) in /home/admin/conf/web/reitsportportal.com.nginx.conf:59
Nov 25 01:29:16 vmd57908.contaboserver.net systemd[1]: nginx.service: control process exited, code=exited status=1
Nov 25 01:29:16 vmd57908.contaboserver.net systemd[1]: Failed to start nginx - high performance web server.
Nov 25 01:29:16 vmd57908.contaboserver.net systemd[1]: Unit nginx.service entered failed state.
Nov 25 01:29:16 vmd57908.contaboserver.net systemd[1]: nginx.service failed.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by imperio » Thu Nov 25, 2021 8:24 am

Code: Select all

nginx: [emerg] open() "/home/admin/conf/web/reitsportportal.com.auth" failed (2: No such file or directory) in /home/admin/conf/web/reitsportportal.com.nginx.conf:59
does the auth for awstats is enabled for reitsportportal.com?
check line 59

Code: Select all

/home/admin/conf/web/reitsportportal.com.nginx.conf:59
Top

tomkom
Posts: 11
Joined: Wed Nov 24, 2021 8:58 am

Os: Debian 6x
Web: nginx + php-fpm
Re: After update cant open webiste anymore, Ngnix not starting anymore
  • Quote

Post by tomkom » Thu Nov 25, 2021 12:49 pm

awstats is not even activated...
Top


Post Reply
  • Print view

20 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • 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