Page 1 of 1

Problems adding a server...

Posted: Fri Nov 10, 2006 1:04 pm
by rex007can
Yeah I know...
Again.

I'm adding a third server. I have to talking two eachother just fine except for a minor clitch here and there.

Now i'm adding a third one. But sync isn't working.

The routes are all identical to the ones on the other server that works.
Telnet to 25 works anywhichway.
And I can see SOME action in the Audit file. But the communication doesn't complete.
Server 1 and 2 communicate just fine.
But server 3 sends
subject DIRECTORY SYNCHRONIZATION - REQUEST_Updates

Then immediately, server 1 replies
subject DIRECTORY SYNCHRONIZATION - REPLY_Reload

But that reply doesn't seem to ever reach server 3
Nothing happens.

I've quintupled check everything on both servers.
restarted services a bunch of times.
Disabled all the firewalls etc etc.

Posted: Fri Nov 10, 2006 1:20 pm
by dkelly

Posted: Fri Nov 10, 2006 1:44 pm
by rex007can
Done. That's where I got how to view the sync requests going back and forth.

Posted: Fri Nov 10, 2006 2:39 pm
by rex007can
Is there a command to force a sync request to happen now?
Waiting for requests to happen to see if a change did anything just takes too long.

Posted: Fri Nov 10, 2006 3:04 pm
by dkelly
The document that links from the dirsync one ( http://www.scalix.com/wiki/index.php?title=HowTos/AddingAScalixServer ) gives you more information.

To force a sync, you can stop the dirsyc process on the importing server and remove a file /var/opt/scalix/ds/om_state if it exists. Restart dirsync and, if you've got DS_CUST_SEND_REQ_NOW=TRUE in general.cfg, the dirsync request will be sent as soon as you restart.

Cheers

Dave

Posted: Fri Nov 10, 2006 3:10 pm
by kanderson
I believe (though not sure), a sync will occur when dirsync is first started.

omoff -d 0 dirsync
omon dirsync

I think ommodds would allow you to change the sync interval to something really low while you're testing. The man page is excellent, and should get you what you need.

Kev.

This is my problem

Posted: Fri Nov 10, 2006 3:15 pm
by rex007can
So my problem is.
Server 2 sends a sync request
Server 1 returns a sync reload

And the reload gets blocked for a reason I cant figure out.

The original message was received at Fri, 10 Nov 2006 14:11:55 -0500
from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<scalix@server2.domain.com>
(reason: 550 Denied due to spam list)

----- Transcript of session follows -----
... while talking to server2.domain.com.:
>>> RCPT To:<scalix@server2.domain.com>
<<< 550 Denied due to spam list
550 5.1.1 <scalix@server2.domain.com>... User unknown

Posted: Fri Nov 10, 2006 3:17 pm
by dkelly
It looks like you're using a different name for the server than is actually defined. Please read the section on CNAMEs that I wrote in the Adding A Server wiki page.

Cheers

Dave

Posted: Fri Nov 10, 2006 3:30 pm
by rex007can
Seems like you were right.

Thanks!