• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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