LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2011, 11:16 AM   #1
Tragic125
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
389 Directory Server Problems


I am somewhat new to linux, and fedora especially, i'm currently trying to get a linux based active directory server build in my home. I've tried using samba,dhcpd,and the bind9 service but it wasnt wanting to work, so i did some searching and found 389ds on the fedora projects page.

Now i'm having issues setting up the directory here's the log.
Code:
[11/05/29:10:37:47] - [Setup] Info This program will set up the 389 Directory and Administration Servers.

It is recommended that you have "root" privilege to set up the software.
Tips for using this program:
  - Press "Enter" to choose the default and go to the next screen
  - Type "Control-B" then "Enter" to go back to the previous screen
  - Type "Control-C" to cancel the setup program

[11/05/29:10:37:47] - [Setup] Info Would you like to continue with set up?
[11/05/29:10:37:49] - [Setup] Info yes
[11/05/29:10:37:49] - [Setup] Info BY SETTING UP AND USING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY
AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE
LICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS
OF THIS AGREEMENT, PLEASE DO NOT SET UP OR USE THIS SOFTWARE.

[11/05/29:10:37:49] - [Setup] Info Do you agree to the license terms?
[11/05/29:10:37:50] - [Setup] Info yes
[11/05/29:10:37:50] - [Setup] Info Your system has been scanned for potential problems, missing patches,
etc.  The following output is a report of the items found that need to
be addressed before running this software in a production
environment.

389 Directory Server system tuning analysis version 10-AUGUST-2007.

NOTICE : System is i686-unknown-linux2.6.35.13-92.fc14.i686.PAE (2 processors).

NOTICE : The net.ipv4.tcp_keepalive_time is set to 7200000 milliseconds
(120 minutes).  This may cause temporary server congestion from lost
client connections.

WARNING: There are only 1024 file descriptors (hard limit) available, which
limit the number of simultaneous connections.  

WARNING: There are only 1024 file descriptors (soft limit) available, which
limit the number of simultaneous connections.  

WARNING  : The warning messages above should be reviewed before proceeding.

[11/05/29:10:37:50] - [Setup] Info Would you like to continue?
[11/05/29:10:37:52] - [Setup] Info yes
[11/05/29:10:37:52] - [Setup] Info Choose a setup type:

   1. Express
       Allows you to quickly set up the servers using the most
       common options and pre-defined defaults. Useful for quick
       evaluation of the products.

   2. Typical
       Allows you to specify common defaults and options.

   3. Custom
       Allows you to specify more advanced options. This is 
       recommended for experienced server administrators only.

To accept the default shown in brackets, press the Enter key.

[11/05/29:10:37:52] - [Setup] Info Choose a setup type
[11/05/29:10:37:54] - [Setup] Info 2
[11/05/29:10:37:54] - [Setup] Info Enter the fully qualified domain name of the computer
on which you're setting up server software. Using the form
<hostname>.<domainname>
Example: eros.example.com.

To accept the default shown in brackets, press the Enter key.

Warning: This step may take a few minutes if your DNS servers
can not be reached or if DNS is not configured correctly.  If
you would rather not wait, hit Ctrl-C and run this program again
with the following command line option to specify the hostname:

    General.FullMachineName=your.hostname.domain.name

[11/05/29:10:37:54] - [Setup] Info Computer name
[11/05/29:10:37:55] - [Setup] Info ts-srv-fed1.localdomain
[11/05/29:10:37:55] - [Setup] Info 
WARNING: There are problems with the hostname.
Hostname 'ts-srv-fed1.localdomain' is valid, but none of the IP addresses
resolve back to ts-srv-fed1.localdomain
- address 204.232.137.207 resolves to host 

Please check the spelling of the hostname and/or your network configuration.
If you proceed with this hostname, you may encounter problems.

Do you want to proceed with hostname 'ts-srv-fed1.localdomain'?
[11/05/29:10:37:57] - [Setup] Info yes
[11/05/29:10:37:57] - [Setup] Info The servers must run as a specific user in a specific group.
It is strongly recommended that this user should have no privileges
on the computer (i.e. a non-root user).  The setup procedure
will give this user/group some permissions in specific paths/files
to perform server-specific operations.

If you have not yet created a user and group for the servers,
create this user and group using your native operating
system utilities.

[11/05/29:10:37:57] - [Setup] Info System User
[11/05/29:10:37:58] - [Setup] Info nobody
[11/05/29:10:37:58] - [Setup] Info System Group
[11/05/29:10:37:58] - [Setup] Info nobody
[11/05/29:10:37:58] - [Setup] Info Server information is stored in the configuration directory server.
This information is used by the console and administration server to
configure and manage your servers.  If you have already set up a
configuration directory server, you should register any servers you
set up or create with the configuration server.  To do so, the
following information about the configuration server is required: the
fully qualified host name of the form
<hostname>.<domainname>(e.g. hostname.example.com), the port number
(default 389), the suffix, the DN and password of a user having
permission to write the configuration information, usually the
configuration directory administrator, and if you are using security
(TLS/SSL).  If you are using TLS/SSL, specify the TLS/SSL (LDAPS) port
number (default 636) instead of the regular LDAP port number, and
provide the CA certificate (in PEM/ASCII format).

If you do not yet have a configuration directory server, enter 'No' to
be prompted to set up one.

[11/05/29:10:37:58] - [Setup] Info Do you want to register this software with an existing
configuration directory server?
[11/05/29:10:38:01] - [Setup] Info no
[11/05/29:10:38:01] - [Setup] Info Please enter the administrator ID for the configuration directory
server.  This is the ID typically used to log in to the console.  You
will also be prompted for the password.

[11/05/29:10:38:01] - [Setup] Info Configuration directory server
administrator ID
[11/05/29:10:38:02] - [Setup] Info admin
[11/05/29:10:38:02] - [Setup] Info Password
[11/05/29:10:38:05] - [Setup] Info Password (confirm)
[11/05/29:10:38:09] - [Setup] Info The information stored in the configuration directory server can be
separated into different Administration Domains.  If you are managing
multiple software releases at the same time, or managing information
about multiple domains, you may use the Administration Domain to keep
them separate.

If you are not using administrative domains, press Enter to select the
default.  Otherwise, enter some descriptive, unique name for the
administration domain, such as the name of the organization
responsible for managing the domain.

[11/05/29:10:38:09] - [Setup] Info Administration Domain
[11/05/29:10:38:11] - [Setup] Info localdomain
[11/05/29:10:38:11] - [Setup] Info The standard directory server network port number is 389.  However, if
you are not logged as the superuser, or port 389 is in use, the
default value will be a random unused port number greater than 1024.
If you want to use port 389, make sure that you are logged in as the
superuser, that port 389 is not in use.

[11/05/29:10:38:11] - [Setup] Info Directory server network port
[11/05/29:10:38:12] - [Setup] Info 13928
[11/05/29:10:38:12] - [Setup] Info Each instance of a directory server requires a unique identifier.
This identifier is used to name the various
instance specific files and directories in the file system,
as well as for other uses as a server instance identifier.

[11/05/29:10:38:12] - [Setup] Info Directory server identifier
[11/05/29:10:38:13] - [Setup] Info ts-srv-fed1
[11/05/29:10:38:13] - [Setup] Info The suffix is the root of your directory tree.  The suffix must be a valid DN.
It is recommended that you use the dc=domaincomponent suffix convention.
For example, if your domain is example.com,
you should use dc=example,dc=com for your suffix.
Setup will create this initial suffix for you,
but you may have more than one suffix.
Use the directory server utilities to create additional suffixes.

[11/05/29:10:38:13] - [Setup] Info Suffix
[11/05/29:10:38:15] - [Setup] Info dc=localdomain
[11/05/29:10:38:15] - [Setup] Info Certain directory server operations require an administrative user.
This user is referred to as the Directory Manager and typically has a
bind Distinguished Name (DN) of cn=Directory Manager.
You will also be prompted for the password for this user.  The password must
be at least 8 characters long, and contain no spaces.
Press Control-B or type the word "back", then Enter to back up and start over.

[11/05/29:10:38:15] - [Setup] Info Directory Manager DN
[11/05/29:10:38:15] - [Setup] Info cn=Directory Manager
[11/05/29:10:38:15] - [Setup] Info Password
[11/05/29:10:38:20] - [Setup] Info Password (confirm)
[11/05/29:10:38:23] - [Setup] Info The Administration Server is separate from any of your web or application
servers since it listens to a different port and access to it is
restricted.

Pick a port number between 1024 and 65535 to run your Administration
Server on. You should NOT use a port number which you plan to
run a web or application server on, rather, select a number which you
will remember and which will not be used for anything else.

[11/05/29:10:38:23] - [Setup] Info Administration port
[11/05/29:10:38:24] - [Setup] Info 9830
[11/05/29:10:38:24] - [Setup] Info The interactive phase is complete.  The script will now set up your
servers.  Enter No or go Back if you want to change something.

[11/05/29:10:38:24] - [Setup] Info Are you ready to set up your servers?
[11/05/29:10:38:26] - [Setup] Info yes
[11/05/29:10:38:26] - [Setup] Info Creating directory server . . .
Warning: Hostname ts-srv-fed1.localdomain is valid, but none of the IP addresses
resolve back to ts-srv-fed1.localdomain
	address 204.232.137.207 resolves to host 
[11/05/29:10:40:15] - [Setup] Info Your new DS instance 'ts-srv-fed1' was successfully created.
[11/05/29:10:40:15] - [Setup] Info Creating the configuration directory server . . .
[11/05/29:10:43:24] - [Setup] Fatal Error: failed to open an LDAP connection to host 'ts-srv-fed1.localdomain' port '13928' as user 'cn=Directory Manager'.  Error: unknown.
[11/05/29:10:43:24] - [Setup] Fatal Failed to create the configuration directory server
[11/05/29:10:43:24] - [Setup] Fatal Exiting . . .
Log file is '/tmp/setup9obDLi.log'
Any help is much appreciated
 
Old 05-29-2011, 12:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Nothing to do with networking. Moved to Linux - server
 
Old 05-29-2011, 04:53 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Warning: Hostname ts-srv-fed1.localdomain is valid, but none of the IP addresses
resolve back to ts-srv-fed1.localdomain
address 204.232.137.207 resolves to host

I'd suggest making the DNS work if you wish hit the box by name. That seems like a good explanation for that error. what do th elogs say about the connection attempt? Are there processes listening on the port you expect?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
389 Directory Server cnu80 Linux - Server 1 05-18-2011 04:50 PM
389 Directory Server on CentOS 5.5 rhbegin Linux - Server 4 02-04-2011 01:19 PM
[SOLVED] 389 Directory Server Installation ...... shashank07 Linux - Newbie 6 08-13-2010 01:34 PM
Please Help.!! 389 Directory server. rajeev_rattra Linux - Server 9 07-07-2010 10:17 AM
389 Directory: Possible to selfservice? Swakoo Linux - Server 6 07-01-2010 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration