Multi Server Config Problem

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

martin.bloor

Multi Server Config Problem

Postby martin.bloor » Tue Jul 22, 2008 9:28 am

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

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Jul 22, 2008 6:52 pm

When you install / reconfigure the 2nd server, you tell it to have the 1st server as it's management server - did you do that?

martin.bloor

Postby martin.bloor » Wed Jul 23, 2008 2:20 am

Yes,

Specified the IP and it is appearing in the MC

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

martin.bloor

Postby martin.bloor » Wed Jul 23, 2008 2:58 am

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

potatoinmiri
Posts: 58
Joined: Wed Mar 28, 2007 9:25 pm

Re: Multi Server Config Problem

Postby potatoinmiri » Tue Dec 01, 2009 4:35 am

Hi,

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

Have you found the resolution??

potatoinmiri
Posts: 58
Joined: Wed Mar 28, 2007 9:25 pm

Re: Multi Server Config Problem

Postby potatoinmiri » Wed Dec 02, 2009 3:28 am

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

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Re: Multi Server Config Problem

Postby ltward » Wed Dec 02, 2009 9:49 am

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

potatoinmiri
Posts: 58
Joined: Wed Mar 28, 2007 9:25 pm

Re: Multi Server Config Problem

Postby potatoinmiri » Mon Dec 07, 2009 9:28 pm

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

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Re: Multi Server Config Problem

Postby ltward » Wed Dec 09, 2009 1:45 pm

I bet that was hard to find.
Thank you for taking time to post your solution.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 8 guests

cron