logs location changed?
Hi
Am I right in saying that there is no more access_logs folder but rather a logs folder within /home/[useraccount]/ ?
I see on new servers we have /home/user/logs now and not /home/user/access_logs anymore.
-
Hello @sahostking, Access-logs should be a symbolic link within the /home/$username/ directory: lrwxrwxrwx 1 user123 user123 34 Dec 4 16:51 access-logs -> /etc/apache2/logs/domlogs/user123
It's created automatically the first time logs are generated for the account via cpanellogd. You can process logs manually for an account via the following command to verify this is happening:/scripts/runweblogs $username
Thank you.0 -
@cPanelMichael - indeed, but we are experiencing some issues after upgrading to cPanel 60 - all access-logs symlinks have disappeared and running /scripts/runweblogs shows the following: root@server [~] # /scripts/runweblogs username Log checker loaded ok.. ==> cPanel Log Daemon version 26.0 [2016-12-23 03:00:36 -0500] [sepxferlog] [2016-12-23 03:00:36 -0500] [sepxferlog] complete [2016-12-23 03:00:36 -0500] Processing username... [2016-12-23 03:00:36 -0500] Run Logs domain: domainname.com BW Limit: unlimited Domains: [] [2016-12-23 03:00:36 -0500] Process bandwidth for username [2016-12-23 03:00:36 -0500] Could not set logs symlink: Could not symlink /usr/local/apache/domlogs/username to /home/username/ access-logs [2016-12-23 03:00:36 -0500] Disk Usage for username on /dev/md2 (137304/0) [2016-12-23 03:00:36 -0500] Archive Status for username: 0 [2016-12-23 03:00:36 -0500] Processing username, fork() required to drop privs with (domains:1 domains) [2016-12-23 03:00:36 -0500] [setuid] username (uid=652,gid=647) [2016-12-23 03:00:36 -0500] Complete root@server [~]# cat /usr/local/cpanel/version 11.60.0.28
Which is quite weird, as manually I can set the symlink up without issues.0 -
Hello @lehels, Could you verify if CloudLinux is installed on your system? If so, could you use the "uname -r" command to verify if the most recent kernel is installed? The latest published CloudLinux kernel includes the following resolution that could relate to the issue you have reported: CKSIX-83: allowing user to create symlinks to files/dirs owned by user's group; Thank you. 0
Please sign in to leave a comment.
Comments
3 comments