• 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

Plesk configuration failed!

Meletis_Flevarakis

New Pleskian
Hello, today after trying to change a domain the webserver settings are messe up.
The problem apeard when i changed a domain in the file sharing tab.
When i've installed the panel it asked for the first domain. Instead of typing domain.com i typed webserver.domain.com becuase i thought i wanted a nickhandler like my old panel. This domain was useless for me since i've added domain.com later and both of them took 2 domains from the 10 domains limit (Web Admin edition)
So i deleted domain.com and renamed webserver.domain.com to domain.com with the same root foler (httpdocs). Everything worked fine except the File sharing because it couldnt fint the domain webserver.domain.com.
I quicly stoped the server and took a snapshot since im using the DO cloud. After booting the server again this error showed in the file sharing tab:
aNEP8Ob.png


I googled the problem and i came across this forum post: http://talk.plesk.com/threads/the-f...-unavailable-because-the-site-is-down.294606/

I typed what IgorG said:
# /usr/local/psa/admin/sbin/file-sharing --sync
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

On the second command i got those error:

Code:
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] => arduinohellas.net,hdphotosolutions.com,internetlabs.eu,minecraft.gr,p                                                                                                                                                             cbuilds.gr,rfsdev.net
)

Details: [2014-11-17 05:18:23] ERR [util_exec] proc_close() failed
[2014-11-17 05:18:24] ERR [util_exec] proc_close() failed
[2014-11-17 05:18:26] ERR [util_exec] proc_close() failed
[2014-11-17 05:18:27] ERR [util_exec] proc_close() failed
[2014-11-17 05:18:29] ERR [panel] Apache config (14162195030.77942500) generatio                                                                                                                                                             n failed: Template_Exception: mkdir: cannot create directory ‘/var/www/vhosts/sy                                                                                                                                                             stem/internetlabs.eu/conf’: No such file or directory
mktemp: failed to create file via template ‘/var/www/vhosts/system/internetlabs.                                                                                                                                                             eu/conf/nginx.conf.XXXXXX’: No such file or directory
Can not create temporary file

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
mkdir: cannot create directory ‘/var/www/vhosts/system/internetlabs.eu/conf’: No                                                                                                                                                              such file or directory
mktemp: failed to create file via template ‘/var/www/vhosts/system/internetlabs.                                                                                                                                                             eu/conf/nginx.conf.XXXXXX’: No such file or directory
Can not create temporary file

Since files are missing i tried to fix them with the bootstrper (/usr/local/psa/bootstrapper/<version>/bootstrapper.sh repair

The things got even worse..... After doing this i got this error:
ZEgNDTw.png

if i click to generate the broken files im getting a failed error.

is this possible to fix it? please note that im having a snapshot before the bootstraper. i could roll-back the server.
 
It wont work :/ Should i roll back the server?

Code:
[2014-11-17 06:38:33] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
Error: update-vhosts-structure failed:
[2014-11-17 06:38:34] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
Error: update-vhosts-structure failed:
[2014-11-17 06:38:35] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
Error: update-vhosts-structure failed:
[2014-11-17 06:38:37] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
Error: update-vhosts-structure failed:
[2014-11-17 06:38:38] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
Error: update-vhosts-structure failed:
Error occured while sending feedback. HTTP code returned: 502
Error: Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-all
)

Details: 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] => arduinohellas.net,hdphotosolutions.com,internetlabs.eu,minecraft.gr,pcbuilds.gr,rfsdev.net
)

Details: [2014-11-17 06:38:41] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:42] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:43] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:44] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:46] ERR [panel] Apache config (14162243200.94872600) generation failed: Template_Exception: mkdir: cannot create directory ‘/var/www/vhosts/system/internetlabs.eu/conf’: No such file or directory
mktemp: failed to create file via template ‘/var/www/vhosts/system/internetlabs.eu/conf/nginx.conf.XXXXXX’: No such file or directory
Can not create temporary file

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
mkdir: cannot create directory ‘/var/www/vhosts/system/internetlabs.eu/conf’: No such file or directory
mktemp: failed to create file via template ‘/var/www/vhosts/system/internetlabs.eu/conf/nginx.conf.XXXXXX’: No such file or directory
Can not create temporary file



Error occured while sending feedback. HTTP code returned: 502
Unable to update the structure of the home directory: an unexpected error has occurred.
update-vhosts-structure failed:
update-vhosts-structure failed:
update-vhosts-structure failed:
update-vhosts-structure failed:
update-vhosts-structure failed:
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-all
)

Details: 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] => arduinohellas.net,hdphotosolutions.com,internetlabs.eu,minecraft.gr,pcbuilds.gr,rfsdev.net
)

Details: [2014-11-17 06:38:41] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:42] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:43] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:44] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-11-17 06:38:46] ERR [panel] Apache config (14162243200.94872600) generation failed: Template_Exception: mkdir: cannot create directory ‘/var/www/vhosts/system/internetlabs.eu/conf’: No such file or directory
mktemp: failed to create file via template ‘/var/www/vhosts/system/internetlabs.eu/conf/nginx.conf.XXXXXX’: No such file or directory
Can not create temporary file

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
mkdir: cannot create directory ‘/var/www/vhosts/system/internetlabs.eu/conf’: No such file or directory
mktemp: failed to create file via template ‘/var/www/vhosts/system/internetlabs.eu/conf/nginx.conf.XXXXXX’: No such file or directory
Can not create temporary file
 
Back
Top