Skip to main content

Backup Error - pkgacct reported error code “1”

Comments

10 comments

  • cPanelMichael
    Hello :) Could you package this account manually and let us know where it fails? EX:
    /scripts/pkgacct $username
    Thank you.
    0
  • eurorocco
    Hi! I'm now trying to fix this. A large site that Cpanel won't backup. As you asked I ran /script/pkgacct cpanelusername and the last line is (after a bunch of ..... lines): [2016-04-13 09:33:02 -0500] ERROR: The subprocess "Archive::Tar::Builder"KILL" # KILL? Seems something KILLed this process. Is it perhaps that there is a timeout, a time limit for this process, a limit that was hit on this huge site? Maybe a value somewhere to modify to increase this time limit? Thank you all for your wonderful help on this issue that literally keeps me awake. :)
    0
  • SysSachin
    Hi, Do you have CSF/LFD installed on the system? If so, is the "exe:/usr/local/cpanel/3rdparty/perl/514/bin/perl" line added to the ignore list?
    0
  • cPanelMichael
    KILL? Seems something KILLed this process. Is it perhaps that there is a timeout, a time limit for this process, a limit that was hit on this huge site? Maybe a value somewhere to modify to increase this time limit?

    Hello :) Yes, as mentioned in the previous post, check to see if you have any third-party applications installed that will kill processes based on usage or time such as LFD. Thank you.
    0
  • eurorocco
    Thank you both for your very valuable input. I added line exe:/usr/local/cpanel/3rdparty/perl/514/bin/perl to /etc/csf/csf.pignore and restarted lfd, but it was still killing the backup. I also looked for emails from the csf firewall on this process and yes, it's precisely the /usr/local/cpanel/3rdparty/perl/514/bin/perl expression. But backup is still killed. I'm puzzled. :) Now I'm trying /scripts/pkgacct cpanelusername with lfd disabled, and lfd not monitored (in WHM, Service Manager), to see if the backup completes successfully. As of now I don't know if lfd is killing the backup (I guess it is, indeed). Will update this thread as soon as backup breaks or completes in the current run. Thanks! ER
    0
  • eurorocco
    Even with lfd disabled, stopped, un-monitored, backup gets killed... ................................................................................ ................................................................................ ................................................................................ .................................................. [2016-04-13 14:33:02 -0500] ERROR: The subprocess "Archive::Tar::Builder"KILL" root [~]# ps axu | grep lfd root 14596 0.0 0.0 61168 684 pts/2 D+ 14:48 0:00 grep lfd root [~]# ie no lfd process root [~]# ps axu | grep csf root 14803 0.0 0.0 61168 740 pts/2 S+ 14:49 0:00 grep csf root [~]# ie no csf process Any help is greatly appreciated. Thanks! ER
    0
  • eurorocco
    I don't have cphulk enabled. It's disabled. I checked this too. Any third party monitoring on the server other than Cpanel and CSF? Not that I know. I'm sure there is nothing else installed. I modified the ftptimeout = 120 to 1200 in /etc/cpbackup.conf and still no luck. Perhaps a parameter that is not mentioned in /etc/cpbackup.conf that would let the tar go on longer? Thanks! ER
    0
  • cPanelMichael
    Do you notice any output to /usr/local/cpanel/logs/error_log when the process is killed? Thank you.
    0
  • eurorocco
    Problem solved. Yes, it was a third-party thing in the crontab explicitly killing processes for the cpanel user. Once it was disabled backups for such site are now running and completing fine. THANKS a lot!!!
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.