• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Reconfigure vhost failed

Tempah

New Pleskian
Hello everyone,

I getting this error after I run the command: ~# /usr/local/psa/admin/bin/httpdmng --reconfigure-all


Code:
PHP Deprecated:  Comments starting with '#' are deprecated in /opt/psa/admin/conf/php.ini on line 25 in Unknown on line 0
Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-domains
    [1] => cloud.unlimited, domain.com, domain.com, domain [...]
)

Details: PHP Deprecated:  Comments starting with '#' are deprecated in /opt/psa/admin/conf/php.ini on line 25 in Unknown on line 0
[2015-05-22 14:00:35] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2015-05-22 14:00:36] ERR [panel] Apache config (14322960350.14770900) generation failed: Template_Exception: nginx: [emerg] unknown directive "//" in /etc/nginx/plesk.conf.d/vhosts/team-case.de.conf:50
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
nginx: [emerg] unknown directive "//" in /etc/nginx/plesk.conf.d/vhosts/team-case.de.conf:50
nginx: configuration file /etc/nginx/nginx.conf test failed


In "/etc/nginx/plesk.conf.d/vhosts/" only exist the team-case.de.conf file no other file located here


3 sites on this server hosted with different subscriptions and conditions. So the host work yet but I getting a red banner on the Subscription menu.

About my system:

os: debian 7.8 64bit
plesk: 12.0.18 Update #47


If you need additional information, I will post it shortly

Thanks you reading, have a nice day!

Best regards,

Marco
 
Hi Tempah,

Looks like something is commented out with a # on line 25 of the file...
Code:
/opt/psa/admin/conf/php.ini
So change the # to ; and try again.
For reference on my Ubuntu 14 system line 25 is...
upload_max_filesize = 2147483647
But it isn't commented out.

Anyway I hope that helps
Kind regards

Lloyd
 
Back
Top