[389-users] 389-console: tries to connect to localhost:389 instead of hostname:389

Chandan Kumar chandank.kumar at gmail.com
Tue Feb 26 21:41:38 UTC 2013


Few things to check with your 389 setup.

1. Please ensure all hostnames are FQDN4. If you don't have DNS then create
hosts file entries for those hostnames.
2. The admin console uses the /etc/dirsrv/admin/conf* . -- Mostly you don't
have to touch this file if you have used the setup-ds script.
3. The hostname MUST be resolved from your remote host.

if you are running the 389-console -a http://ldap.server.net:9830

So here the ldap.server.net MUST be defined either in your DNS server or in
your host file.

Also check whether server is running on that port "netstat -plunt"

--
http://about.me/chandank


On Tue, Feb 26, 2013 at 1:12 PM, Steffen <steffen.linux at gmx.de> wrote:

> Hi,
>
> I'm new to the 389 DS environment and this probably is some really
> stupid mistake on my side, but I can't figure it out alone.
>
> What I want: Connect to my server (Debian Wheezy) with the 389-console
> What I got: A running (and working...well partially) 389-DS (no SSL/TLS!
> ).
> What does work: I can login/access http://myservername.org:9830
> What does not work: Accessing the same site via 389-console from a
> remote host.
>
> What happens when I try to connect with '389-console -a
> http://myhostname.org:9830 -u cn=Directory Manager -w secret -D':
>
> GUI: Changes to 'Initializing' then a message appears
> "Cannot connect to the Directory Server "ldap://localhost:389.
> LDAP error: failed to connect to server ldap://localhost:389.
>
> Would you like to attempt to restart the Directory Server?"
>
> (since I know that the server is running, I'm choosing 'No' which exits
> the program)
>
> Terminal output: http://pastebin.ca/2317259
>
> Slapd-instancename/access log: http://pastebin.ca/2317260
>
> The instance's error log has no new entries.
>
> The content of admin-serv/access and admin-serv/error are only success
> messages, no real errors.
>
> If you need more informations, please ask.
>
>
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20130226/788026ba/attachment.html>


More information about the 389-users mailing list