Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: chkconfig --add

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    chkconfig --add

    I'm trying to make the appropriate soft links on my Red Hat ES 4 system. Currently, I have a file under /etc/init.d:
    # chkconfig: 345 10 10
    # description: testing
    echo "hello"
    Unfortunately, I keep getting this error:
    [root@redhat init.d]# !chk
    chkconfig --add file
    service file does not support chkconfig
    Can anyone point out what I'm doing wrong?

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    The word file needs to be changed to whatever you called your script in /etc/init.d
    Linux User #453176

  3. #3
    Script name is "file."

  4. $spacer_open

Posting Permissions

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