On Sun, 2006-11-12 at 03:02 +0100, Marcus Rueckert wrote:
> On Saturday 11 November 2006 23:37, Hans du Plooy wrote:
> > Does anyone know why it wouldn't start?
> >
> what is the output of "chkconfig sqlgrey"?

nemo:~ # chkconfig sqlgrey
sqlgrey  off

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

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.

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

insserv -r sqlgrey
insserv sqlgrey

But it still makes it S01sqlgrey.  Oh I forgot, in my original post, the
reason why I mentioned Debian is because it starts fine on the Debian
servers.  All I did there was make the symlink by hand, so I don't
understand why it fails on SUSE.

Any ideas?

Thanks
Hans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to