Liew CheonFong
Basic Pleskian
I use Linode VPS. Nginx refuses to start after server restart.
# nginx -t
The 103.3.62.239 is my server's OLD IP address, which is no longer using. Now the server is a new IP address 139.162.x.x
Login Plesk panel has the follow error message:
# find /etc/ -iname "*" -type f -print0 | xargs -0 grep -H "103.3.62.239"
- Does NOT return any file with the IP address (only config files .bak that disabled)
# ip a | grep "103.3.62.239"
- return nothing
# /usr/local/psa/admin/bin/nginxmng -d
# /usr/local/psa/admin/bin/nginxmng -e
- Does not solve the issue
# plesk db "SELECT DISTINCT d.name, GROUP_CONCAT(DISTINCT(IF(ip.public_ip_address IS NULL, ip.IP_Address, ip.public_ip_address)) SEPARATOR ', ') AS IPs FROM domains d JOIN DomainServices ds ON d.id=ds.dom_id JOIN IpAddressesCollections ipc USING(ipCollectionId) JOIN IP_Addresses ip ON ipc.ipAddressId=ip.id RIGHT JOIN Subscriptions s on s.object_id=d.id WHERE d.id IS NOT NULL GROUP BY d.name;" | grep "103.362.239"
- Does not return any result.
# /sbin/ifconfig
I tried the following solutions:
Remove nginx also removes the issue, but I need to have nginx server.
Help please? Thank you.
# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to 103.3.62.239:443 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed
The 103.3.62.239 is my server's OLD IP address, which is no longer using. Now the server is a new IP address 139.162.x.x
Login Plesk panel has the follow error message:
New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] bind() to 103.3.62.239:443 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter
# find /etc/ -iname "*" -type f -print0 | xargs -0 grep -H "103.3.62.239"
- Does NOT return any file with the IP address (only config files .bak that disabled)
# ip a | grep "103.3.62.239"
- return nothing
# /usr/local/psa/admin/bin/nginxmng -d
# /usr/local/psa/admin/bin/nginxmng -e
- Does not solve the issue
# plesk db "SELECT DISTINCT d.name, GROUP_CONCAT(DISTINCT(IF(ip.public_ip_address IS NULL, ip.IP_Address, ip.public_ip_address)) SEPARATOR ', ') AS IPs FROM domains d JOIN DomainServices ds ON d.id=ds.dom_id JOIN IpAddressesCollections ipc USING(ipCollectionId) JOIN IP_Addresses ip ON ipc.ipAddressId=ip.id RIGHT JOIN Subscriptions s on s.object_id=d.id WHERE d.id IS NOT NULL GROUP BY d.name;" | grep "103.362.239"
- Does not return any result.
# /sbin/ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:82:3b:10:14
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr f2:3c:91:2e:4f:79
inet addr:139.162.x.x Bcast:139.162.x.x Mask:255.255.255.0
inet6 addr: xxxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:324070 errors:0 dropped:0 overruns:0 frame:0
TX packets:287235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51266522 (51.2 MB) TX bytes:1247003887 (1.2 GB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:12840 errors:0 dropped:0 overruns:0 frame:0
TX packets:12840 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1213621 (1.2 MB) TX bytes:1213621 (1.2 MB)
I tried the following solutions:
Nginx on Plesk server fails to start: 99: Cannot assign requested address
Applicable to: Plesk for Linux Symptoms nginx fails to start with the following error: CONFIG_TEXT: Cannot assign requested address The error below may appear in the Home page in Plesk: PLE...
support.plesk.com
Unable to start or enable nginx as proxy on Plesk server: 99: Cannot assign requested address
Applicable to: Plesk for Linux Symptoms The following error is present on the Domains > example.com page: PLESK_ERROR: nginx: [emerg] bind() to 203.0.113.2:443 failed (99: Cannot assign req...
support.plesk.com
Nginx failed to start on Plesk server: (99: Cannot assign requested address)
Applicable to: Plesk for Linux Symptoms All websites opened the Web Server's Default Page instead of content It is not possible to access webmail of all websites and some websites, the attem...
support.plesk.com
Unable to start or enable nginx as proxy on Plesk server: 99: Cannot assign requested address
Applicable to: Plesk for Linux Symptoms The following error is present on the Domains > example.com page: PLESK_ERROR: nginx: [emerg] bind() to 203.0.113.2:443 failed (99: Cannot assign req...
support.plesk.com
Remove nginx also removes the issue, but I need to have nginx server.
Help please? Thank you.