java error when trying type 13 sync with openLdap

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

pstrauss

java error when trying type 13 sync with openLdap

Postby pstrauss » Mon May 22, 2006 10:37 am

when trying a type 13 sync with my samba-ldap populated directory, I got this:

INPUT: Please enter an option (0):1
2006-05-22 15:52:35 STATUS: Configuration of testsamba2 started ########
INPUT: Edit config file now y/n (n):y
INPUT: Use vi to edit y/n (n):y
INPUT: Compare old config to new y/n (n):n
INPUT: Replace old config with new y/n (?):y
2006-05-22 15:53:06 STATUS: renamed old sync.cfg to sync.last
2006-05-22 15:53:06 STATUS: installed updated config sync.cfg
INPUT: Attempt to test data extraction now y/n (n):y
INPUT: please enter password for IM_CAA_PASS=
2006-05-22 15:53:12 INFO: test searching from 192.168.1.101 ...
2006-05-22 15:53:12 INFO: search base is dc=intra,dc=goelaan,dc=ch
2006-05-22 15:53:12 INFO: ... test searched OK.
2006-05-22 15:53:12 INFO: test listing servers from
http://local_server.your_domain.com:8080/caa/ ...
--------> Sending SOAP Request to
Ubermanager@http://local_server.your_domain.com:8080/caa/ for
method:GetServersList
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>GetServersList</FunctionName>
<Credentials id="12345">
<Identity name="sxadmin@scalixtest.intra.goelaan.ch"
passwd="xxxxxxxx"/>
</Credentials>
<ScalixServers/>
<GetServersListParameters/>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
com.sun.xml.messaging.saaj.util.JaxmURI$MalformedURIException: Host is not a
well formed address!
at com.sun.xml.messaging.saaj.util.JaxmURI.setHost(JaxmURI.java:921)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initializeAuthority(JaxmURI.java:596)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initialize(JaxmURI.java:373)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:167)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:151)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:194)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
May 22, 2006 3:53:13 PM
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0009: Message send failed
java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.util.JaxmURI$MalformedURIException: Host
is not a well formed address!
at com.sun.xml.messaging.saaj.util.JaxmURI.setHost(JaxmURI.java:921)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initializeAuthority(JaxmURI.java:596)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initialize(JaxmURI.java:373)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:167)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:151)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:194)
... 5 more
com.sun.xml.messaging.saaj.SOAPExceptionImpl:
java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:128)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 2 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.util.JaxmURI$MalformedURIException: Host
is not a well formed address!
at com.sun.xml.messaging.saaj.util.JaxmURI.setHost(JaxmURI.java:921)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initializeAuthority(JaxmURI.java:596)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initialize(JaxmURI.java:373)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:167)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:151)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:194)
... 5 more

CAUSE:

java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.util.JaxmURI$MalformedURIException: Host
is not a well formed address!
at com.sun.xml.messaging.saaj.util.JaxmURI.setHost(JaxmURI.java:921)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initializeAuthority(JaxmURI.java:596)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initialize(JaxmURI.java:373)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:167)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:151)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:194)
... 5 more

CAUSE:

java.security.PrivilegedActionException:
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: com.sun.xml.messaging.saaj.util.JaxmURI$MalformedURIException: Host
is not a well formed address!
at com.sun.xml.messaging.saaj.util.JaxmURI.setHost(JaxmURI.java:921)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initializeAuthority(JaxmURI.java:596)
at
com.sun.xml.messaging.saaj.util.JaxmURI.initialize(JaxmURI.java:373)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:167)
at com.sun.xml.messaging.saaj.util.JaxmURI.<init>(JaxmURI.java:151)
at
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:194)
... 5 more
2006-05-22 15:53:13 ERROR: failed to run omldapagent
2006-05-22 15:53:13 STATUS: Configuration of testsamba2 failed, error=2
###########

pstrauss

oops I forgot one config parameter, but...

Postby pstrauss » Mon May 22, 2006 10:48 am

I forgot to set correctly a parameter in my previous post.

But now I got this one:

INPUT: Attempt to test data extraction now y/n (n):y
INPUT: please enter password for IM_CAA_PASS=
2006-05-22 16:41:12 INFO: test searching from 192.168.1.101 ...
2006-05-22 16:41:12 INFO: search base is dc=intra,dc=goelaan,dc=ch
2006-05-22 16:41:12 INFO: ... test searched OK.
2006-05-22 16:41:12 INFO: test listing servers from http://localhost:8080/caa/ ...
--------> Sending SOAP Request to Ubermanager@http://localhost:8080/caa/ for method:GetServersList
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>GetServersList</FunctionName>
<Credentials id="12345">
<Identity name="sxadmin@scalixtest.intra.goelaan.ch" passwd="xxxxxxxx"/>
</Credentials>
<ScalixServers/>
<GetServersListParameters/>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
java.net.SocketException: Unexpected end of file from server
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:293)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:273)
... 5 more
May 22, 2006 4:41:14 PM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0009: Message send failed
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:293)
... 5 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:273)
... 5 more
com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:128)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 2 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:293)
... 5 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:273)
... 5 more

CAUSE:

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:293)
... 5 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:273)
... 5 more

CAUSE:

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at com.scalix.ldapsync.LdapAgent.sendAndReceive(Unknown Source)
at com.scalix.ldapsync.LdapAgent.main(Unknown Source)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:308)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
... 4 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:293)
... 5 more
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:273)
... 5 more
2006-05-22 16:41:14 ERROR: failed to run omldapagent
2006-05-22 16:41:14 STATUS: Configuration of testsamba2 failed, error=2 ###########

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon May 22, 2006 11:09 am

You don't need :8080 in your URL.

Cheers

Dave

pstrauss

OpenLDAP import error

Postby pstrauss » Tue May 23, 2006 10:23 am

Now I have this one:

INPUT: Please enter an option (0):2
INPUT: please enter password for IM_CAA_PASS=
2006-05-23 15:41:59 STATUS: LDAP dir sync import testsamba2 started
###############
2006-05-23 15:41:59 STATUS: load all records from 192.168.1.101 ...
2006-05-23 15:42:00 INFO: work dir is /var/opt/scalix/ldapsync/tests
amba2/import
2006-05-23 15:42:00 STATUS: search source directory on 192.168.1.101
...
2006-05-23 15:42:00 INFO: search base is dc=intra,dc=goelaan,dc=ch
2006-05-23 15:42:00 INFO: ... 2 entries to check
2006-05-23 15:42:00 STATUS: find delta and perform mapping ...
2006-05-23 15:42:00 INFO: ... 0 entries to delete
2006-05-23 15:42:01 INFO: ... 2 entries to add
2006-05-23 15:42:01 INFO: ... 0 entries to modify
2006-05-23 15:42:01 STATUS: apply membdelete data against Scalix ...
2006-05-23 15:42:01 INFO: ... 0 entries passed for member.curr
2006-05-23 15:42:01 INFO: ... 0 entries failed for member.curr
2006-05-23 15:42:01 INFO: ... 0 entries warned for member.curr
2006-05-23 15:42:01 STATUS: apply delete data against Scalix ...
2006-05-23 15:42:01 INFO: ... 0 entries passed for delete.curr
2006-05-23 15:42:01 INFO: ... 0 entries failed for delete.curr
2006-05-23 15:42:01 INFO: ... 0 entries warned for delete.curr
2006-05-23 15:42:01 STATUS: apply add data against Scalix ...
--------> Sending SOAP Request to Ubermanager@http://scalixtest.intr
a.goelaan.ch/caa/ for method:AddUser
--------> Received SOAP Response from Ubermanager@http://scalixtest.
intra.goelaan.ch/caa/
error: Response contains failure report
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e
nvelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.s
calix.com/caa">
<ServiceType>scalix.res</ServiceType>
<Credentials id="12345">
<Identity name="sxadmin@scalixtest.intra.goelaan.ch"
passwd="xxxxxxxx"/>
</Credentials>
<FunctionName>AddUser</FunctionName>
<AddUserParameters>
<user type="MAIL"/>
<mailNode name="ou1,ou2"/>
<userAttributes>
<entity name="FOREIGN-ADDR" value="cn=testuser s
calix,dc=intra,dc=goelaan,dc=ch"/>
<entity name="CN" value="Testuser Scalix"/>
<entity name="S" value="Scalix"/>
<entity name="INTERNET-ADDR" value="testuser@sca
lixtest.intra.goelaan.ch"/>
<entity name="UL-IL" value="ENGLISH"/>
<entity name="GLOBAL-UNIQUE-ID" value="a96e357e-
7dc3-102a-9304-e9fa1df1d1c0"/>
<entity name="ADMIN" value="TRUE"/>
<entity name="MBOXADMIN" value="FALSE"/>
</userAttributes>
</AddUserParameters>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
>>>>>>>>SOAP Response
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e
nvelope/">
<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://w
ww.scalix.com/caa">
<message>Failed to obtain server name for mailno
de ou1,ou2</message>
<errorcode>UM-1007</errorcode>
</scalix-caa:fault-details>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed
0 entries warned
2006-05-23 15:42:03 ERROR: failed to run omldapagent
--------> Sending SOAP Request to Ubermanager@http://scalixtest.intr
a.goelaan.ch/caa/ for method:AddGroup
--------> Received SOAP Response from Ubermanager@http://scalixtest.
intra.goelaan.ch/caa/
error: Response contains failure report
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e
nvelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.s
calix.com/caa">
<ServiceType>scalix.res</ServiceType>
<Credentials id="12345">
passwd="xxxxxxxx"/>
</Credentials>
<FunctionName>AddGroup</FunctionName>
<AddGroupParameters>
<user type="MAIL"/>
<mailNode name="ou1,ou2"/>
<userAttributes>
<entity name="FOREIGN-ADDR" value="cn=testgroup
scalix,dc=intra,dc=goelaan,dc=ch"/>
<entity name="S" value="testgroup scalix"/>
<entity name="CN" value="Testgroup Scalix"/>
<entity name="INTERNET-ADDR" value="testgroup@sc
alixtest.intra.goelaan.ch"/>
<entity name="GLOBAL-UNIQUE-ID" value="a987b166-
7dc3-102a-9305-e9fa1df1d1c0"/>
</userAttributes>
</AddGroupParameters>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
>>>>>>>>SOAP Response
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e
nvelope/">
<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://w
ww.scalix.com/caa">
<message>Failed to obtain server name for mailno
de ou1,ou2</message>
<errorcode>UM-1007</errorcode>
</scalix-caa:fault-details>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed
0 entries warned
2006-05-23 15:42:03 ERROR: failed to run omldapagent
2006-05-23 15:42:04 INFO: ... 0 entries passed for add.curr
2006-05-23 15:42:04 INFO: ... 2 entries failed for add.curr
2006-05-23 15:42:04 INFO: ... 0 entries warned for add.curr
2006-05-23 15:42:04 STATUS: apply limit data against Scalix ...
2006-05-23 15:42:04 INFO: ... 0 entries passed for add.curr
2006-05-23 15:42:04 INFO: ... 0 entries failed for add.curr
2006-05-23 15:42:04 INFO: ... 0 entries warned for add.curr
2006-05-23 15:42:04 STATUS: apply modify data against Scalix ...
2006-05-23 15:42:04 INFO: ... 0 entries passed for modify.curr
2006-05-23 15:42:04 INFO: ... 0 entries failed for modify.curr
2006-05-23 15:42:04 INFO: ... 0 entries warned for modify.curr
2006-05-23 15:42:04 STATUS: apply limit data against Scalix ...
2006-05-23 15:42:04 INFO: ... 0 entries passed for modify.curr
2006-05-23 15:42:04 INFO: ... 0 entries failed for modify.curr
2006-05-23 15:42:04 INFO: ... 0 entries passed for modify.curr
2006-05-23 15:42:04 INFO: ... 0 entries failed for modify.curr
2006-05-23 15:42:04 INFO: ... 0 entries warned for modify.curr
2006-05-23 15:42:04 STATUS: apply membadd data against Scalix ...
--------> Sending SOAP Request to Ubermanager@http://scalixtest.intr
a.goelaan.ch/caa/ for method:AddMembersToGroup
--------> Received SOAP Response from Ubermanager@http://scalixtest.
intra.goelaan.ch/caa/
error: Response contains failure report
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e
nvelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.s
calix.com/caa">
<ServiceType>scalix.res</ServiceType>
<Credentials id="12345">
<Identity name="sxadmin@scalixtest.intra.goelaan.ch"
passwd="xxxxxxxx"/>
</Credentials>
<FunctionName>AddMembersToGroup</FunctionName>
<AddMembersToGroupParameters id="a987b166-7dc3-102a-9305
-e9fa1df1d1c0">
<member fa="cn=testuser scalix,dc=intra,dc=goelaan,d
c=ch"/>
</AddMembersToGroupParameters>
</scalix-caa:CAARequestMessage>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
>>>>>>>>SOAP Response
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e
nvelope/">
<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://w
ww.scalix.com/caa">
<message>Failed to locate or retrieve informatio
n in LDAP for id a987b166-7dc3-102a-9305-e9fa1df1d1c0</message>
<errorcode>UM-1015</errorcode>
</scalix-caa:fault-details>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed
0 entries warned
2006-05-23 15:42:05 ERROR: failed to run omldapagent
2006-05-23 15:42:05 INFO: ... 0 entries passed for member.curr
2006-05-23 15:42:05 INFO: ... 1 entries failed for member.curr
2006-05-23 15:42:06 INFO: ... 0 entries warned for member.curr
2006-05-23 15:42:06 STATUS: apply membmodify data against Scalix ...
2006-05-23 15:42:06 INFO: ... 0 entries passed for member.curr
2006-05-23 15:42:06 INFO: ... 0 entries failed for member.curr
2006-05-23 15:42:06 INFO: ... 0 entries warned for member.curr
2006-05-23 15:42:06 STATUS: LDAP dir sync import failed, error=2 ###
########
2006-05-23 15:42:06 STATUS: LDAP dir sync export testsamba2 started
###############
2006-05-23 15:42:06 STATUS: load all records from scalixtest.intra.g
oelaan.ch ...
2006-05-23 15:42:06 INFO: agreement type 13 only supports import ope
ration
2006-05-23 15:42:06 STATUS: LDAP dir sync export testsamba2 completed

running omshowmnmp gives me:
[OM 5706] Unable to display mailnode mapping file

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue May 23, 2006 10:41 am

Have you edited the output of this as it looks like you´ve specified your mailnode in the mapping file as ou1,ou2 instead of your genuine mailnode.

Cheers

Dave

pstrauss

Postby pstrauss » Tue May 23, 2006 10:51 am

No it's unedited!

pstrauss

Postby pstrauss » Tue May 23, 2006 10:56 am

It comes from the LDAP schema, here are the test entry I used until
now:

dn: cn=testuser scalix,dc=intra,dc=goelaan,dc=ch
objectClass: inetOrgPerson
cn: testuser scalix
displayName: Testuser Scalix
sn: Scalix
mail: testuser@scalixtest.intra.goelaan.ch
objectClass: exScalixClass
exScalixObject: TRUE
exScalixMailnode: ou1,ou2
exScalixMsglang: ENGLISH
exScalixAdmin: TRUE
exScalixMboxadmin: FALSE

dn: cn=testgroup scalix,dc=intra,dc=goelaan,dc=ch
objectClass: groupOfNames
cn: testgroup scalix
member: cn=testuser scalix,dc=intra,dc=goelaan,dc=ch
objectClass: exScalixClass
exScalixObject: TRUE
exScalixMailnode: ou1,ou2
displayName: Testgroup Scalix
mail: testgroup@scalixtest.intra.goelaan.ch

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Tue May 23, 2006 11:16 am

Hi pstrauss can you post your sync.cfg file?

pstrauss

Postby pstrauss » Tue May 23, 2006 11:28 am

fixing the mailnode attribute, it finally works! thanks.

dn: cn=testuser scalix,dc=intra,dc=goelaan,dc=ch
objectClass: inetOrgPerson
cn: testuser scalix
displayName: Testuser Scalix
sn: Scalix
mail: testuser@scalixtest.intra.goelaan.ch
objectClass: exScalixClass
exScalixObject: TRUE
exScalixMailnode: scalixtest,intra
exScalixMsglang: ENGLISH
exScalixAdmin: TRUE
exScalixMboxadmin: FALSE

dn: cn=testgroup scalix,dc=intra,dc=goelaan,dc=ch
objectClass: groupOfNames
cn: testgroup scalix
member: cn=testuser scalix,dc=intra,dc=goelaan,dc=ch
objectClass: exScalixClass
exScalixObject: TRUE
exScalixMailnode: scalixtest,intra
displayName: Testgroup Scalix
mail: testgroup@scalixtest.intra.goelaan.ch


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests