Find the answer to your Linux question:
Results 1 to 4 of 4
Hello i have centos 5.3 final when using update-rc.d commnad it give me this error sudo: update-rc.d: command not found is there alternative command?...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    11

    Post [SOLVED] update-rc.d error

    Hello

    i have centos 5.3 final when using update-rc.d commnad it give me this error

    sudo: update-rc.d: command not found

    is there alternative command?

  2. #2
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    171
    Quote Originally Posted by altarek View Post
    Hello

    i have centos 5.3 final when using update-rc.d commnad it give me this error

    sudo: update-rc.d: command not found

    is there alternative command?
    probably you have been using Debian or something very similar.
    update-rc.d is the Debian utility to install and remove System-V style init script links.
    RHEL and CentOS use chkconfig
    for the same purpose.
    you can find more details here, hopr this will help you:
    update-rc.d like command on Redhat Enterprise / CentOS Linux
    Sorry, it was unintentional.
    You should have told me at least once and i could have fix it.
    thanks for reminding me.

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    11

    Unhappy

    when using chkconfig give me this message



    chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc.
    This may be freely redistributed under the terms of the GNU Public License.

    usage: chkconfig --list [name]
    chkconfig --add <name>
    chkconfig --del <name>
    chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>

    .
    and i using apt-get install in debian what alternative in centos?

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    PackageManagement/Yum - CentOS Wiki

    when using chkconfig give me this message
    It's displaying the help message because you either entered the command incorrectly or typed it without any arguments.

Posting Permissions

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