eDir does not start

Related to one host in a ring (three hosts)

This is the only output to ndsmanage startall

pre_ndsd_start_factory[3458]: 6469+0 records in
pre_ndsd_start_factory[3458]: 6469+0 records out
pre_ndsd_start_factory[3458]: 26497024 bytes (26 MB, 25 MiB) copied, 0.00736593 s, 3.6 GB/s
ndsdwrapper[3460]: /opt/novell/eDirectory/sbin/ndsdwrapper: line 12: NDSHOME/opt/novell/eDirectory/sbin/ndsd: No such file or directory
systemd[1]: ndsd.service: Control process exited, code=exited, status=127/n/a

The file /opt/novell/eDirectory/sbin/ndsdwrapper is the same as on other hosts.

/opt/novell/eDirectory/sbin/ndsd is available and executeable.

The issue starts after a upgrade to 23.4. But the upgrade was w/o problems.

I found that the rfl files are missing and let them ignore. (via env_custom)

I found that the certificates for this server are missing in eDir (via iManager) but it looks like they can not created until the eDir is running.

At the other hosts eDir is up and running.

Any hints?

Tags:

  • 0  

    Based on error (ndsdwrapper[3460]: /opt/novell/eDirectory/sbin/ndsdwrapper: line 12: NDSHOME/opt/novell/eDirectory/sbin/ndsd: No such file or directory)

    It does not look for /opt/novell/eDirectory/sbin/ndsd but NDSHOME/opt/novell/eDirectory/sbin/ndsd

    Check ndsdwrapper script how eDirectory is run, but there could be something wrong with setting some environment variable (probably in ndsdwrapper script you should see hov env variables are loaded)

    Kind regards,

    Sebastijan

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • 0

    You are using a custom environment. Probably you have a wrong setting in your environment. Your environment has to be such, that $sbindir points to /opt/novell/eDirectory/sbin . In your case $sbindir points to NDSHOME/opt/novell/eDirectory/sbin, which of course does not exist. And as NDSHOME is interpreted as a real path and not a variable, it is probably net set up as a variable.

  • Suggested Answer

    0 in reply to 

    This occur after a OES upgrade ...

    I do not believe that the environment has changed into a custom env. during the upgrade.

    I removed this server from the ring and recreate it.

  • 0 in reply to 

    As you wrote in your initial post you created an env_custom file. Probably you did not copy the contents of the env file to your env_custom file before adding the entry "NDSD_IGNORE_RFL=Y"  to this file. If you fail to do this most of the environment is not set or not set correctly, so that ndsd is for sure unable to start.