Skip to main content

SystemD error during slow CPanel Update

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! The issues you're experiencing seem like they are at a lower level than the cPanel software, as we don't control systemd. Do you see anything out of the ordinary in /var/log/messages from around the time you experienced the "systemctl daemon-reload" timeouts?
    0
  • The Old Man
    Hi, Thank you. I just tried daemon-reload again and it timed out, the log shows these messages: Dec 2 09:46:17 vps12345 systemd: Reloading. Dec 2 09:46:24 vps12345 systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue 'ProtectControlGroups' in section 'Service' Dec 2 09:46:24 vps12345 systemd: [/etc/systemd/system/redis2.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/etc/systemd/system/redis7.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/etc/systemd/system/redis4.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/etc/systemd/system/redis.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/etc/systemd/system/redis5.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/etc/systemd/system/redis6.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/etc/systemd/system/redis3.service:5] Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' Dec 2 09:46:25 vps12345 systemd: [/usr/lib/systemd/system/vzfifo.service:19] Support for option SysVStartPriority= has been removed and it is ignored
    systemctl reenable redis.service Removed symlink /etc/systemd/system/multi-user.target.wants/redis.service. Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /etc/systemd/system/redis.service. Failed to execute operation: Connection timed out root@vps12345 [~]# systemctl reenable netdata.service Removed symlink /etc/systemd/system/multi-user.target.wants/netdata.service. Created symlink from /etc/systemd/system/multi-user.target.wants/netdata.service to /usr/lib/systemd/system/netdata.service. Failed to execute operation: Connection timed out root@vps12345 [~]# rpm -q systemd systemd-219-78.el7_9.2.x86_64
    Thanks.
    0
  • cPRex Jurassic Moderator
    It looks like those startup files may not be configured properly. Can you check this guide and see if that applies to your situation?
    0
  • The Old Man
    Thanks for the push in the right direction! I commented out the lines concerned, and after rebooting the server normal service is resumed. I'm not sure where they came from but it seems my version of SystemD is not up to date, so it didn't recognise the commands. I did install Loggly last week so perhaps it was responsible. There are no available updates for my server so I guess it's best to wait until perhaps CentOS 7.9 supplies a later version. I read some advice stating it wasn't advisable to update it manually. Thanks again for the pointer.
    0
  • cPRex Jurassic Moderator
    I'm glad things are working well! Since that isn't a tool that's related to cPanel I can't so for sure on the *why* behind the issue or what the cause may have been, but at least we were able to make some good progress!
    0
  • The Old Man
    Absolutely, I just did a forced CPanel update and completed in 2 mins, not the 20 odd mins like yesterday. :)
    0
  • cPRex Jurassic Moderator
    Much better :D
    0

Please sign in to leave a comment.