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:
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:
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:
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.
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:
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:
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.