• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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