-
Senior Member
registered user
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
-
Senior Member
registered user
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.
-
Senior Member
registered user
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. ![Smile](images/smilies/icon_smile.gif)
HTH,
Durand
-
Senior Member
registered user
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.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
c123
So far I too have deleted start scripts instead of turning them into stop scripts
![Sad](images/smilies/icon_sad.gif)
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.
-
Senior Member
registered user
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
-
By doesnotcompute in forum General Support
Replies: 3
Last Post: 03-11-2005, 08:48 PM
-
By lothario in forum Hdd Install / Debian / Apt
Replies: 9
Last Post: 08-17-2004, 11:57 PM
-
By Jerunk in forum General Support
Replies: 2
Last Post: 06-20-2004, 04:00 AM
-
By gkp in forum General Support
Replies: 5
Last Post: 07-10-2003, 07:09 PM
-
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
-
Forum Rules
![ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301 picture](/store/img/g/J0AAAOSwSiVlu-xI/s-l225/ARUBA-J9772A-2530-48G-PoE-48-PORT-ETHERNET-SWITCH-.jpg)
ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301
$140.23
![Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture](/store/img/g/kjQAAOSwNkhj0o7Y/s-l225/Fortinet-FortiSwitch-FS-124D-POE-24-Port-Gigabit-E.jpg)
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
![Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch picture](/store/img/g/BUMAAOSwtOFjdfzi/s-l225/Loocam-Gigabit-PoE-Switch-8-Port-96W-2-Uplink-Port.jpg)
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$49.99
![TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D picture](/store/img/g/rvkAAOSwZBBi5CPU/s-l225/TP-Link-24-Port-Gigabit-Ethernet-Unmanaged-Switch-.jpg)
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$55.99
![NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter picture](/store/img/g/GtAAAOSw441l3Jx1/s-l225/NETGEAR-GS108-ProSafe-8-Port-GbE-Unmanaged-Switch-.jpg)
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
![NETGEAR ProSafe GS724T Rack Mountable Managed Gigabit Switch picture](/store/img/g/yaMAAOSwLZlmYjt~/s-l225/NETGEAR-ProSafe-GS724T-Rack-Mountable-Managed-Giga.jpg)
NETGEAR ProSafe GS724T Rack Mountable Managed Gigabit Switch
$20.00
![Cisco WS-C2960S-48TS-L 48 Port Gigabit Ethernet LAN Switch - Same Day Shipping picture](/store/img/g/pVEAAOSwkjpjh8my/s-l225/Cisco-WS-C2960S-48TS-L-48-Port-Gigabit-Ethernet-LA.jpg)
Cisco WS-C2960S-48TS-L 48 Port Gigabit Ethernet LAN Switch - Same Day Shipping
$29.95
![New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture](/store/img/g/QyIAAOSwTM5Y5YBC/s-l225/New-10-100-Mbps-8-Ports-Fast-Ethernet-LAN-Desktop-.jpg)
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
![Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS picture](/store/img/g/hLYAAOSwc9xmdEiW/s-l225/Netgear-Prosafe-48-Port-GbE-4-Port-SFP-Managed-Net.jpg)
Netgear Prosafe 48-Port GbE & 4-Port SFP Managed Network Switch GS752TS
$59.99
![CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED picture](/store/img/g/uj4AAOSw8hhmYQRm/s-l225/CISCO-MERAKI-MS120-24P-HW-24-PORT-GIGABIT-CLOUD-MA.jpg)
CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED
$103.74