• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Details: Empty error message from utility. [while managing subscriptions ]

Alexander_Y

New Pleskian
We had the following issue:
- while managing website subscriptions configuration errors are reported about;
- when trying to use console httpmng command following error is shown:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all -no-restart
2013-02-09T20:53:58+01:00 ERR (3): Apache config (13604396330.66017600) generation failed:

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => domain1,domain2,domain3,domain4
)

Details: Empty error message from utility.
 
After researching through records inside psa DB, it shown me following error:
SELECT * FROM psa.Configurations WHERE status!='ok'\G
*************************** 1. row ***************************
id: 1735
name: nginxDomainVhost
serviceNodeId: 1
file: /var/www/vhosts/<domain1>/conf/13604327180.39183300_nginx.conf
version: 13604408500.01449900
objectType: nginxDomain
objectId: 780
status: error
active: true
description:
*************************** 2. row ***************************
id: 1738
name: nginxDomainVhost
serviceNodeId: 1
file: /var/www/vhosts/<domain2>/conf/13599313300.99350300_nginx.conf
version: 13604408500.01449900
objectType: nginxDomain
objectId: 781
status: error
active: true
description:
*************************** 3. row ***************************
id: 1741
name: nginxDomainVhost
serviceNodeId: 1
file: /var/www/vhosts/<domain3>/conf/13599359410.48287300_nginx.conf
version: 13604408500.01449900
objectType: nginxDomain
objectId: 782
status: error
active: true
description:
*************************** 4. row ***************************
id: 1745
name: nginxDomainVhost
serviceNodeId: 1
file: /var/www/vhosts/<domain4>/conf/13604362030.78472900_nginx.conf
version: 13604408500.01449900
objectType: nginxDomain
objectId: 783
status: error
active: true
description:
4 rows in set (0.00 sec)

This made me think that cause of the error is bogus nginx config inside each domains home directory.
And in addition to recommendation at http://www.webhostingtalk.com/archive/index.php/t-1210068.html I decided to clean nginx config up as well:

*************** vhosts]# pwd
/var/www/vhosts
*************** vhosts]# echo */conf/*nginx.conf | xargs rm -fv

After that reconfiguration succeedeed:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
 
Back
Top