• 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

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