Results 1 to 6 of 6

Thread: ksysv (starting services/daemons at boot)

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148

    ksysv (starting services/daemons at boot)

    I want to deactivate some services from starting up at boot (or more precisely when I switch to run level 5). ksysv is a vey nice tool for doinf this, only the descriptions for the various services are blank.

    Where can I get descriptions for the services? Is it just a case on 'man name_of_daemon' (forgot to try this ;)

    Otherwise can someone tell me either
    a. what services I definately should leave running
    b. what services are started by defaul after a Knoppix (debain-style install).

    TIA

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    I would like to know too about what services is absolutely necessary. The service(debian style) is located in /etc/init.d/ . The system start up is at /etc/rcS.d/ and for various level at /etc/rc?.d/ where '?' is the number 1-6.

    A brief browsing makes me feel that most services in the standard debian installation are not needed, other than may be the logging daemon, hotplug and X, for a typical boot and forget workstation.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Man update-rc.d should give you the info you need to set, remove services at startup. For example these are the two commands I use:

    Code:
    update-rc.d -f servicename/packagename remove (to remove services from startup at next boots)
    
    update-rc.d servicename/packagename defaults ## (to run services at startup with a default number of 20 or ## which is your specified number to start with. The lower the number, the earlier it starts)
    I must admit, at first I deleted the symlinks to prevent them from starting before I googled the update-rc.d command. That's what I get for being a newbie, but we all have to start somewhere.

    HTH,

    Durand

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148
    I want to learn how to do this stuff form the shell, but at the moment I'm taking the easy way out and using the graphical "Sys V Init Editor" (in KDE, it's K => System => Sys-V Init Editor; in any WM type "ksysv &" as root from a shell).

    For finding information, I try three things
    1. man "name_of_daemon"
    2. apropos "name_of_daemon"
    3. Google.com

    So far I too have deleted start scripts instead of turning them into stop scripts :( Never mind, they're easy to add again (in the Sys V Init Editor), and hopefully I should remember the correct way next time (Knoppix 3.4!). Also a lot of the services I deleted I doubt I'll ever need - won't ever be using ISDN for example.

    Real shame that all the 'Description' fields in the Editor are blank :(

    @Durand Hicks
    I get a an "undocumented" message :(
    Code:
    christopher@roro:~$ man update-rc.d
    No manual entry for update-rc.d
    See 'man 7 undocumented' for help when manual pages are not available.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by c123
    So far I too have deleted start scripts instead of turning them into stop scripts Never mind, they're easy to add again (in the Sys V Init Editor), and hopefully I should remember the correct way next time (Knoppix 3.4!). Also a lot of the services I deleted I doubt I'll ever need - won't ever be using ISDN for example.
    Just get rid of the packages (apt-get --purge remove package) there is no need to even be bothering with the update-rc.d that is only for applications that you WANT on your system configured in a certain way not leftovers you will never use.


    @Durand Hicks
    I get a an "undocumented" message
    Code:
    christopher@roro:~$ man update-rc.d
    No manual entry for update-rc.d
    See 'man 7 undocumented' for help when manual pages are not available.

    That looks like a problem with the sysvinit of knoppix which is installed the solution can be a little over the top just to get a man page back but I have a page here on how to do it if you want to try.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Stephen,

    I checked your instructions for getting the man pages for update-rc.d and it looks like way too much effort just to get some information. I found it by using google, and it pointed me to the linux documentation page website, and that's where I located it. Originally, google said it was chapter 3.3 but it has since been moved to chapter 9, IIRC.

    Durand

Similar Threads

  1. Removing daemons from the boot-up process...
    By doesnotcompute in forum General Support
    Replies: 3
    Last Post: 03-11-2005, 08:48 PM
  2. How to stop KDE from starting at boot time?
    By lothario in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 08-17-2004, 11:57 PM
  3. Starting NIS services binding to YP Server
    By Jerunk in forum General Support
    Replies: 2
    Last Post: 06-20-2004, 04:00 AM
  4. NICs and daemons
    By gkp in forum General Support
    Replies: 5
    Last Post: 07-10-2003, 07:09 PM
  5. Where are controls for ALL daemons/services in KNX 3.2?
    By athlonthunder in forum General Support
    Replies: 4
    Last Post: 04-10-2003, 03:23 AM

Posting Permissions

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


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$14.50



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$13.50



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$22.85



A-Tech 32GB 2x 16GB PC4-21300 Laptop SODIMM 260-Pin DDR4 2666 MHz Memory RAM Kit picture

A-Tech 32GB 2x 16GB PC4-21300 Laptop SODIMM 260-Pin DDR4 2666 MHz Memory RAM Kit

$59.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



Samsung PC4-19200 PC4 2400T 32GB DDR4 RAM Server Memory picture

Samsung PC4-19200 PC4 2400T 32GB DDR4 RAM Server Memory

$79.99



Corsair Dominator Platinum RGB 32GB (2 x 16GB) PC5-44800 (DDR5-5600) Memory... picture

Corsair Dominator Platinum RGB 32GB (2 x 16GB) PC5-44800 (DDR5-5600) Memory...

$100.00