Find the answer to your Linux question:
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: ...
  1. #1
    Just 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

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    use command.
    chkconfig --list sapinit
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just 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

  4. #4
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    btw, command have some more options. never forget to see command's man page first.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...