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
  • Previous
  • 1
  • 2
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 12:59 pm

send me result of this command

Code: Select all

cat /home/admin/conf/web/reitsportportal.com.nginx.conf
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 2:29 pm

[root@vmd57908 ~]# cat /home/admin/conf/web/reitsportportal.com.nginx.conf
server {
listen 161.97.91.82:80;
server_name reitsportportal.com ;
root /home/admin/web/reitsportportal.com/public_html;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/reitsportportal.com.log combined;
access_log /var/log/nginx/domains/reitsportportal.com.bytes bytes;
error_log /var/log/nginx/domains/reitsportportal.com.error.log error;
location = /favicon.ico {
log_not_found off;
access_log off;
}

location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}

location / {
try_files $uri $uri/ /index.php?$args;

if (!-e $request_filename)
{
rewrite ^(.+)$ /index.php?q=$1 last;
}

location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
expires max;
}

location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}

fastcgi_pass 127.0.0.1:9002;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}
}

error_page 403 /error/404.html;
error_page 404 /error/404.html;
error_page 500 502 503 504 /error/50x.html;

location /error/ {
alias /home/admin/web/reitsportportal.com/document_errors/;
}

location ~* "/\.(htaccess|htpasswd)$" {
deny all;
return 404;
}

location /vstats/ {
alias /home/admin/web/reitsportportal.com/stats/;
include /home/admin/conf/web/reitsportportal.com.auth;
}

include /etc/nginx/conf.d/phpmyadmin.inc*;
include /etc/nginx/conf.d/phppgadmin.inc*;
include /etc/nginx/conf.d/webmail.inc*;

include /home/admin/conf/web/nginx.reitsportportal.com.conf*;
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 2:56 pm

Code: Select all

include /home/admin/conf/web/reitsportportal.com.auth;
try to remove this line and restart 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 » Thu Nov 25, 2021 4:21 pm

again this error....

[root@vmd57908 web]# nginx
nginx: [emerg] bind() to 127.0.0.1:8084 failed (98: Address already in use)
nginx: [emerg] bind() to 161.97.91.82: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.82: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.82: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.82: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.82:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[root@vmd57908 web]# netstat -tulpn | grep --color :80
tcp 0 0 161.97.91.82:80 0.0.0.0:* LISTEN 20049/nginx: master
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 944/nginx: master p
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 20049/nginx: master
[root@vmd57908 web]#
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 4:24 pm

provide access to your server, we will check whats wrong
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 4:44 pm

pn send
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 » Fri Nov 26, 2021 4:17 am

any news on this ?
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 » Fri Nov 26, 2021 2:31 pm

did you found time to check ? my website is 2 days offline after this update... and i cant find a solution...
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 » Fri Nov 26, 2021 3:22 pm

i'm reply to you via pm

nginx restart is successfully

Code: Select all

service nginx restart
Redirecting to /bin/systemctl restart nginx.service

Code: Select all

service nginx status
Redirecting to /bin/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: active (running) since Thu 2021-11-25 17:41:03 CET; 12s ago
Docs: http://nginx.org/en/docs/
Process: 22060 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 32188 ExecReload=/bin/kill -s HUP $MAINPID (code=exited, status=0/SUCCESS)
Process: 22063 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
Main PID: 22064 (nginx)
CGroup: /system.slice/nginx.service
├─22064 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx....
├─22065 nginx: worker process
├─22066 nginx: worker process
├─22067 nginx: worker process
├─22068 nginx: worker process
├─22069 nginx: worker process
├─22070 nginx: worker process
├─22071 nginx: worker process
├─22072 nginx: worker process
├─22073 nginx: cache manager process
└─22074 nginx: cache loader process

Nov 25 17:41:03 vmd57908.contaboserver.net systemd[1]: Starting nginx - high ...
Nov 25 17:41:03 vmd57908.contaboserver.net systemd[1]: Started nginx - high p...
Hint: Some lines were ellipsized, use -l to show in full.
Top

clementishutin
Posts: 24
Joined: Thu Dec 30, 2021 10:04 am

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

Post by clementishutin » Tue Jan 04, 2022 1:32 pm

Activate it then.
Top


Post Reply
  • Print view

20 posts
  • Previous
  • 1
  • 2

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