Skip to main content

/scripts/postupcp is in loop

Comments

9 comments

  • cPanelMichael
    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
  • shojib
    @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-linksafe
    0
  • cPanelMichael
    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
  • shojib
    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
  • cPanelMichael
    Hello @shojib, Can you let us know how the operating system was installed prior to installing cPanel & WHM? Thank you.
    0
  • shojib
    It was centos7 latest
    0
  • cPanelMichael
    It was centos7 latest

    For instance, what steps did you take to setup CentOS 7 on the server prior to installing cPanel? Thanks!
    0
  • shojib
    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
  • cPanelMichael
    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.