• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Apache issues after upgrade

Looks like after the upgrade of Apache, it uses default port 80.
But it is not valid configuration for enabled nginx proxy.
Try:
/usr/local/psa/admin/bin/nginxmng --disable
/usr/local/psa/admin/bin/nginxmng --enable

Check Apache has config /etc/apache2/conf.d/zz010_psa_httpd.conf
There should be no virtual host listen to 80 port: grep -R 'VirtualHost.*:80' /etc/apache2/
 
I get the following error in the configuration tab:

/opt/psa/admin/conf/generated/13680025320.67376500_nginx.conf

File Content:

server {
listen 192.168.201.6:80 ;
listen 80.176.171.242:80 ;

location / {
proxy_pass http://127.0.0.1:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
 
Looks like after the upgrade of Apache, it uses default port 80.
But it is not valid configuration for enabled nginx proxy.
Try:
/usr/local/psa/admin/bin/nginxmng --disable
/usr/local/psa/admin/bin/nginxmng --enable

Check Apache has config /etc/apache2/conf.d/zz010_psa_httpd.conf
There should be no virtual host listen to 80 port: grep -R 'VirtualHost.*:80' /etc/apache2/

sudo /usr/local/psa/admin/bin/nginxmng --disable
2013-05-20T10:43:52+00:00 ERR (3): Apache config (13690466310.63295000) generation failed: nginx: [emerg] bind() to 80.176.171.242:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed

/opt/psa/admin/sbin/hmmng: 1448: /opt/psa/admin/sbin/hmmng: Syntax error: Bad fd number
 
Looks like after the upgrade of Apache, it uses default port 80.
But it is not valid configuration for enabled nginx proxy.
Try:
/usr/local/psa/admin/bin/nginxmng --disable
/usr/local/psa/admin/bin/nginxmng --enable

Check Apache has config /etc/apache2/conf.d/zz010_psa_httpd.conf
There should be no virtual host listen to 80 port: grep -R 'VirtualHost.*:80' /etc/apache2/

sudo grep -R 'VirtualHost.*:80' /etc/apache2/
/etc/apache2/ports.conf:NameVirtualHost *:80
/etc/apache2/sites-available/default:<VirtualHost *:80>
/etc/apache2/sites-enabled/000-default:<VirtualHost *:80>
 
Back
Top