Skip to main content

cpanllogd won't restart

Comments

11 comments

  • cPanelAnthony
    Hello! This error typically only occurs when there is a recursive symbolic link configured. Can you provide me with the output of the following commands? ls -la /var/|grep run cd /run ; find -L ./ -type l df -h Please censor any hostnames or information that could trace your server back to us.
    0
  • maestroc
    Here is the output. Thank you for your help! [root@ ~]# ls -la /var/|grep run lrwxrwxrwx 1 root root 11 Aug 31 2017 lock -> ../run/lock lrwxrwxrwx 1 root root 6 Aug 31 2017 run -> ../run [root@ ~]# cd /run ; find -L ./ -type l [root@ run]# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 325G 200G 126G 62% / devtmpfs 4.0G 0 4.0G 0% /dev tmpfs 4.0G 0 4.0G 0% /dev/shm tmpfs 4.0G 50M 4.0G 2% /run tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup
    0
  • cPanelAnthony
    I'm not seeing any recursive linking in place with this setup. I also saw that this issue can be caused by the server kernel not support the O_PATH flag with open(). This can cause service failures similar to the ones you are experiencing. Could you provide me the output from these commands to confirm? perl -E 'our $p = "/proc/self"; $! = 0;$fd = syscall 2, $p, 0x2e0000, 0x7fff98b7c438; ($!) ? say $! : say "Not UPS-177"' uname -a
    0
  • maestroc
    [root@ ~]# perl -E 'our $p = "/proc/self"; $! = 0;$fd = syscall 2, $p, 0x2e0000, 0x7fff98b7c438; ($!) ? say $! : say "Not UPS-177"' Too many levels of symbolic links [root@ ~]# uname -a Linux vps 2.6.32-042stab128.2 #1 SMP Thu Mar 22 10:58:36 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
    0
  • cPanelAnthony
    Thanks! It looks to me like your kernel is pretty outdated; the time stamp shows March of 2018. The recommended solution to this behavior is to update the server kernel to a more recent version. The following article explains this in greater detail and also provides a workaround in case you are not able to upgrade the server kernel:
    0
  • maestroc
    It sounds like they run kernel care but they will not upgrade the base kernel. Short of migrating all 50+ accounts to another VPS do I have any other options? Is there no other way to clear this error?
    0
  • cPanelAnthony
    We would generally suggest a migration in situations like this; I do apologize for that inconvenience. The following article offers some info.
    0
  • maestroc
    Will this cpanel provided workaround be applicable to this case? If I am reading correctly I believe my kernel matches the description given on this related post:
    0
  • cPanelAnthony
    Will this cpanel provided workaround be applicable to this case? If I am reading correctly I believe my kernel matches the description given on this related post:
    0
  • maestroc
    My kernel is this one: Linux vps 2.6.32-042stab128.2 #1 SMP Thu Mar 22 10:58:36 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux In the other post it said the fix was applicable to this: CentOS 7.7 and OpenVZ/Virtuozzo with kernels older than 2.6.32-042stab134.7 In any case I already tried it last night and it seemed to work perfectly. All services are back up and running. Eventually I am going to have to migrate but at least now I feel like I have some wiggle room on doing so.
    0
  • cPanelAnthony
    Thanks for this confirmation! I am happy to see everything is working.
    0

Please sign in to leave a comment.