Page 1 of 1

Multi Server Config Problem

Posted: Tue Jul 22, 2008 9:28 am
by martin.bloor
Greetings...

I have just installed a second server in a multi-server configuration I am trying to set up.

The SAC management services are running on the 1st server and in SAC I can see the entry for the second server listed when I click on the 'Server Info' icon.

However, when I expand the tab on the left there is no 'mailnode'... I just get 'services' and 'Queues' tabs with nothing but other services didsplayed inside these tabs...
Also I get no information when selecting the 'General,Services,Queues,Active Users, Mailnodes' tabs...

I suspect that server 1 is not connecting to server 2 correctly but how do I debug / where do I look to resolve this...

Thanks

Martin

Posted: Tue Jul 22, 2008 6:52 pm
by schmoe90
When you install / reconfigure the 2nd server, you tell it to have the 1st server as it's management server - did you do that?

Posted: Wed Jul 23, 2008 2:20 am
by martin.bloor
Yes,

Specified the IP and it is appearing in the MC

I have configured all the routing and set up the Directory Syncing...

Posted: Wed Jul 23, 2008 2:58 am
by martin.bloor
The problem lies in the fact the AC is not able to retrieve any data from the new server.

What mechanism is used by the AC to get all its data about the remote server, its users, etc...? and what are the usual reasons for failure when it cannot retrieve data?

I have obviously missed doing something simple? But what?

Thanks

Martin

Re: Multi Server Config Problem

Posted: Tue Dec 01, 2009 4:35 am
by potatoinmiri
Hi,

I have had the same problem too.
posted on another thread but not resolving yet.

Have you found the resolution??

Re: Multi Server Config Problem

Posted: Wed Dec 02, 2009 3:28 am
by potatoinmiri
Hi,

I found these error in the management server log under Scalix Administration manager service, any clue what is the actual problem?


2009-12-02 15:04:27,304 ERROR [GetMailNodesList.buildResponseMessage:108] Skipping server symail3.shinshin.com.my. No document received!
2009-12-02 15:04:31,086 FATAL [RESServiceHandler.executeRESCommand:2193] java.io.IOException: Server returned HTTP response code: 503 for URL: http://symail3.shinshin.com.my/res/RESDispatcher
2009-12-02 15:04:31,086 FATAL [RESServiceHandler.executeRESCommand:2202] com.scalix.sac.ubermgr.res.RESServiceHandler:Fatal Exception raised. Check the CAA logs
2009-12-02 15:04:31,087 WARN [GetUsersMessageStoreUsageList.createSOAPResponseMessage:148] Skipping server symail3.shinshin.com.my no document received.
2009-12-02 15:04:39,515 FATAL [RESServiceHandler.executeRESCommand:2193] java.io.IOException: Server returned HTTP response code: 503 for URL: http://symail3.shinshin.com.my/res/RESDispatcher
2009-12-02 15:04:39,515 FATAL [RESServiceHandler.executeRESCommand:2202] com.scalix.sac.ubermgr.res.RESServiceHandler:Fatal Exception raised. Check the CAA logs
2009-12-02 15:04:39,517 FATAL [RESServiceHandler.executeRESCommand:2193] java.io.IOException: Server returned HTTP response code: 503 for URL: http://symail3.shinshin.com.my/res/RESDispatcher
2009-12-02 15:04:39,517 FATAL [RESServiceHandler.executeRESCommand:2202] com.scalix.sac.ubermgr.res.RESServiceHandler:Fatal Exception raised. Check the CAA logs
2009-12-02 15:04:39,519 ERROR [GetServerMessageStoreUsage.createResponseMessage:105] Skipping server symail3.shinshin.com.my no documents received for command sxdu
2009-12-02 15:04:39,519 ERROR [GetServerMessageStoreUsage.createResponseMessage:105] Skipping server symail3.shinshin.com.my no documents received for command sxsacdf
2009-12-02 15:04:39,712 FATAL [RESServiceHandler.executeRESCommand:2193] java.io.IOException: Server returned HTTP response code: 503 for URL: http://symail3.shinshin.com.my/res/RESDispatcher
2009-12-02 15:04:39,712 FATAL [RESServiceHandler.executeRESCommand:2202] com.scalix.sac.ubermgr.res.RESServiceHandler:Fatal Exception raised. Check the CAA logs
2009-12-02 15:04:39,713 WARN [GetUsersMessageStoreUsageList.createSOAPResponseMessage:148] Skipping server symail3.shinshin.com.my no document received.
2009-12-02 15:05:10,636 INFO [NotificationEventListener$WorkerThread.run:51] Event Notification: heartbeat|http://symail3.shinshin.com.my/res/RESDispatcher|LISTEN|300|symail3|symail3.shinshin.com.my|11.4.5 from host:symail3.shinshin.com.my
2009-12-02 15:05:14,743 INFO [RESMonitor.run:115] Server symail1.shinshin.com.my up 2 mins, 53 secs
2009-12-02 15:05:14,744 INFO [RESMonitor.run:115] Server symail3.shinshin.com.my up 2 mins, 59 secs

Re: Multi Server Config Problem

Posted: Wed Dec 02, 2009 9:49 am
by ltward
Well, if it were ME, I'd run scalix-install on both the main server and the new "downstream" or "slave" server and reconfigure everything. It's possible the main server is not configured to allow connections from the new server. Or it's possible there was a typo when the software for the new server was installed. If that didn't work, I'd remove Scalix on both servers (but NOT!!!! the data!!!! -- and make a backup first, and test the backup to ensure you can restore from it should you need to) and re-install it.

IMO, re-configuring or re-installing will be the fastest way towards fixing whatever is misconfigured on one of the servers.

You could also check the /var/opt/scalix/??tomcat/logs/scalix-caa.log:

2009-12-02 15:04:27,304 ERROR [GetMailNodesList.buildResponseMessage:108] Skipping server symail3.shinshin.com.my. No document received!
2009-12-02 15:04:31,086 FATAL [RESServiceHandler.executeRESCommand:2193] java.io.IOException: Server returned HTTP response code: 503 for URL: http://symail3.shinshin.com.my/res/RESDispatcher
2009-12-02 15:04:31,086 FATAL [RESServiceHandler.executeRESCommand:2202] com.scalix.sac.ubermgr.res.RESServiceHandler:Fatal Exception raised. Check the CAA logs

Re: Multi Server Config Problem

Posted: Mon Dec 07, 2009 9:28 pm
by potatoinmiri
Hi ,

First of all , thanks ltward for your replies.
Finally managed to solve the problem, it is a personal mistake in httpd.conf configuration , nothing related to scalix OF COURSE.

Yes, as described by ltward in this post http://www.scalix.com/forums/viewtopic.php?f=2&t=14238,
it is really as simple as instructed there, no hidden steps. '

The problem for me is because in my httpd.conf , i have already configured some virtual host settings for port 80 and 8080, which somehow may have conflicted with the scalix http access.
Based on the error log as listed in previous post, i then tried to access http://downstreamserverIP/res/RESDispatcher, that gives me error access, by normality it should produce the page that says : RES:Okay - Listening

After i removed all the virtual host settings in my httpd.conf, i then restarted both main and downstream servers, and there it comes all the services listed on server info for my downstream server, so as the sxadmin users which i created on downstream server.

bye

Re: Multi Server Config Problem

Posted: Wed Dec 09, 2009 1:45 pm
by ltward
I bet that was hard to find.
Thank you for taking time to post your solution.