After update cant open webiste anymore, Ngnix not starting anymore
Re: After update cant open webiste anymore, Ngnix not starting anymore
send me result of this command
Code: Select all
cat /home/admin/conf/web/reitsportportal.com.nginx.conf
Re: After update cant open webiste anymore, Ngnix not starting anymore
[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*;
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*;
Re: After update cant open webiste anymore, Ngnix not starting anymore
Code: Select all
include /home/admin/conf/web/reitsportportal.com.auth;
Re: After update cant open webiste anymore, Ngnix not starting anymore
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]#
[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]#
Re: After update cant open webiste anymore, Ngnix not starting anymore
provide access to your server, we will check whats wrong
Re: After update cant open webiste anymore, Ngnix not starting anymore
any news on this ?
Re: After update cant open webiste anymore, Ngnix not starting anymore
did you found time to check ? my website is 2 days offline after this update... and i cant find a solution...
Re: After update cant open webiste anymore, Ngnix not starting anymore
i'm reply to you via pm
nginx restart is successfully
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.
nginx restart is successfully
Code: Select all
service nginx restart
Redirecting to /bin/systemctl restart nginx.service
Code: Select all
service nginx status
● 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.
-
- Posts: 25
- Joined: Thu Dec 30, 2021 10:04 am
- Os: CentOS 7x
- Web: apache
Re: After update cant open webiste anymore, Ngnix not starting anymore
Activate it then.