Results 1 to 4 of 4
Hello Experts,
I am working on a SLES 10 SP01 server and the chkconfig command is not reporting service status as expected.
$ chkconfig sapinit
Ideally following should be output:
...
- 05-06-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 2
Problem with chkconfig returning status
Hello Experts,
I am working on a SLES 10 SP01 server and the chkconfig command is not reporting service status as expected.
$ chkconfig sapinit
Ideally following should be output:
$ sapinit on
But the output I get on the server is:
$ sapinit 345
The output returns the runlevels for the service instead of the status as on/off.
Please suggest if you would have idea as to why the chkconfig reports the runlevels. Due to this, few of our shell scripts abort with error messages. Your suggestion will be very helpful.
Thank you very much,
dsk
- 05-06-2009 #2
use command.
chkconfig --list sapinit
- 05-11-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 2
Thank you very much for the help.
Strangely, after running the below command, sapinit started behaving normally
chkconfig sapinit on
Best Regards,
dsk
- 05-11-2009 #4
btw, command have some more options. never forget to see command's man page first.


Reply With Quote