nds常用命令及错误处理

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文件即可

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值