Hi DiViNe,
[QUOTE=DiViNe;29713]Hi Jens
Thank you very much for your answers.
Ups, yes, sry. We’ve got 3 test server and all of them running the same version:
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
OK, maybe that might be a/the problem. I never wrote an init script, but I read the first part of this (http://www.thegeekstuff.com/2012/03/lsbinit-script/) and it looks like you’re right.
Is it a big thing to fix the init-script?[/QUOTE]
no - that article seems to explain it well, so just have a look around the other init scripts if in doubt, and add the headers with proper values.
[QUOTE=DiViNe;29713] [CODE]r01vm040ux012:~ # chkconfig dleserver on
insserv: warning: script ‘dleserver’ missing LSB tags
insserv: warning: script ‘dleserver’ missing LSB tags[/QUOTE]
I told you 
… but at least chkconfig tries to be helpful
OTOH, I’d rather assume that you’ll prefer to specify the run levels actually intended… “3 5” might be a good guess.
[QUOTE=DiViNe;29713]insserv: Service network is missed in the runlevels 4 to use service cfengine3
insserv: Service syslog is missed in the runlevels 4 to use service lbaseonline[/QUOTE]
These two messages seem to point at missing dependencies from other init scripts. It seems “cfengine3” and “lbaseonline” were copied from some other distribution, because run level 4 is marked as “not used” in SLES. Is it safe to assume that you have added non-SLES software packages to this server installation?
You’ll need to clean up these errors, as from my experience, this type of problem will sometimes make chkconfig stop working, even for properly defined services.
[QUOTE=DiViNe;29713]r01vm040ux012:~ # chkconfig dlserver
dlserver: unknown service
r01vm040ux012:~ # chkconfig dlserver on
dlserver: unknown service[/QUOTE]
Expected. The service name is missing the “e”?
[QUOTE=DiViNe;29713]r01vm040ux012:~ # chkconfig dleserver on
r01vm040ux012:~ # chkconfig dleserver on
Is it normal, that I’ll get an other output after trying it again?[/QUOTE]
Well, maybe it was able to enable the service (running “chkconfig dleserver” will tell you), so it didn’t call the code to re-enable the service and hence didn’t catch the other errors.
As a general word of advice: Sticking to SLES packages would circumvent this, but I do understand that you often have the need to get past that point. You’ll then need to know how to mess around with the software installation of your server properly (or have to deal with an installation that someone else was messing around with), so get in touch with the basics of LSB scripts and the specifics as used in SLES. Init scripts are vital to the operation of your server and you can easily get into a situation where “regular changes” won’t work because some non-conforming script put a foot in the doorway.
Regards,
Jens