Results 1 to 10 of 25
I have successfuly installed, eDirectory on SLES 10, having ip 192.168.1.101, then create a tree, as:
#ndsconfig new -t mytree -n o=myorg -a cn=admin.myorg
Its working fine.
Prblm is that, ...
- 03-15-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
error.. config additional eDir server, in an existing Tree
I have successfuly installed, eDirectory on SLES 10, having ip 192.168.1.101, then create a tree, as:
#ndsconfig new -t mytree -n o=myorg -a cn=admin.myorg
Its working fine.
Prblm is that, I want to add an additional server, in the tree MYTREE.. so I prepared another machine, install sles 10(IP 192.168.1.102), then install eDirectory 8.8... and then
#ndsconfig add -t mytree -n o=myorg -a cn=admin.myorg
.
.
.
Configuring the LDAP interfaces... Done
Configuring the HTTP interfaces... Done
Starting the service 'ndsd'... Done.
Configuring Novell eDirectory server with following parameters
Admin name = cn=admin.myorg
Tree name = mytree
Server Context = o=myorg
DIB location = /var/opt/myorg/eDirectory/data/dib
Searching for the Tree "MYTREE" in the network. Please wait...
The given tree does not exist.
Verify the existence of the treename using slpinfo or specify IP address to configure.
Stopping the service 'ndsd'... Done.
Plz help
Regards
- 03-15-2007 #2
IP address
Try using the ip address of the server instead of the tree name. If there is no dns server no name resolution for the tree can be done.
ndsconfig add -t [ipaddress] -n o=myorg -a cn=admin.myorg
Is edir up and running on the first server?
cd /opt/novell/eDirectory/bin/
then execute
./ndsstat
Regards
- 03-15-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
Invalid tree name, when provide IP
Thanks Dear ch@meleon for help/reply
yes eDir is up and running on first server(192.168.1.101)
# /opt/novell/eDirectory/bin/ndsstat
[1] Instance at /etc/opt/novell/eDirectory/conf/nds.conf: srv1.O=myorg.MYTREE
Tree Name: MYTREE
Server Name: .CN=srv1.O=myorg.T=MYTREE
Binary Version: 20112.91
Root Most Entry Depth: 0
Product Version: eDirectory for Linux v8.8 [DS]
now on second(additional server, ip 192.168.1.102), as per your instruction, I provide first eDir server IP, instead of tree name
ndsconfig add -t 192.168.1.101 -n o=myorg -a cn=admin.myorg
Enter the password for cn=admin.myorg
Enter in tree name 192.168.1.101:Invalid treename....
Plz help
I just have config a dns zone, name myorg.mytree
#host srv1.myorg.mytree
srv1.myorg.mytree has address 19.168.1.101
#host srv2.myorg.mytree
srv2.myorg.mytree has address 19.168.1.102
Now plz suggest me what else I should do to add the eDir specific records.
- 03-15-2007 #4
Servera settings
Check for the obvious....
Can you ping servera from serverb?
Change your FDN for admin to read cn=admin.o=myorg
Is there a firewall enabled on servera? This could cause serverb not to see server a. You will need to open port 524 I believe but since this is for testing you can disable the firewall all together on servera because your will soon need other ports open for imanager, imonitor etc.
Give this a go and let me know.
Regards
- 03-15-2007 #5Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
i reply you within an hour
- 03-15-2007 #6
config of edir
Okay....
Let me get your scenario right.
You have one server that has edir running and configured...(lets call this servera)....This is where you ran the ndsconfig new command to setup an edir tree....(If edir is up and running on this server, you have to get a pid)
run
ps -ax ...( you should see a process for ndsd)
You need to add an additional server to join into the currently installed edir tree....(lets call this serverb)...This is where you ran the ndsconfig add command...(This is where you get the error cannot find tree)...No pid will be created here because edir is not up and running....(This is where you will be doing the troubleshooting steps from)
From my understanding your srv1(servera) is your master edir server and srv2(serverb) is your second server.
If you look at the output from the other thread it clearly shows srv2 as the host you are querying for the pid file....but as I said you won't find a pid file here because edir is not started on this server.
Gees that was a mouthful!!! Please verify that I have your scenario correct as it will make it easier to troubleshoot your issues....(is the other issue independent from this one?)
regards
- 03-16-2007 #7Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
your are right...100%.
Master eDir server is working fine.
On Master server(srv1 or servera)
I ran "ndsconfig new" command to setup an edir tree
#ps ax |grep ndsd
3522 ? Sl 0:00 //opt/novell/eDirectory/sbin/ndsd
and also on Master Server:
#ndsstat
[1] Instance at /etc/opt/novell/eDirectory/conf/nds.conf: srv1.O=myorg.MYTREE
Tree Name: MYTREE
Server Name: .CN=srv1.O=myorg.T=MYTREE
Binary Version: 20112.91
Root Most Entry Depth: 0
Product Version: eDirectory for Linux v8.8 [DS]
>You need to add an additional server to join into the currently installed edir tree...(lets >call this serverb)...This is where you ran the ndsconfig add command...(This is where >you get the error cannot find tree)...No pid will be created here because edir is not up >and running....(This is where you will be doing the troubleshooting steps from)
YES... you are right
- 03-16-2007 #8
Hi Needee
Did you disable the firewall on servera?...Then try installing edir again on serverb.
- 03-17-2007 #9Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
firewall is off, on both servers, and i can ping, servera from serverb, and vice versa
- 03-18-2007 #10
did you try reinstalling edir on serverb? If you did and you still get the cannot connect to tree error could you please have a look at the log files in /var/opt/novell/eDirectory/logs to give us a better indication of whats going on.


Reply With Quote