Perhaps remove the '-t TESTTREE' part. You shouldn't need it, I don't
think, if you are specifying the IP address and port where you are
joining. Also have you tried ndsmanage? Finally, is there a reason you
are specifying your instance and DIB directories in /opt/ instead of
/var/opt/ ?
Good luck.
caiblack wrote:
> I am trying to add an edir 8.8.5 server to an existing tree that is all
> 8.8.1. We are building a test environment as follows:
>
>
> Code:
> --------------------
>
> TESTTREE
> |
> +- o=IDV
> |
> +- cn=admin
> |
> +- ou=SERVICES
> |
> +- *oldserver* (192.168.40.69)
> |
> +- ou=SERVERS
> |
> +- *newserver* (192.168.40.70)
>
> --------------------
>
>
> Here is the ndsconfig command that I am running in our test
> environment:
>
>
> Code:
> --------------------
>
> ndsconfig add -e -p 192.168.40.69:524 -t TESTTREE -S newserver -n ou=servers.ou=services.o=idv -a cn=admin.o=idv -w novell -b 524 -d /opt/novell/eDirectory/instances/TESTTREE/data/dib -D /opt/novell/eDirectory/instances/TESTTREE --config-file /opt/novell/eDirectory/instances/TESTTREE/nds.conf
>
> --------------------
>
>
> The output of ndsconfig is as follows:
>
>
> Code:
> --------------------
>
> Configuring the NDAP interfaces... Done
> Configuring the HTTP interfaces... Done
> Configuring the LDAP interfaces... Done
>
> Configuring Novell eDirectory server with the following parameters, Please wait...
> Tree Name : TESTTREE
> Server DN : newserver.ou=servers.ou=services.o=idv
> Admin DN : cn=admin.o=idv
> NCP Interface(s) : 192.168.40.70@524
> HTTP Interface(s) : 192.168.40.70@8028
> HTTPS Interface(s) : 192.168.40.70@8030
> LDAP TCP Port : 389
> LDAP TLS Port : 636
> LDAP TLS Required : No
> Remote Server Address : 192.168.40.69:524
>
> Configuration File : /opt/novell/eDirectory/instances/TESTTREE/nds.conf
> Instance Location : /opt/novell/eDirectory/instances/TESTTREE/data
> DIB Location : /opt/novell/eDirectory/instances/TESTTREE/data/dib
>
>
> *ERROR: Unable to get host IP address.*
>
> --------------------
>
>
> I am able to successfully connect to 192.168.40.69 using ssh, scp, and
> telnet (to port 524). So, does anyone have a clue as to the issue here?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKOr5PAAoJEF+XTK08PnB5N1oP/j7Q7TNyz3mI0D3h0UXvw+l0
H9hBKr5rb/I7ycQylT9iY6vNk2/vKZw1lcSEhmi/xZX5KHl5R/AcZ/uHKA++Isyc
Bpj3Z84vJEJX1Gsp/Ct9DqFts8BzYwd/wq8WSMZTW2OQcraBnt6srOZbhezV8c6z
2U6fGqaMpIsFQas6mH5lvYQtVbzlpxHGeSSVGJoyWd/k90aG5o1kdw9+ju+Is9xt
olQbZ2LcVF3UvdaAFNkAzu78FPI3mspbLDC+1s95/dD4HohR1lw1tRIb8CbpE7Gl
NaDInIqekd6DSUx1Nix/8NQSZxYPE+6WOwVPwnd3VXjM3E4UcKRohJnMiokuawIT
IAG2JRe8dznCw6Xafr/SeC+HfUO3CWxkslWCKAFCONynzQA2gd1IsLmUcVnA190J
+uI/3x+yWXUz79Lk72dvASLCCgKaHZ5RDg9UB3VMSLboLHPyPbGdZU2z9EqmmuJ7
5dtEt2Z7C6Umij4nsoleNUH6AlzwJofsotBJCSJU/rigNTnpjJKy+E07+Q3RCwtt
75k+b3b9Wy+8rCeU6Zwc0C0/KqKRJuYtJFJe9f82IAC0duxyOc0GGNUMLemLgBUY
aQMzjvunqn3P3uk7RuJvXzAvFv+GrsoUxcaxeqa9/lyphlnREq5vwhfgUQTH3sHQ
bulCiSwVAu9670aHBIw0
=TpuI
-----END PGP SIGNATURE-----
The tree part wouldn't surprise me just in case something was trying to
resolve it via SLP or something else that could be broken.
ndsmanage is a nicer way to do it and may end up prompting you for the
tree name as well. It's definitely nicer for the less-experienced, which
would exclude you based on that one criterion, but you may find it useful
for other things as well if you do not use it already.
Yes, the path does not matter I am sure, but *nix convention is to not put
the DIB in /opt and is also to put VARiable files in /var and is generally
a good idea.
Good luck.
caiblack wrote:
> a...@novell.com;1811328 Wrote:
>> Perhaps remove the '-t TESTTREE' part. You shouldn't need it, I don't
>> think, if you are specifying the IP address and port where you are
>> joining.
>
>
> I just got myself into the habit of using that option when installing
> on Linux, since multiple instances can be installed on one server. If
> this is causing the error then I would be stunned. I use this option
> all of the time, and I have never seen this error.
>
> a...@novell.com;1811328 Wrote:
>> Also have you tried ndsmanage?
>>
>
>
> Not in this case. What do you recommend?
>
> a...@novell.com;1811328 Wrote:
>> Finally, is there a reason you are specifying your instance and DIB
>> directories in /opt/ instead of /var/opt/ ?
>>
>
>
> Again, another habit. This *shouldn't* matter, since the installation
> location is contained in the nds.conf file.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKOsyLAAoJEF+XTK08PnB5DVUQAKecrDy8jiGdjCySDPkEydEi
QSXxov0Iqb44NrGArs0EqS6YvMasFtKuNEjlLwRM23/45rAFbThh/5oLEsRl3EAv
gSfkD3MF1bllyUsWUQ9/8XhIX1p2R0/zM6YRy0+t4KezeVQyULWgqAboCURcV7Ma
7gPITVdAQBsxm/ILoyR2FSUafEMBOkJpm8Oc/vkCgVMpqQHImQ/kiL1ZyxQN+Ek5
d+RsAXiU+kdwRaY8AgskmelPNhpZgYikjXrm2J//6sXFhQe/jW/sF1Tii+wFMvs4
YXqKnsTHgcI9wc/+iI67UtnKkZwh15gcnwxcuNNspKr8AB5pip71abCRgv5WzEMb
N04x7/IbGBLQCg2IdBTxFlrYS3wfDlhG3RCD+4EUGROICUeXR+wA0Iinyb+nsqgC
pJUwAGq7wqtJrFC1iDTxMa7lRmywfuHQMvArqeoNxkmgtwloCxCK9m/8KPT8F3Ny
C4Byg8RkeHgwUclk/ztrGAFVQe1s84ZnMA4E4SAIlc3F43FBKbhfsiao77e3FD9s
UsBj5eTyqDAKhjr9OytrXxhHa3Zr7truVaeVNddP9cF2eMdDmnBt+TYGagFl043k
Aw+27V9xVS2FHo+MO225kAXhkVQPUEt1tAxriH7knJMikiHdmhdgDlXKweNT2IjX
PTIPED1eJhC0LeERrnmA
=ZFs+
-----END PGP SIGNATURE-----
Doesn't cause a problem for me, so that's strange.
ndsconfig add -n dc=server5-a.dc=server.dc=system -a
cn=admin.dc=user.dc=system -D /var/opt/novell/eDirectory/mytree0/server5-a
- -p 123.45.67.89:524 --config-file
/etc/opt/novell/eDirectory/mytree0/server5-a/conf/nds.conf
I had to press [Enter] to get through the DIB prompt and the admin
password prompt but otherwise that worked for me.
Good luck.
caiblack wrote:
> HAHAHA!!! Actually, the cause of this error is far simpler. The
> documentation is incorrect.
>
> In the docs for eDir 8.8.5 it clearly shows the DN values for the admin
> and server as typed and dotted notation, but that is incorrect. When
> Oleg Zhdan with Novell had me run simply *ndsconfig -p 192.168.40.70 -t
> TESTTREE*, and allowed it to prompt me for everything else then I could
> see that it was actually expecting plain, untyped, dotted notation (e.g:
> admin.idv).
>
> Thanks ab@novell and Oleg Zhdan for all of your help.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKPtHVAAoJEF+XTK08PnB5L4MP+gJ3RftHF+IKJSb2zFkwGVDd
mQCbg2+Uj95w/of8bB3od069H7+Kg+v9FdUkws7EvCHMbCJhOUxin3fOcZiWzX9r
KI1rA1GvuZcSVpvLSre3irYFK/xJYBNDH5nSAe402jFzL39orytmUguhvJWqt3LM
p9Co0kuwqVzVPheTHJxLDSjvOUXTteSO58jaejPWw93b1BYTQk2QS5zeTzfG+P1c
CQlJ8p1xepAxM1kQ70UIa2XHZirOlZCQ9rD5enKw9bQQrs0QNaV+x6oQVTMcPQsd
sKDm1KLndk7n6D0TTzBHKM4GW5lNjMRihRX8lcYs9y4db2aTLijDIZ0aRvV+mGqZ
eo94VDnrT8PAeneNvGmct/iBvocmAcBv2/hu+4eSypjjWrenAEQ4uOHe47vosEGC
Tkw7mRHZNtdoXHwyrNfRNdGO+sZtEkpm1Plbs7/bFeK1+Qt7huD+TdlEZpWwTER6
XGHNDmQsREI8viMuzDsgMTPYDkead7fGsLXJ5Au7O3kbhmBfLdobDp0mY1tbxpF2
5bF7hCcL1NkmT94xmcvPf9g4b916b31czwbew7RLBiyGYjVWfV6+ikbjw7RMhZy6
GQLK+POpGi6BBgrZ3mj0gslQyHtWUoaw9DSchMjxSuWDgFh9gfd2q3X0/U71aF8z
fHkvgzqRUQKQGllQW0sw
=h+X2
-----END PGP SIGNATURE-----