<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    zhaobin

    增強信息技術(shù);感悟商業(yè)管理;探索商業(yè)與技術(shù)融合;豐富自我修養(yǎng);享受時尚生活;記錄心路歷程;使Blog作為自我改變之記錄與監(jiān)督的平臺。
    posts - 25, comments - 59, trackbacks - 0, articles - 0
      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

    linux下安裝NDS 8.7.3 及打補丁 筆記

    Posted on 2010-01-23 15:11 趙斌 閱讀(2223) 評論(1)  編輯  收藏 所屬分類: 1.技術(shù)區(qū)

    linux下安裝NDS8.7.3及打補丁筆記

    nds正常端口389
    nds SSL端口636
    Consoleone端口524

    linux操作系統(tǒng)要安裝snmp-utils安裝包,在基本應用下

    啟動nds命令:/etc/rc.d/init.d/ndsd start

    停止NDS服務
    service ndsd stop

    /etc/init.d/ndsd stop

    刪除原有的NDS服務
    ndsconfig rm -a admin.com
    rm  Removes the server object and directory services from a tree.

    如果NDS已經(jīng)不能啟動,則直接刪除/etc/nds.conf和/var/nds。

    卸載NDS的安裝
    cd /opt/software/eDir_873_linux_full/Linux/setup
    ./nds-uninstall

    手工卸載NICI
    rpm -e --nodeps nici

    手工安裝NICI,否則重新安裝NDS后NICI無法啟動。
    rpm -ivh nici-2.6.4-0.05.i386.rpm

    重新安裝NDS,注意有“NICI is installed in SERVER mode.”的信息顯示。
    ./nds-install
    輸入1,2將兩個都安裝。

    創(chuàng)建樹
    ndsconfig new -e -t hd-tree -n o=hdnet -a cn=admin.o=hdnet

    編輯/etc/nds.conf,增加如下一行,指定監(jiān)聽的網(wǎng)卡
    n4u.server.interfaces=eth0@524
    相應的說明文檔:http://www.novell.com/zh-cn/documentation/ndsedir86/?taoenu/data/a7f7odr.html

    重啟NDS服務后,就可以用ConsoleOne連接了。

    停止服務,備份NDS的文件
    tar zcvf nds-bkp-20100123.tar.gz /etc/nds.conf /etc/ndsimon.conf /etc/init.d/ndsd /usr/lib/nds-modules/ndsmodules.conf /var/nds/dib

    解壓NDS的備份文件
    tar zxvf nds-bkp-20100123.tar.gz

    先恢復Schema
    ndsbackup xvf ndsschemahd20100115.bak -a admin.hdnet -p 1 schema
    如果是遠程的NDS服務器,則需要用R參數(shù)指定
    ndsbackup xRvf 192.168.130.77 ndsschemahd20100115.bak -a admin.hdnet -p 1 schema

    然后恢復innerUser和數(shù)據(jù)。注意:恢復的時候無法選擇恢復部分數(shù)據(jù),所以,一定要在備份時指定備份部分o的數(shù)據(jù)
    ndsbackup xvf hdgov-inner.bak -a admin.hdnet -p 1
    ndsbackup xvf hdgov-hdqjg.bak  -a admin.hdnet -p 1

    修復NDS的命令,可以經(jīng)常修復修復。
    ndsrepair -U -F ndsrepair.log

    打補丁,注意要先停掉服務
    cd /opt/software/edir87310_ftf2
    ./install.sh

                                       (完)
    ===============================================================================
    Error While Loading dxevent

    If DirXML is not installed, while loading dxevent, the error "Loader Failed:for
    dxevent,error ld.so.1: /usr/sbin/ndsd: fatal:
    dxevent: open failed: No such file or
    directory,errno 2" gets logged in your ndsd.log file.

    This is a warning and you can ignore it. This error will not appear once you install DirXML.
    ===============================================================================

    DirXML Fails to Start After Upgrading to eDirectory 8.7.3.x

    Upgrading to eDirectory 8.7.3.x with an existing DirXML installation will cause
    DirXML to fail on Solaris and Linux. To fix this problem, install the NDSdxevnt
    library on Solaris or the NDSdxevnt-1.1.1-1.i386.rpm package on Linux.
    These files can be found in the ./setup directory on the DirXML 1.1a installation CD.


    ===============================================================================
    eDirectory不穩(wěn)的因素很多,無論什麼原因,除了抓出log之外(因為許多時候既使抓出來也看不懂)。還有幾個步驟可參考:
    1. repair TREE。許多的問題都發(fā)生在TREE本身。
    2. 確認這一臺伺服器上還有跑什麼服務。盡量單純一點。
    3. 如上面安裝IDM,確認policies寫法正確,因為不正確的policies容易造成edirectory crash (exception)。
    4. 確認伺服器的loading和網(wǎng)路loading有無導致edirectory負荷不了。 

    ===============================================================================



    趙斌原創(chuàng),保留一切權(quán)利,轉(zhuǎn)載請保留引用:m.tkk7.com/zhaobin,注明轉(zhuǎn)載除外,謝謝!】

    評論

    # re: linux下安裝NDS 8.7.3 及打補丁 筆記  回復  更多評論   

    2010-01-26 16:59 by noname
    Q: NICI Initialization failed: -1497, Exiting...

    A: Note that there is a known issue with upgrading via automatic things to
    eDirectory 8.8 where NICI (upgrading to 2.7) moves the NICI files (which is
    correct) but does not place the softlink in the original location to the
    new (which is not correct). There is a TID as well. The fix it to create
    the softlink.

    ln -s /var/opt/novell/nici /var/novell/nici
    主站蜘蛛池模板: 亚洲无码在线播放| 亚洲一区二区三区无码中文字幕| 亚洲好看的理论片电影| 国产精品免费AV片在线观看| 亚洲成av人影院| 日韩免费观看一区| 亚洲欧洲日本精品| 啦啦啦中文在线观看电视剧免费版 | 中文字幕亚洲精品无码| 成人免费一区二区无码视频| 亚洲中文字幕无码av永久| av无码久久久久不卡免费网站| 亚洲免费在线视频观看| 国外成人免费高清激情视频| 亚洲色大网站WWW永久网站| 夫妻免费无码V看片| 国产成人精品亚洲一区| 精品亚洲一区二区三区在线观看| 三年片免费观看大全国语| 久久精品亚洲综合专区| 国产精品久久久久久久久免费| 狠狠色香婷婷久久亚洲精品| 国产成人免费全部网站| h视频在线免费观看| 亚洲成人动漫在线| 天天干在线免费视频| eeuss草民免费| 久久狠狠高潮亚洲精品| 午夜影视在线免费观看| 精品国产免费一区二区三区| 亚洲精品资源在线| 国产一级淫片免费播放电影| a在线观看免费视频| 亚洲免费观看在线视频| 4338×亚洲全国最大色成网站| 美女内射无套日韩免费播放| 亚洲色大情网站www| 亚洲第一AAAAA片| 韩国免费三片在线视频| 男女拍拍拍免费视频网站| 亚洲一区二区三区免费观看|