Common NDS commands and error handling

Source: Internet
Author: User

NDS normal port 389
Nds ssl port: 636
Leleone port: 524

1. Start NDS command:/etc/rc. d/init. d/ndsd start

2. After NDS is installed, run the ndsconfig command and report the following error:
Ndsconfig: Error while loading shared libraries: liblangmani. So: cannot open shared object file: no such file or directory
Solution:
1. Find the/etc/lD. So. conf file and check whether it contains the/opt/Novell/eDirectory/lib path. If this path is not included, add it.
Run the following command: ldconfig
2. After running the ndsconfig command, the error becomes:
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-
> 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 cocould use
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 wowould strongly suggest running a relabel after installing edir, as I
Had some garbled labeling after installing edir.

Sincerly,
Klaus steinberger

4.convert nds882into edirectory_88sp5_linux_i586.tar.gz and report
Error: The libstdc ++. so.5 library is missing. exiting install... to resolve this issue, refer to readme or installation guide.
Solution:
1: link with LN:
Ln-S/usr/local/lib/libstdc ++. so.6/usr/local/lib/libstdc ++. so.5

2. Install compat-libstdc ++-33 and compat-libstdc ++-296. Rpm can be found on www.rpmseek.com.

Result: The second method is used to solve this problem. When downloading the installation package, the agent software is required for a foreign website.

Example of data import and export syntax in Linux:

Backup and export in 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 = Software

Back up and import data in 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

 

 

Migrate NDS data in Windows:

In Windows, you only need to stop the NDS service, and then copy the dibfiles file in the NDS directory (usually installed in C:/Novell/NDS by default ), replace the file with the dibfiles file of another server.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.