US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 03-28-2010, 10:49 AM   #11
Member
 
Join Date: Oct 2009
Posts: 71
Helmi is on a distinguished road
Default

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.
Helmi is offline   Reply With Quote
Old 03-29-2010, 07:04 AM   #12
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Quote:
Originally Posted by Helmi View Post
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.
vian is offline   Reply With Quote
Old 03-29-2010, 09:38 AM   #13
Member
 
Join Date: Oct 2009
Posts: 71
Helmi is on a distinguished road
Default

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.
Helmi is offline   Reply With Quote
Old 03-30-2010, 04:10 AM   #14
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Quote:
Originally Posted by Helmi View Post
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.
vian is offline   Reply With Quote
Old 03-30-2010, 08:49 AM   #15
Member
 
Join Date: Oct 2009
Posts: 71
Helmi is on a distinguished road
Default

unfortunately not. I did not receive a private message.
Helmi is offline   Reply With Quote
Old 03-30-2010, 09:29 AM   #16
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Quote:
Originally Posted by Helmi View Post
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.
vian is offline   Reply With Quote
Old 03-30-2010, 09:35 AM   #17
Member
 
Join Date: Oct 2009
Posts: 71
Helmi is on a distinguished road
Default

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.
Helmi is offline   Reply With Quote
Old 04-01-2010, 04:39 AM   #18
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Quote:
Originally Posted by Helmi View Post
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 is offline   Reply With Quote
Old 04-02-2010, 11:34 AM   #19
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Quote:
Originally Posted by Helmi View Post
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.
vian is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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