• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Erreur: Unable to open log file access_log: file should not be a symlink.

Hicham

New Pleskian
Hi,

I have setup two server with the same config, but whenever I try to access log files on one server I get the error : "Unable to open log file access_log: file should not be a symlink."

what would be causing that ?

I checked the permissions, there are identical between the two servers.

Any help would be appreciated.

Regards.
 
But is this log file really symlink or regular file? Have you checked it on filesystem?
 
Hello,

Thank you for your help.

Yes I checked on the server, the files are normal.

-bash-4.1$ ls -la
total 2320
dr-xr-x--- 2 xxxxxx psaserv 4096 24 juil. 03:25 .
dr-xr-x--- 7 xxxxxx psaserv 4096 3 juil. 11:14 ..
-rw-r--r-- 1 root root 13793 12 août 11:26 access_log
-rw-r--r-- 1 root root 965432 12 août 03:52 access_log.processed
-rw-r--r-- 1 root root 0 12 août 03:52 access_ssl_log
-rw-r--r-- 1 root root 0 24 juil. 03:25 access_ssl_log.processed
-rw-r--r-- 1 root root 1347790 12 août 10:18 error_log
-rw-r--r-- 1 root root 0 12 août 03:52 xferlog_regular
-rw-r--r-- 1 root root 24153 24 juil. 03:25 xferlog_regular.processed
-bash-4.1$
-bash-4.1$
-bash-4.1$ pwd
/var/www/vhosts/xxxxx.fr/statistics/logs
 
Make sure that you have following content of file /etc/sysconfig/i18n

# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"

Correct it and then reload locale with

# source /etc/sysconfig/i18n

After that check that you have English locale with

# echo $LANG
en_US.UTF-8

echo $LANG
 
I'm just guessing. You can return locale back if it does not help.
 
Um. Sorry. You didn't specify which Plesk version you are running, did you? I guess 11.0.9 then.

Well. At least you should look into /var/log/sw-cp-server/error_log. It should have something relevant (e.g., exact file location Panel is trying to access).
 
Um. Sorry. You didn't specify which Plesk version you are running, did you? I guess 11.0.9 then.

Well. At least you should look into /var/log/sw-cp-server/error_log. It should have something relevant (e.g., exact file location Panel is trying to access).

I am running 11.0.9.

And by looking into /var/log/sw-cp-server/error_log, I can't find any trace of the mentioned error :(
 
I think that it would be more effectively if you contact Support Team with this issue. It looks like very specific and require detailed investigation directly on your server.
 
Back
Top