Page 1 of 2

After update cant open webiste anymore, Ngnix not starting anymore

Posted: Wed Nov 24, 2021 9:03 am
by tomkom
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!

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

Posted: Wed Nov 24, 2021 2:06 pm
by tomkom
nobody be able to help?

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

Posted: Wed Nov 24, 2021 8:19 pm
by sandro
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.

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

Posted: Wed Nov 24, 2021 9:19 pm
by tomkom
[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...

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

Posted: Wed Nov 24, 2021 10:10 pm
by imperio
try rebuild web for users and stop/start nginx

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

Posted: Wed Nov 24, 2021 10:40 pm
by tomkom
to be honest i dont have any idea how to do that...

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

Posted: Wed Nov 24, 2021 11:10 pm
by imperio
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

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

Posted: Thu Nov 25, 2021 12:29 am
by tomkom
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.

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

Posted: Thu Nov 25, 2021 8:24 am
by imperio

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

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

Posted: Thu Nov 25, 2021 12:49 pm
by tomkom
awstats is not even activated...