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

500 - Internal Server Error - Nowhere to find for a solution

Go_Da

New Pleskian
Hi,

I have experiencing strange behaviour of Plesk admin panel. Actually there were a lot of issues similar with 500 Internal Server error but mine is a bit different..

This is the log came from the '/var/log/sw-cp-server/error_log'

/bin/sh: /usr/share/sw-cp-server/applications-conf.sh: Permission denied
Cannot find config item ["global/SERVERsocket==:8443", ".php", 0]
2014-10-29 19:38:22: (mod_fastcgi.c.1068) the fastcgi-backend /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2014-10-29 19:38:22: (mod_fastcgi.c.1072) child exited with status 1 /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2014-10-29 19:38:22: (mod_fastcgi.c.1075) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2014-10-29 19:38:22: (mod_fastcgi.c.1171) [ERROR]: spawning fcgi failed.

as you can see there is a line starts with /bin/sh: /usr/share/sw-cp-server/applications-conf.sh: Permission denied and i tried to change this one for permission like 0755 or alternatives for a run but nothings changed. Btw i have plenty of disk space, it wasn't also the case.

I have investigate a hours and hours on the internet but i couldn't find any clue like similar or fix.

I cannot even login with my domain name without 'https' and with the port 8880. It's again giving me the same issue. If you ever faced like this issue or any suggestions please let me know.

BTW i want to give a little extra information; it was a long time that Plesk admin panel working but after today it's stuck in 500 Internal server error. What i tried today that to follow 'How to generate custom self-signed SSL certificates and apply it to Postfix: http://kb.odin.com/en/118354' , but after 6th step i was decied to stop because i couldnt find the root.pem file a minute and than i wanted to try on plesk and i saw the bad news :( I don't know it was related but i wanted to share.

Thanks in advance
 
Last edited:
Check /tmp permissions:

# stat /tmp
File: `/tmp'
Size: 20480 Blocks: 40 IO Block: 4096 directory
Device: 1bh/27d Inode: 33226238 Links: 3
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
 
The result is this;

File: `/tmp'
Size: 200 Blocks: 0 IO Block: 4096 directory
Device: 12h/18d Inode: 8729 Links: 3
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
 
Hi Igor, Thanks for inspiration about permissions, while i was doing the SSL certificate i made this "chmod 400 /usr/share/ssl/certs/postfix/rootCA.key" but than i checked the previous commands i saw that i accidently chmod 400 to "usr/share" ... After i changed to 755 than all things has started work.

It's saved my life , Thanks again ;)
 
Back
Top