Results 1 to 2 of 2

Thread: chkconfig complains about /sbin/insserv

  1. #1
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    chkconfig complains about /sbin/insserv

    Just came across this useful solution to a bug with chkconfig. Thought I'd share it with you.

    I was trying to disable the openvpn service on a 12.04 server using chkconfig and encountered this error:

    Code:
    # chkconfig -s openvpn off
    /sbin/insserv: No such file or directory
    The actual file is /usr/lib/insserv/insserv so you need to create a symlink to it like this:

    Code:
    cd /sbin
    ln -s ../usr/lib/insserv/insserv

  2. #2
    Join Date
    Jan 2013
    Beans
    5

    Re: chkconfig complains about /sbin/insserv

    Quote Originally Posted by SeijiSensei View Post
    Just came across this useful solution to a bug with chkconfig. Thought I'd share it with you.

    I was trying to disable the openvpn service on a 12.04 server using chkconfig and encountered this error:

    Code:
    # chkconfig -s openvpn off
    /sbin/insserv: No such file or directory
    The actual file is /usr/lib/insserv/insserv so you need to create a symlink to it like this:

    Code:
    cd /sbin
    ln -s ../usr/lib/insserv/insserv
    I can confirm this bug. I came up with the same solution and now it works perfectly.

Bookmarks

Posting Permissions

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