ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   Slave Server add Error (http://forum.ispsystem.com//showthread.php?t=1203)

taichous 11-24-2010 03:27 PM

Slave Server add Error
 
I try to create a slave server on Settings > Slave Server and get error: Error: unable_connect

The control panel url of slave server is in format: https://server.domain/manager/ispmrg

And the user I try is the root user.

Here is the log (I remove domain name and put xxxx):

Nov 24 11:20:47 [19391] INFO Request [200.195.42.7][root] 'name=https%3A%2F%2Fxxxxxx%2Fmanager%2Fispmgr&user =root&passwdgen=&passwd=*&func=slave.edit&elid=&so k=ok'
Nov 24 11:20:47 [19391] ERROR Exception 8: unable_connect

vian 11-24-2010 04:40 PM

This error is raised when ISPmanager can't connect to the target server. Is your slave server available? May be it stands behind firewall and it blocks requests.

taichous 11-25-2010 01:01 PM

The server is alive
 
Quote:

Originally Posted by vian (Post 4882)
This error is raised when ISPmanager can't connect to the target server. Is your slave server available? May be it stands behind firewall and it blocks requests.

A can conect with server through ssh and ping, the ports open is the same that ispmanager open. I made a test and disable firewall with the command: iptables -F but not resolve.

What port ispmanager use for connect with server? I can make a test in this specific port with nmap.

The result of nmap on slave server:

21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp open https
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
6666/tcp filtered irc
6667/tcp filtered irc
6668/tcp filtered irc
6669/tcp filtered irc
7000/tcp filtered afs3-fileserver
8443/tcp open https-alt

vian 11-25-2010 05:33 PM

ISPmanager uses https protocol to communicate slave servers.
You should contact our support team through ticket system (my.ispsystem.com)

taichous 11-25-2010 07:35 PM

I use ispmanager in vps.net, I don't have account to contact support

vian 11-26-2010 07:14 AM

Please provice us with ISPmanager's logs from slave server, to be precise with a part of the log when you try to connect from "master" server

taichous 11-26-2010 07:20 PM

Log from slaver:

Nov 26 15:09:16 [ 954] INFO Request [200.195.42.192][root] 'func=user'
Nov 26 15:11:53 [ 954] INFO Request [68.169.43.107][nobody] 'func=auth&username=root&password=*&out=xml'

At 15:11:53 a try to create the slave on masters panel. The apache error.log don't change after operation, here is it:

[Fri Nov 26 15:08:43 2010] [error] [client 200.195.42.192] (13)Permission denied: cannot read directory for multi: /var/www/
[Fri Nov 26 15:08:46 2010] [error] [client 200.195.42.192] (13)Permission denied: cannot read directory for multi: /var/www/

I try again at Nov 26 15:17:33:

Nov 26 15:11:53 [ 954] INFO Request [68.169.43.107][nobody] 'func=auth&username=root&password=*&out=xml'
Nov 26 15:16:25 [ 954] INFO Request [200.195.42.192][root] 'func=srvparam&operafake=443&clickstat=yes'
Nov 26 15:16:25 [ 954] EXTINFO Load config 'var/userconf/ispmgr.root.defaults'
Nov 26 15:16:53 [ 954] INFO Request [200.195.42.192][root] 'func=srvparam&operafake=71&clickstat=yes'
Nov 26 15:16:53 [ 954] EXTINFO Load config 'var/userconf/ispmgr.root.defaults'
Nov 26 15:17:08 [ 954] INFO Request [200.195.42.192][root] 'srvname=poseidon.taichous.com&timezone=America%2F Sao_Paulo&rootfwd=giovanni%40taichous.com&func=srv param&elid=&sok=ok'
Nov 26 15:17:09 [ 954] EXTINFO Execute (/bin/cp -Rp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime) return=0 exited
Nov 26 15:17:10 [ 954] EXTINFO Execute (/usr/sbin/postalias /etc/aliases) return=0 exited
Nov 26 15:17:10 [ 954] INFO Request [200.195.42.192][root] 'func=user'
Nov 26 15:17:33 [ 954] INFO Request [68.169.43.107][nobody] 'func=auth&username=root&password=*&out=xml'

Something happens, can't connect. The masters ip is 68.169.43.107 this log is from ispmgr.log file.

vian 11-27-2010 03:40 AM

I need to seet the log after
Nov 26 15:17:33 [ 954] INFO Request [68.169.43.107][nobody] 'func=auth&username=root&password=*&out=xml'

taichous 11-28-2010 03:44 AM

Here goes:

Nov 26 15:17:10 [ 954] INFO Request [200.195.42.192][root] 'func=user'
Nov 26 15:17:33 [ 954] INFO Request [68.169.43.107][nobody] 'func=auth&username=root&password=*&out=xml'
Nov 27 00:10:01 [ 954] INFO Request [mgrctl][root] 'out=text&func=task.daily'
Nov 27 01:00:01 [ 954] INFO Request [mgrctl][root] 'out=text&func=optionlist&elid=DisableAutoUpdate'
Nov 27 01:00:01 [ 954] EXTINFO Load config 'var/userconf/ispmgr.root'
Nov 27 02:15:05 [ 954] INFO Request [mgrctl][root] 'out=text&func=pathlist'
Nov 27 02:15:05 [ 954] EXTINFO Load config 'var/userconf/ispmgr.root'
Nov 27 02:15:05 [ 954] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=33&val=1'
Nov 27 02:15:05 [ 954] ERROR Assert '' in 'account' failed
Nov 27 02:15:05 [ 954] ERROR Exception 3: 'account' not exists.
Nov 27 02:15:05 [ 954] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=503&val=0'
Nov 27 02:15:05 [ 954] ERROR Assert '' in 'account' failed
Nov 27 02:15:05 [ 954] ERROR Exception 3: 'account' not exists.
Nov 27 02:15:05 [ 954] INFO Request [mgrctl][root] 'out=text&func=settraf&finish=on'

taichous 12-03-2010 08:34 PM

Anyone?
 
Is there a solution for this problem?
I am recomending ispmanger for my company, but they don't will nor consider if this feature don't work. They will instead use ispconfig

Ispmanager atualize youself for 4.3.50 version but nothing change.


All times are GMT +2. The time now is 02:17 PM.

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