First a short summary how I setup my system.
I just installed Scalix on a Debian 5.0 server with the debian python installer script. To get this working I had to do a couple of things by hand.
- I installed postgresql postgresql-client first via apt-get
- I installed a dummy package for libsasl2
- I installed libsasl2-2 and libldap-2.4-2
- I made symlinks for: /usr/lib/libldap_r.so.2 -> /usr/lib/libldap_r-2.4.so.2.1.0 and /usr/lib/liblber.so.2 -> /usr/lib/liblber-2.4.so.2.1.0
This solve the dependency problems with the packages in debian 5.0.
After these custom changes I ran the python installer script.
After a reboot the Scalix server was up and running and all the basic functionality (creating users, sending e-mails etc.) seemed to work.
After this I tried to get LDAP user management working with the howto from the scalix wiki http://scalix.org/wiki/index.php?title=HowTos/OpenLDAP_User_Management. When I try to run ldap sync with: "omldapsync -u king3sync" I get the output listed below.
Can anyone tell me what these errors mean, and how I can solve them?
I also included my system specs at the bottom of this post.
Thanks in advance,
Rienk de Jong
omldapsync output:
Code: Select all
2009-04-09 09:01:58 INFO: command line is /opt/scalix/bin/omldapsync -u king3sync
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
/opt/scalix/bin/omldapsync: eval: line 591: unexpected EOF while looking for matching `''
/opt/scalix/bin/omldapsync: eval: line 592: syntax error: unexpected end of file
2009-04-09 09:01:59 STATUS: LDAP dir sync import king3sync started ###############
--------> Sending SOAP Request to Ubermanager@http://bishop2.foo.com/caa/ for method:GetMailNodesList
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
<ServiceType>scalix.res</ServiceType>
<FunctionName>GetMailNodesList</FunctionName>
<Credentials id="12345">
<Identity name="sxadmin" passwd="xxxxxxxx"/>
</Credentials>
<ScalixServers/>
<GetMailNodesListParameters/>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--------> Received SOAP Response from Ubermanager@http://bishop2.quest-innovations.com/caa/
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>CAA Service Error</faultstring>
<detail>
<scalix-caa:fault-details xmlns:scalix-caa="http://www.scalix.com/caa">
<message>com.sun.xml.internal.messaging.saaj.soap.impl.TextImpl cannot be cast to javax.xml.soap.SOAPBodyElement</message>
<errorcode>CAA-101</errorcode>
</scalix-caa:fault-details>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
error: Response contains failure report
2009-04-09 09:02:00 ERROR: failed to run omldapagent
2009-04-09 09:02:00 STATUS: LDAP dir sync import failed, error=2 ###########
2009-04-09 09:02:00 STATUS: LDAP dir sync export king3sync started ###############
2009-04-09 09:02:00 INFO: agreement type 13 only supports import operation
2009-04-09 09:02:00 STATUS: LDAP dir sync export king3sync completed #############
System specs Scalix server:
hostname: bishop2.foo.com
Intel(R) Xeon(TM) CPU 3.06GHz 4GB RAM
Debian 5.0
Postgresql 8.3
libsasl2-2 2.1.22
Java 6 SDK update 12
libldap-2.4-2
System specs LDAP server:
hostname: king3.foo.com
Intel(R) Xeon(R) CPU 5110 @ 1.60GHz 1GB RAM
Debian 5.0
OpenLDAP Server 2.4.11