This is the stacktrace I get when I try to connect to the apacheds server
- Connection refused: connect (<IP_OF_SERVER_HIDDEN>:389)
javax.naming.CommunicationException: <IP_OF_SERVER_HIDDEN>:389 [Root
exception
is java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.ldap.InitialLdapContext.<init>(Unknown Source)
at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$6.run(JNDIConnectionWrapper.java:872)
at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doConnect(JNDIConnectionWrapper.java:914)
at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.connect(JNDIConnectionWrapper.java:209)
at
org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)
at
org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)
... 20 more
________________________________
From: Styssi Slater <[email protected]>
To: [email protected]; [email protected]
Sent: Fri, January 7, 2011 9:29:46 PM
Subject: Re: Can't Start ApachedDS 1.5.7 on Ubuntu 8.04 64bit
Yes that was a typo.
I first uninstalled the 64 bit version by deleting the following files and
directories
/var/lib/apacheds-1.5.7
/etc/apacheds-1.5.7
/etc/init.d/apacheds-1.5.7-default
Is there sth. else I have to do for deinstallation? Is there an easier way to
do
this?
Then I installed the 32 bit version in the same way I installed the 64bit
version.
Starting the server does not throw an error message.
I have problems to make a connection to the ldap server from my client. Now I
don't know if this is because of the 32bit version or because I enter the wrong
parameters. I set the client to port 389 and also tried port 10389 and I set
the
client to no_encryption. Are these the basic values after installation?
Thanks for your help so far. Looks like we solved the first problem. Since the
server at least starts now.
________________________________
From: Emmanuel Lecharny <[email protected]>
To: [email protected]
Sent: Fri, January 7, 2011 8:04:32 PM
Subject: Re: Can't Start ApachedDS 1.5.7 on Ubuntu 8.04 64bit
On 1/7/11 4:05 PM, Tobias Huber wrote:
> Hi,
>
>
>
> I just installed the apacheDS 1.5.7 the following way
>
>
>
> 1. Download apacheds.bin for 64 bit Linux system
>
>
>
> 2. Changed the permissions of the file as follows.
>
> chmod u+x apacheds-1.5.7-x86_64.bin
>
>
>
> 3. Change to root and run the installer as follows.
>
> ./apacheds-1.5.5-x86_64.bin
Is that a typo ??? (I guess so).
Can you also try installing the 32 bits version ?
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com