ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   Usermove problem: WriteBufToStdOut (http://forum.ispsystem.com//showthread.php?t=2203)

Helmi 08-23-2014 11:34 AM

Usermove problem: WriteBufToStdOut
 
Hi,

i have moved some users but now have big trouble with one of them. Here's the output of UserMove.log on the source machine:

Code:

Aug 23 10:27:33 [    0:0] INFO Lookup log level for '/usr/local/ispmgr/var/UserMove.log' in 'etc/UserMove.debug'
Aug 23 10:27:33 [110927:0] INFO /usr/local/ispmgr/sbin/usermove -uxyz get
Aug 23 10:27:33 [110927:0] INFO [Starting] moving: 2014-08-23 10:27:33
Aug 23 10:27:33 [110927:0] INFO User: xyz, type: 5
Aug 23 10:27:33 [110927:0] INFO Listing storage xyz/
Aug 23 10:27:33 [110927:0] INFO Temp dir: /tmp/pbkp_110927/
Aug 23 10:27:33 [110927:0] INFO Rootdir: /var/www/xyz/data/
Aug 23 10:27:33 [110927:0] INFO Got encoding: UTF-8
Aug 23 10:27:33 [110927:0] INFO Initializing modules...
Aug 23 10:27:33 [110927:0] INFO Starting backup process...
Aug 23 10:27:33 [110927:0] INFO ... mysql
Aug 23 10:27:33 [110927:0] INFO Backuping 'MySQL->xyz' with status 'full' ...
Aug 23 10:27:34 [110927:0] EXTINFO Execute (/usr/bin/mysql --defaults-file=/tmp/pbkp_110927/mysql.110927 -h localhost  -S /var/lib/mysql/mysql.sock --batch -e "show variables like 'character_set_database';" xyz) return=0 exited
Aug 23 10:28:23 [110927:0] EXTINFO Execute (/usr/bin/mysqldump --defaults-file=/tmp/pbkp_110927/mysql.110927 -h localhost  -S /var/lib/mysql/mysql.sock --routines --default-character-set=utf8 --lock-all-tables=FALSE --lock-tables=FALSE xyz > /tmp/pbkp_110927/pbkp_MySQL_xyz.sql) return=0 exited
Aug 23 10:28:23 [110927:0] INFO ... usrparam
Aug 23 10:28:23 [110927:0] INFO ... deletezonesonslaves
Aug 23 10:28:23 [110927:0] INFO ... emaildomain
Aug 23 10:28:23 [110927:0] INFO ... emailgroup
Aug 23 10:28:23 [110927:0] INFO ... email
Aug 23 10:28:23 [110927:0] INFO ... emailredirect
Aug 23 10:28:23 [110927:0] INFO ... emailresponder
Aug 23 10:28:23 [110927:0] INFO ... cert
Aug 23 10:28:23 [110927:0] WARNING Exception 6: access to 'cert' for 'bastelblogs' denied
Aug 23 10:28:23 [110927:0] INFO ... logrotdef
Aug 23 10:28:23 [110927:0] INFO ... wwwdomain
Aug 23 10:28:23 [110927:0] INFO Backuping 'xyz.com'...
Aug 23 10:28:23 [110927:0] INFO ... wwwaddtypes
Aug 23 10:28:23 [110927:0] INFO ... wwwredirect
Aug 23 10:28:23 [110927:0] INFO ... wwwerrpage
Aug 23 10:28:23 [110927:0] INFO ... zones
Aug 23 10:28:23 [110927:0] INFO Backuping 'xyz.com'...
Aug 23 10:28:23 [110927:0] INFO ... diraccess
Aug 23 10:28:23 [110927:0] INFO ... greylist
Aug 23 10:28:23 [110927:0] INFO ... cron
Aug 23 10:28:23 [110927:0] INFO Backuping '%2A%2F02%20%2A%20%2A%20%2A%20%2A%20%2Fusr%2Fbin%2Fphp%20%2Dq%20%2Fvar%2Fwww%2Fbastelblogs%2Fdata%2Fwww%2Fxyz%2Ecom%2Fstats%2Fmisc%2Fcron%2Farchive%2Ephp%20%2D%2Durl%3Dhttp%3A%2F%2Fxyz%2Ecom%2Fstats'...
Aug 23 10:28:23 [110927:0] INFO Backuping 'cron.prop'...
Aug 23 10:28:23 [110927:0] INFO ... ftp
Aug 23 10:28:23 [110927:0] INFO Backuping 'xyz'...
Aug 23 10:28:23 [110927:0] INFO ... file
Aug 23 10:28:24 [110927:0] INFO Pack & store...
Aug 23 10:28:25 [110927:0] INFO Removing temporary directory: /tmp/pbkp_110927/
Aug 23 10:28:25 [110927:0] FATAL Import ERROR (global block): WriteBufToStdOut: Can't write to stdout: Broken pipe
Aug 23 10:28:25 [110927:0] INFO Finishing [bastelblogs] ...

I have anonymized the output a bit.

It's strange because everything seems to be writable at first with the db dump but then it failes copying the files. There's enough space on the hard drive and also enough space for the user left. I've tried https and ssh both with the same result.

Problem seems to be that a prior usermove has failed. I've deleted everything in /tmp but don't know what else i nede to cleanup to make it work.

On the previous move files were transfered, the only problem then was a corrupt mysql db that i have fixed now. Mysql export works fine now but files packing doesn't work anymore.

Any help what i can do to make it work again?

fly 08-24-2014 03:22 AM

WriteBufToStdOut: Can't write to stdout: Broken pipe

This error means that some problem occur with connection between servers.

For make user import you can try another way:
Make a backup of user and then move backup to new server. On a new server do user import from local backup.


All times are GMT +2. The time now is 07:54 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.