• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Internal Plesk error occurred: error: Cannot open file

adamjimenez

Basic Pleskian
I get this error when trying to access plesk:

"Internal Plesk error occurred:
error: Cannot open file"

How can I find out which file it's looking for?

There is nothing in /var/log/sw-cp-server

Thanks!
 
Do you have /var/log/sw-cp-server/error_log file?
Do you have the same permissions on /var/log/sw-cp-server/ directory?

# stat /var/log/sw-cp-server/
File: `/var/log/sw-cp-server/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 90c5h/37061d Inode: 1151282 Links: 2
Access: (0700/drwx------) Uid: ( 2523/sw-cp-server) Gid: ( 2521/sw-cp-server)
 
sorry I meant there was nothing useful there:

/var/log/sw-cp-server/error_log:
2010-09-28 10:17:56: (log.c.135) server stopped
2010-09-28 10:18:13: (log.c.75) server started
2010-09-28 11:46:44: (log.c.135) server stopped
2010-09-28 11:49:21: (log.c.75) server started
2010-09-28 12:25:49: (log.c.135) server stopped
2010-09-28 12:30:06: (log.c.75) server started
2010-09-29 11:33:55: (log.c.135) server stopped
2010-09-29 11:35:56: (log.c.75) server started
2010-09-29 13:56:48: (log.c.135) server stopped
2010-09-29 13:57:08: (log.c.75) server started
 
Did you changed any config file recently? /etc/group, for example?
 
not that i'm aware of. we recently had a server crash and had this problem since then.

Seems to be an issue with php files in plesk webserver

I created test.html in /usr/local/psa/admin/htdocs - works ok
I created test.php in /usr/local/psa/admin/htdocs - causes the same error

So I figure it's to do with files that are pulled in by:
auto_prepend_file=auth.php3
 
Back
Top