How to configure DS 5.2 to startup on boot?

How to configure DS 5.2 to startup on boot?

Post by ohay » Fri, 16 Dec 2005 06:13:00


Hi,

I just installed DS 5.2 P4 on a Solaris 9 system. I thought that the
installation automatically configured things so that slapd would start
automatically at boot, but that doesn't seem to be the case.

For now, I am starting it manually:

- cd /var/Sun/mps/slapd-sunny
- ./start-slapd

I was wondering if anyone can tell me what I need to do so that it
starts up automatically at boot?

Thanks,
Jim
 
 
 

How to configure DS 5.2 to startup on boot?

Post by Logan Sha » Fri, 16 Dec 2005 06:27:57


"more /etc/init.d/README" should describe the process.

Also, why did you install software in /var? That's really unusual.

- Logan

 
 
 

How to configure DS 5.2 to startup on boot?

Post by Neal A. Lu » Fri, 16 Dec 2005 06:57:11


There should already be a script called /etc/init.d/directory that will
start and stop the directory server for you. It needs to be linked in
/etc/rc3.d as described by the above mentioned README.

I think it is a little prettier to start and stop the direcotry server
using /usr/sbin/directoryserver instead of start-slapd.


By default the direcotry server likes to install itself in var; using
the GUI installer with JES 04Q2 the directory server defaulted to
installing at /var/opt/mps/serverroot.

Neal
 
 
 

How to configure DS 5.2 to startup on boot?

Post by ohay » Fri, 16 Dec 2005 07:36:46


Logan,

That (/var/Sun/mps) is what the installer (setup) offered as default.

Jim
 
 
 

How to configure DS 5.2 to startup on boot?

Post by ohay » Fri, 16 Dec 2005 07:45:07


Neal,

Sigh...

There is an /etc/init.d/directory, but that uses "directoryserver",
which isn't working (see my earlier thread about that, where it can't
seem to determine the version), so I can't use /etc/init.d/directory
either :(...

As mentioned in my earlier thread, this is "5.2 P4". I don't know if
that makes a difference, but it certainly has this version thing all
messed up...

Jim