/scripts/postupcp is in loop
Hello,
I recently installed a new instance of cPanel v70.0.43 and noticed on the process manager that there are a lot of processes for /bin/bash /scripts/postupcp and the list keeps on growing until I kill the processes.
I was able to recreate this problem by running /scripts/upcp --sync
Here's a screenshot of how the process manager looks like when the problem is active:
s7.postimg.cc/ah3t4ktgr/screenshot_31.png
At first, I thought it was a problem with some missing files or package, so I ran /scripts/upcp --force and it didn't fix the problem.
What can I do to fix this?
Let me know.
Shahriar
It says "You must reboot the server to apply software updates." even though I have kernelcare installed and it has the latest kernel.
Update:
/usr/bin/needs-restarting returns following output, I will do a server reboot tonight to see if this fixes the problem.
1 : /usr/lib/systemd/systemd --switched-root --system --deserialize 21
-
Hello @shojib, Can you let us know the output from the following command on this system? grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype
Thank you.0 -
@cPanelMichael [root@server1 ~]# grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype /etc/redhat-release:CentOS Linux release 7.5.1804 (Core) /usr/local/cpanel/version:11.70.0.43 /var/cpanel/envtype:standard
I am guessing there is something wrong with the code itself? My system isn't CloudLinux and it's calling the same script inside the script and that's why it's in a loop?[root@server1 ~]# cat /scripts/postupcp #!/bin/bash /scripts/postupcp #cloudlinux-linksafe /usr/share/cloudlinux-linksafe/cpanel/hooks/cloudlinux_linksafe_hook.sh #cloudlinux-linksafe0 -
Hello @shojib, The contents of your /scripts/postupcp file are not part of the standard cPanel & WHM installation. You can remove the /scripts/postupcp file in this case, since you are not using CloudLinux. Can you let us know how you installed cPanel & WHM? Was it part of an image offered by your hosting provider? Thank you. 0 -
It was not part of any image, I installed it by following this documentation: Installation Guide - Version 70 Documentation - cPanel Documentation I will remove the file now. 0 -
Hello @shojib, Can you let us know how the operating system was installed prior to installing cPanel & WHM? Thank you. 0 -
It was centos7 latest 0 -
It was centos7 latest
For instance, what steps did you take to setup CentOS 7 on the server prior to installing cPanel? Thanks!0 -
The Server was from OVH and installed the centos from their control panel, they offer to use latest kernel 4.** via their netboot, but I prefer the centos kernel, so I disabled that option. 0 -
The Server was from OVH and installed the centos from their control panel, they offer to use latest kernel 4.** via their netboot, but I prefer the centos kernel, so I disabled that option.
Hello, I recommend reporting the issue to OVH's support team to let them know the /scripts/postupcp file was included as part of the CentOS image offered in their control panel. Thank you.0
Please sign in to leave a comment.
Comments
9 comments