-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Sunday 2006-11-12 at 04:24 +0200, Hans du Plooy wrote:
> So I do:
>
> nemo:~ # insserv sqlgrey
> nemo:~ # chkconfig sqlgrey
> sqlgrey on
>
> Right, but now I have another problem:
>
> nemo:/etc/init.d/rc3.d # ls -lh
> [snip]
> lrwxrwxrwx 1 root root 10 Nov 12 04:16 S01sqlgrey -> ../sqlgrey
> [snip]
> lrwxrwxrwx 1 root root 8 Nov 1 13:22 S12mysql -> ../mysql
You haven't defined the info section:
### BEGIN INIT INFO
...
See man init.d, less /etc/init.d/skeleton, admin book, etc.
> Because mysql isn't started yet, sqlgrey fails to start. That's why I
> changed the symlink from S01 to S99 - so that it starts last. But it
> still doesn't start. No output in the logs either.
Of course, no entry in the makefile and .depend.* files.
>
> I added this to the init script (took an example from one of the
> SUSE-supplied scripts - don't know if I'm doing this right):
>
> # Required-Start: $network $syslog $mysql
You have to enter the whole section.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFFVxV1tTMYHG2NR9URAnjdAKCCbfbIDC7HfnQ/XCFkeZkqq5kRgwCghO1g
FOdm0+BPaOi/GXFHku77vUc=
=O1Bd
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]