ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   General technical discussion (http://forum.ispsystem.com//forumdisplay.php?f=8)
-   -   Usermove fails (http://forum.ispsystem.com//showthread.php?t=956)

Helmi 03-28-2010 10:49 AM

Here's a new one with the complete session:

Code:

Mar 28 09:40:06 [    0] INFO Lookup log level for '/usr/local/ispmgr/var/UserMove.log' in '/usr/local/ispmgr/etc/UserMove.debug'
Mar 28 09:40:06 [21202] INFO /usr/local/ispmgr/sbin/usermove lock
Mar 28 09:40:06 [21202] INFO Target: import
Mar 28 09:40:06 [21202] INFO User: nkalchschm
Mar 28 09:40:06 [21202] INFO HomeDir: /
Mar 28 09:40:06 [21202] ../../src/mgr/libmgr/rpc.cpp:294  RPC request to 'ispmgr' 'https://$myhostname/manager/ispmgr?func=user.edit&out=xml&elid=nkalchschm&needhash=yes&auth=1388158067'
Mar 28 09:40:06 [21202] ../../src/mgr/libmgr/rpc.cpp:299  Received result '<?xml version="1.0" encoding="UTF-8"?>
<doc><elid>nkalchschm</elid><name>nkalchschm</name><shell>on</shell><email>$myemail</email><note/><domain>pimp-nails.de</domain><ip>$myip</ip><preset>custom</preset><owner>root</owner><ssl>on</ssl><phpmod>on</phpmod><phpcgi>on</phpcgi><phpfcgi>on</phpfcgi><ssi>on</ssi><cgi>on</cgi><bandwidthlimit>100000000</bandwidthlimit><baselimit>10000</baselimit><baseuserlimit>10000</baseuserlimit><cpulimit>0</cpulimit><ftplimit>10000</ftplimit><maildomainlimit>10000</maildomainlimit><maillimit>10000</maillimit><memlimit>0</memlimit><proclimit>0</proclimit><webdomainlimit>10000</webdomainlimit><hash>$1$GbCifdV7$JJw0J1l9TXwlQAALdEOza1</hash><email>$myemail</email></doc>
'
Mar 28 09:40:07 [21202] ../../src/mgr/libmgr/rpc.cpp:294  RPC request to 'ispmgr' 'https://$myhostname/manager/ispmgr?out=xml&auth=1388158067&func=domain.slave'
Mar 28 09:40:07 [21202] ../../src/mgr/libmgr/rpc.cpp:299  Received result '<?xml version="1.0" encoding="UTF-8"?>
<doc><error code="100">Invalid action domain.slave</error></doc>
'
Mar 28 09:40:07 [21202] WARNING Domain set error: Remote service ispmgr return error. Code 100
Mar 28 09:40:07 [21202] INFO Fetch command(/usr/bin/wget --timeout=100000 --tries=1 -q -O- --no-check-certificate "https://$myhostname/mancgi/getuser?user=nkalchschm&auth=1388158067" > /tmp/getuser.tar.gz)
Mar 28 09:41:46 [21202] ../../src/mgr/libmgr/rpc.cpp:294  RPC request to 'ispmgr' 'https://v07.kommuniserv.de/manager/ispmgr?out=xml&func=keepalive&auth=1388158067'
Mar 28 09:41:46 [21202] ../../src/mgr/libmgr/rpc.cpp:299  Received result '<?xml version="1.0" encoding="UTF-8"?>
<doc><redirect> </redirect></doc>
'
Mar 28 09:43:12 [21202] EXTINFO Execute (/usr/bin/wget --timeout=100000 --tries=1 -q -O- --no-check-certificate "https://$myhost/mancgi/getuser?user=nkalchschm&auth=1388158067" > /tmp/getuser.tar.gz) return=0 exited
Mar 28 09:43:12 [21202] INFO Extract user data...
Mar 28 09:43:21 [21202] EXTINFO Execute (tar -zxpf /tmp/getuser.tar.gz -C /var/www/nkalchschm/data/) return=0 exited
Mar 28 09:43:21 [21202] INFO Changing the permissions to uid: 502 gid: 504
Mar 28 09:43:28 [21202] EXTINFO Execute (tar -ztf /tmp/getuser.tar.gz) return=0 exited

...followed by the big list of files including php session files and then way down this:

Code:

Mar 28 09:43:32 [21202] WARNING Can't detect postgresql server name
Mar 28 09:43:32 [21202] INFO Running restoring
Mar 28 09:43:32 [21202] INFO ...mgrdata
Mar 28 09:43:32 [21202] INFO Restoring ISPmanager configuration domain from file /var/www/nkalchschm/data/domain.xml
Mar 28 09:43:32 [21202] WARNING "Module restoring" failed: can't read file '/var/www/nkalchschm/data/domain.xml'
Mar 28 09:43:32 [21202] INFO Restoring ISPmanager configuration wwwdomain from file /var/www/nkalchschm/data/pbkp_wwwdomain.xml
Mar 28 09:43:32 [21202] INFO Restarting apache...
Mar 28 09:43:32 [21202] INFO Restoring ISPmanager configuration wwwredirect from file /var/www/nkalchschm/data/pbkp_wwwredirect.xml
Mar 28 09:43:33 [21202] INFO Restarting apache...
Mar 28 09:43:33 [21202] INFO Restoring ISPmanager configuration emaildomain from file /var/www/nkalchschm/data/pbkp_emaildomain.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration emailgroup from file /var/www/nkalchschm/data/pbkp_emailgroup.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration emailredirect from file /var/www/nkalchschm/data/pbkp_emailredirect.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration email from file /var/www/nkalchschm/data/pbkp_email.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration db from file /var/www/nkalchschm/data/pbkp_db.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration cron from file /var/www/nkalchschm/data/pbkp_cron.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration ftp from file /var/www/nkalchschm/data/pbkp_ftp.xml
Mar 28 09:43:34 [21202] INFO ...email
Mar 28 09:43:34 [21202] INFO ...file
Mar 28 09:43:34 [21202] INFO ...mysql
Mar 28 09:43:34 [21202] INFO ...zones
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_wwwdomain.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_wwwredirect.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_emaildomain.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_emailgroup.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_emailredirect.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_email.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_db.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_cron.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_ftp.xml
Mar 28 09:43:34 [21202] INFO Finish successful

What looks successful here leeds to the domains not added to isp manager and the usual error in isp manager (the one from above).

It looks like all data is in place but the database didn't get created and imported and the domain didn't get setup in isp manager.

vian 03-29-2010 07:04 AM

Quote:

Originally Posted by Helmi (Post 4115)
Here's a new one with the complete session:

Code:

Mar 28 09:40:06 [    0] INFO Lookup log level for '/usr/local/ispmgr/var/UserMove.log' in '/usr/local/ispmgr/etc/UserMove.debug'
Mar 28 09:40:06 [21202] INFO /usr/local/ispmgr/sbin/usermove lock
Mar 28 09:40:06 [21202] INFO Target: import
Mar 28 09:40:06 [21202] INFO User: nkalchschm
Mar 28 09:40:06 [21202] INFO HomeDir: /
Mar 28 09:40:06 [21202] ../../src/mgr/libmgr/rpc.cpp:294  RPC request to 'ispmgr' 'https://$myhostname/manager/ispmgr?func=user.edit&out=xml&elid=nkalchschm&needhash=yes&auth=1388158067'
Mar 28 09:40:06 [21202] ../../src/mgr/libmgr/rpc.cpp:299  Received result '<?xml version="1.0" encoding="UTF-8"?>
<doc><elid>nkalchschm</elid><name>nkalchschm</name><shell>on</shell><email>$myemail</email><note/><domain>pimp-nails.de</domain><ip>$myip</ip><preset>custom</preset><owner>root</owner><ssl>on</ssl><phpmod>on</phpmod><phpcgi>on</phpcgi><phpfcgi>on</phpfcgi><ssi>on</ssi><cgi>on</cgi><bandwidthlimit>100000000</bandwidthlimit><baselimit>10000</baselimit><baseuserlimit>10000</baseuserlimit><cpulimit>0</cpulimit><ftplimit>10000</ftplimit><maildomainlimit>10000</maildomainlimit><maillimit>10000</maillimit><memlimit>0</memlimit><proclimit>0</proclimit><webdomainlimit>10000</webdomainlimit><hash>$1$GbCifdV7$JJw0J1l9TXwlQAALdEOza1</hash><email>$myemail</email></doc>
'
Mar 28 09:40:07 [21202] ../../src/mgr/libmgr/rpc.cpp:294  RPC request to 'ispmgr' 'https://$myhostname/manager/ispmgr?out=xml&auth=1388158067&func=domain.slave'
Mar 28 09:40:07 [21202] ../../src/mgr/libmgr/rpc.cpp:299  Received result '<?xml version="1.0" encoding="UTF-8"?>
<doc><error code="100">Invalid action domain.slave</error></doc>
'
Mar 28 09:40:07 [21202] WARNING Domain set error: Remote service ispmgr return error. Code 100
Mar 28 09:40:07 [21202] INFO Fetch command(/usr/bin/wget --timeout=100000 --tries=1 -q -O- --no-check-certificate "https://$myhostname/mancgi/getuser?user=nkalchschm&auth=1388158067" > /tmp/getuser.tar.gz)
Mar 28 09:41:46 [21202] ../../src/mgr/libmgr/rpc.cpp:294  RPC request to 'ispmgr' 'https://v07.kommuniserv.de/manager/ispmgr?out=xml&func=keepalive&auth=1388158067'
Mar 28 09:41:46 [21202] ../../src/mgr/libmgr/rpc.cpp:299  Received result '<?xml version="1.0" encoding="UTF-8"?>
<doc><redirect> </redirect></doc>
'
Mar 28 09:43:12 [21202] EXTINFO Execute (/usr/bin/wget --timeout=100000 --tries=1 -q -O- --no-check-certificate "https://$myhost/mancgi/getuser?user=nkalchschm&auth=1388158067" > /tmp/getuser.tar.gz) return=0 exited
Mar 28 09:43:12 [21202] INFO Extract user data...
Mar 28 09:43:21 [21202] EXTINFO Execute (tar -zxpf /tmp/getuser.tar.gz -C /var/www/nkalchschm/data/) return=0 exited
Mar 28 09:43:21 [21202] INFO Changing the permissions to uid: 502 gid: 504
Mar 28 09:43:28 [21202] EXTINFO Execute (tar -ztf /tmp/getuser.tar.gz) return=0 exited

...followed by the big list of files including php session files and then way down this:

Code:

Mar 28 09:43:32 [21202] WARNING Can't detect postgresql server name
Mar 28 09:43:32 [21202] INFO Running restoring
Mar 28 09:43:32 [21202] INFO ...mgrdata
Mar 28 09:43:32 [21202] INFO Restoring ISPmanager configuration domain from file /var/www/nkalchschm/data/domain.xml
Mar 28 09:43:32 [21202] WARNING "Module restoring" failed: can't read file '/var/www/nkalchschm/data/domain.xml'
Mar 28 09:43:32 [21202] INFO Restoring ISPmanager configuration wwwdomain from file /var/www/nkalchschm/data/pbkp_wwwdomain.xml
Mar 28 09:43:32 [21202] INFO Restarting apache...
Mar 28 09:43:32 [21202] INFO Restoring ISPmanager configuration wwwredirect from file /var/www/nkalchschm/data/pbkp_wwwredirect.xml
Mar 28 09:43:33 [21202] INFO Restarting apache...
Mar 28 09:43:33 [21202] INFO Restoring ISPmanager configuration emaildomain from file /var/www/nkalchschm/data/pbkp_emaildomain.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration emailgroup from file /var/www/nkalchschm/data/pbkp_emailgroup.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration emailredirect from file /var/www/nkalchschm/data/pbkp_emailredirect.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration email from file /var/www/nkalchschm/data/pbkp_email.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration db from file /var/www/nkalchschm/data/pbkp_db.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration cron from file /var/www/nkalchschm/data/pbkp_cron.xml
Mar 28 09:43:34 [21202] INFO Restoring ISPmanager configuration ftp from file /var/www/nkalchschm/data/pbkp_ftp.xml
Mar 28 09:43:34 [21202] INFO ...email
Mar 28 09:43:34 [21202] INFO ...file
Mar 28 09:43:34 [21202] INFO ...mysql
Mar 28 09:43:34 [21202] INFO ...zones
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_wwwdomain.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_wwwredirect.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_emaildomain.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_emailgroup.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_emailredirect.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_email.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_db.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_cron.xml
Mar 28 09:43:34 [21202] INFO Deleting /var/www/nkalchschm/data/pbkp_ftp.xml
Mar 28 09:43:34 [21202] INFO Finish successful

What looks successful here leeds to the domains not added to isp manager and the usual error in isp manager (the one from above).

It looks like all data is in place but the database didn't get created and imported and the domain didn't get setup in isp manager.

The databases have not been imported due to the names of MySQL servers differ (on source and target servers).
Next week we plan to release renewed usermove we we got rid of such a problem.

Helmi 03-29-2010 09:38 AM

The name of the servers differ? They should both be "localhost" as the databases of both servers are on the same machine as the rest.

vian 03-30-2010 04:10 AM

Quote:

Originally Posted by Helmi (Post 4122)
The name of the servers differ? They should both be "localhost" as the databases of both servers are on the same machine as the rest.

I've answerd your private message.

Helmi 03-30-2010 08:49 AM

unfortunately not. I did not receive a private message.

vian 03-30-2010 09:29 AM

Quote:

Originally Posted by Helmi (Post 4129)
unfortunately not. I did not receive a private message.

it's hard to say what have happened. I advice you to give me an access to both servers and i'll figura the problem out.

Helmi 03-30-2010 09:35 AM

As the problem appears on all servers that i have tried do you really think it depends on the servers and it helps when i give you access to two of them?

But we can try.

vian 04-01-2010 04:39 AM

Quote:

Originally Posted by Helmi (Post 4131)
As the problem appears on all servers that i have tried do you really think it depends on the servers and it helps when i give you access to two of them?

But we can try.

If the migration process is not necessary right now you can wait about a week. We are planning to release a renewed usermove next week.

vian 04-02-2010 11:34 AM

Quote:

Originally Posted by Helmi (Post 4131)
As the problem appears on all servers that i have tried do you really think it depends on the servers and it helps when i give you access to two of them?

But we can try.

Yes, I think so. It'll be easier for you to give me the access instead of being asked several times to do this or to show that.


All times are GMT +2. The time now is 05:20 PM.

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