[OpenIndiana-discuss] Openldap SMF broken

Andreas Stenius andreas.stenius at astekk.se
Thu May 10 11:47:02 UTC 2012


Hi,

Read section "A few twists" from
http://wiki.openindiana.org/oi/Creating+new+services

Cheers,
Andreas

2012/5/10 Matt Connolly <matt.connolly.au at gmail.com>:
> Hi,
>
> I'm trying to set up openldap on oi151a4. I've set up the config files
> and can run it from the command line, but it took a bit of stuffing
> around to get its SMF service to run. Even with the correct config,
> the service starts and then fails, presumably because the start method
> didn't return within the allowed 30 seconds time frame.
>
> I changed the startup script by putting a '&' at the end of the `exec
> $SLAPD` line so that the server ran in the background from the start
> script, and now it seems to be working.
>
> Is that the best way to do it?? I thought I remember reading somewhere
> that you could configure a SMF service to run a service as a long
> running program without requiring it to daemonize/fork. Couldn't find
> it though.
>
>
> -Matt
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the OpenIndiana-discuss mailing list