cpbackups pkgaccts transfer or move account not working tar and gzip error logs - solved

dbilbao

Registered
Oct 11, 2014
1
0
1
cPanel Access Level
Root Administrator
Hello,

I have a problem with cpbackup with this errors:

Code:
Creating Archive ....ERROR: Error(s) encountered in tar during archiving:
/home/cpmove-???/mysql/roundcube.sql: Cannot write file to archive: Broken pipe at /scripts/pkgacct line 1765.
b_find(): /home/????: Broken pipe

ERROR: Error(s) encountered in gzip during archiving:
pigz: abort: invalid number of processes: 0

ERROR: tar process 1058 exited with status 32: /home/cpmove-?????/mysql/roundcube.sql: Cannot write file to archive: Broken pipe at /scripts/pkgacct line 1765.
b_find(): /home/????: Broken pipe at /usr/local/cpanel/Cpanel/IO/Tarball.pm line 198.
I made a research in cpanel forums and in the internet but nobody have the same error.

Too, the /scripts/pkgacct generated the same error and when I try to move an account from this server to another one the same error too.

I wrote to support and they find the solution:

The reason that you were getting errors with creating the backup archives was due to the fact that pigz compression had been enabled in Tweak Settings, but the number of processes and block size had both been set to zero:

Code:
[09:23:23 host root@5561957 /home]cPs# grep pigz /var/cpanel/cpanel.config
gzip_pigz_block_size=0
gzip_pigz_processes=0
gzip_use_pigz=1
This effectively disabled pigs, because it was not able to create any processes.

To address this, I went into Tweak Settings and changed these two settings back to their default values:

Code:
[09:27:52 host root@5561957 /home]cPs# grep pigz /var/cpanel/cpanel.config
gzip_pigz_block_size=128
gzip_pigz_processes=1
gzip_use_pigz=1
That was the solution :)

I hope this thread help somebody.

Thanks cPanel Support.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

I am happy to see the issue was resolved. Thank you for updating us with the outcome.