More about Directory Server and OpenDS Margin Notes

Thursday May 31, 2007

Question I installed Directory Server Enterprise Edition 6.0 from native packages by using the Java ES installer on Solaris 10. Now I cannot use dsadm autostart to start Directory Server at boot time. The command tells me a package is missing, as in the following example. What gives?

# /opt/SUNWdsee/ds6/bin/dsadm autostart /export/home/ds
SUNWldap-directory-config is not installed.
This subcommand is not supported on this platform
# /opt/SUNWdsee/dps6/bin/dpadm autostart /export/home/dps
SUNWldap-proxy-config is not installed.
This subcommand is not supported on this platform
# pkginfo SUNWldap-directory-config
ERROR: information for "SUNWldap-directory-config" was not found
# pkginfo SUNWldap-proxy-config
ERROR: information for "SUNWldap-proxy-config" was not found

Answer The *-config packages contain only RC scripts. On Solaris 10, SMF is the preferred way to start and stop a server automatically. So the *-config packages are not installed on Solaris 10.

Use the enable-service command instead of autostart.

dsadm enable-service -T SMF /export/home/ds
Comments:

Very nice.. On of the first JES products I've seen to use the SMF.

Posted by jrmy on July 19, 2007 at 09:33 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed