• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Can't access to SSH and can't start apache

Salamanca

New Pleskian
Hi,
I am a noob and i did big mistake today by what it looks like chmood the system files , i have tried through ssh to chmood directory using this command sudo chmod -R 777 /assets but i think it did chmood the plesk file system now i have erros all over plesk , also when trying to connect to my website i have this error bad gateway 502 nginx ! when loging to the plesk i can see this : New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter.
When i go to webserver configuration troubleshooter i can see this : Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted. Search in KB

Those red flagged :
/etc/apache2/plesk.conf.d/server.conf
/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf
/etc/apache2/plesk.conf.d/webmails/subdomainame_webmail.conf
/var/www/vhosts/system/mydomainame/conf/httpd.conf
/var/www/vhosts/system/mysubdomain/conf/httpd.conf

I can't rebuild them at all cause each time i try i get this :

Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2020-10-27 20:20:07.089] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=apache' 'ip_default/mywebsite.conf' 'ip_default/mywebsite_httpd_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.296] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=nginx' 'ip_default/mydomain.conf' 'ip_default/mywebsite_nginx_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.422] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=apache' 'ip_default/mysubdomain.conf' 'ip_default/mysubdomain_httpd_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:07.537] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/websrvmng' '--remove-configs=nginx' 'ip_default/mysubdomain.conf' 'ip_default/mysubdomain_nginx_ip_default.conf'] with exit code [1]
[2020-10-27 20:20:08.306] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:08.442] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:08.567] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:08.705] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-b' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.007] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2020-10-27 20:20:09.137] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.246] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.365] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.476] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.614] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.723] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:09.838] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:09.950] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.063] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.179] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.296] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.407] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.529] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mydomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.638] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/var/www/vhosts/system/mysubdomain/conf/httpd.conf'] with exit code [1]
[2020-10-27 20:20:10.749] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mydomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:10.877] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-r' '/etc/apache2/plesk.conf.d/webmails/mysubdomain_webmail.conf'] with exit code [1]
[2020-10-27 20:20:11.127] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2020-10-27 20:20:11.231] ERR [panel] Apache config (16038300070.07390300) generation failed: Template_Exception: chown: changing ownership of '/var/www/vhosts/system/atthemarket.co.uk/conf/httpd.conf.bak': Operation not permitted

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
plesk sendmail[29908]: Unable to change ownership of mail file `/opt/psa/handlers/spool/messagepuqX2z' (1): Operation not permitted
[2020-10-27 20:20:11.258] ERR [panel] Unable to send mail: Unknown error
[2020-10-27 20:20:11.258] ERR [panel] Administrator notification failed: Unable to send mail: Unknown error
chown: changing ownership of '/var/www/vhosts/system/mydomain/conf/httpd.conf.bak': Operation not permitted

Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted. Search in KB
The list of web-server configuration files

please your help much appreciated in this case . my website is hosted aws lightsale ! Thank you
 
Hi,
I am new to all of this and I think I made huge mistake while trying to chmod folder through SSH . I did run this command chmod -R 777 /folder and it looks like it chmoded plesk file system . Now my Apache wont start at all and site showing
502 bad gateway nginx .

This error showing inside plesk panel : other errors everywhere and I couldn't access to SSH at all from amazing lightsale . Frustrating situation for newbie . Help required if possible thanks .


New configuration files for the Apache web server were not created due to the errors in configuration templates: chown: changing ownership of '/etc/apache2/plesk.conf.d/server.conf.bak': Operation not permitted . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter
 
Back
Top