nds正常端口389
nds SSL端口636
Consoleone端口524
1.启动nds命令:/etc/rc.d/init.d/ndsd start
2.安装完nds后,运行ndsconfig命令报如下错误:
ndsconfig: error while loading shared libraries: liblangmani.so: cannot open shared object file: No such file or directory
解决思路:
一. 找到/etc/ld.so.conf文件,查看里面是否包含:/opt/novell/eDirectory/lib路径,如果不包含此路径,则增加.
运行命令:ldconfig
二.在运行ndsconfig命令后,错误变成:
ndsconfig: error while loading shared libraries: /opt/novell/eDirectory/lib/libsal.so.1: cannot restore segment prot after reloc: Permission denied
I am in the same point.
>
>>ndsconfig new -t arbolpru -n ou=recursos.o=prueba -a
> cn=admin.o=prueba
>
> ndsconfig : error while loading shared libraries:
> /opt/novell/eDirectory/lib/libsal.so.1: cannot restore segment prot
> after reloc: Permission denied.
Do you have selinux on?
You need at least the following selinux module (or maybe you could use the
booleans instead, I discovered that with audit2allow):
--------------------------
module edir 1.0.1;
require {
class file { execmod read write };
type initrc_t;
type lib_t;
type unconfined_t;
};
allow initrc_t lib_t:file execmod;
allow unconfined_t lib_t:file execmod;
---------------------------------------
Also I would strongly suggest running a relabel after installing edir, as I
had some garbled labeling after installing edir.
Sincerly,
Klaus Steinberger
4.将nds882换成eDirectory_88SP5_Linux_i586.tar.gz后报
ERROR: The libstdc++.so.5 library is missing. Exiting install... To resolve this issue, refer to Readme or Installation guide.
解决办法:
1:用ln链接:
ln -s /usr/local/lib/libstdc++.so.6 /usr/local/lib/libstdc++.so.5
2:安装compat-libstdc++-33和compat-libstdc++-296。RPM可以在www.rpmseek.com上找到。
结果:采用第二咱方式解决此问题,下载安装包时,因为是国外网站,需要用代理软件
在linux中的数据导入与导出语法例子:
在linux中备份导出
1 ndsbackup cRvf 192.168.130.77 net20070510schema.bak -a admin.RiseNet -p 1 schema
2 ndsbackup cRvf 192.168.130.77 net20070510data.bak -a admin.RiseNet -p 1 o=有生软件
在linux中备份导入数据
1 ndsbackup xRvf 192.168.130.77 net20070510schema.bak -a admin.RiseNet -p 1 schema
2 ndsbackup xRvf 192.168.130.77 net20070510data.bak -a admin.RiseNet -p 1
在windows中迁移NDS的数据:
在windows中只需要把NDS服务停止,然后拷贝NDS目录中DIBFiles文件出来即可(一般默认安装在C:/novell/NDS),直接把该文件替换到另一服务器的DIBFiles文件即可