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
  •  


Custom  Server 15

Custom Server 15" Depth X11SSH-F E3-1270 V6 3.8Ghz 4 Core - 128GB NVME 32GB RAM

$399.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor picture

Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor

$66.50



SUSE LINUX Enterprise Server 9 Operating System Software New Sealed In Box picture

SUSE LINUX Enterprise Server 9 Operating System Software New Sealed In Box

$40.00



IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L picture

IBM Power8 S822L 20-Core 3.42GHz 256Gb 1.2Tb 40G Elastic Storage Server 5148-22L

$599.95



IBM 8247-21L S812L 10-core 3.42 GHz 128GB 2x 300gb 12x SFF Power8 Linux Server picture

IBM 8247-21L S812L 10-core 3.42 GHz 128GB 2x 300gb 12x SFF Power8 Linux Server

$649.00



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



1U Server 15

1U Server 15" Depth X11SSH-F E3-1270 V6 3.8Ghz 4 Core 32GB RAM 240G SSD

$320.00



SQL Server 2019 Standard 16 Core 10 User CAL DVD Pack picture

SQL Server 2019 Standard 16 Core 10 User CAL DVD Pack

$318.29



SQL Server 2022 Standard Unlimited Cores picture

SQL Server 2022 Standard Unlimited Cores

$509.27