nds常用命令及錯誤處理

來源:互聯網
上載者:User

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檔案即可

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.