unable to stop services with chkconfig or sysv-rc-conf utility for ubuntu
hi all,
I have a ubuntu 10.10 system. My system is running cups, smb and ssh services and I want to stop them. I could stop the services with the service command as under :- Quote:
So I tried out Quote:
Quote:
But problem is when I restart the machine or do a Quote:
Also nmap gives out the ports for samba to be open. What am I doing wrong ? Can someone suggest the solution . Thanks in advance nishith |
|
thanks for the response / link.
I will try out bum. Another thing is the link suggests using sysv-rc-conf utility for fine grained control. I am using the same, but I am unable to understand - why is the service started at all, when I have deactivated it in the sysv-rc-conf utility? any more suggestions ? regards nishith |
Did you deactivate it in all runlevels? Debian at least defaults to all runlevels 2-5 being the same, with the default runlevel set to 2. People coming from Red Hat are used to default multiuser gui being runlevel 5.
|
NKD if you want this much control... I would suggest Slackware, Gentoo or my favorite Arch Linux...
They allow for more control over boot process.... Tried running Boot Chart and sysv-rc-conf.. I couldn't get the boot times below 23 seconds..... My Windows 7 machine boots in 21 seconds... Ubuntu, Fedora, Suse etc... Have pre-installed software such as there own management systems and drivers that eat up load time.... With Slackware, Gentoo and Arch Linux you have to load in the specific driver for the xconf editor to run xserver.. As well as Loading in extra Apps... Minimum would come with either gnome, kde or whatever windows manager you install... With Arch Linux I can get 15 second boot times... Arch Linux is a lot harder to install, but they have excellent documentation for the install... I really looking forward to installing Slackware in the near future... Good Luck... If your spending endless amounts of time trying play with sys-rc-conf... I would suggest Just trying one of the other distro's. But lots of advice from someone in the forums that can tell you the difference between Slackware and Arch Linux. They can maybe give you better insight into setup for Slackware... |
Quote:
Quote:
Quote:
But when I restart the system, I find the services are still running. The following confirmed the same :- Quote:
Quote:
Quote:
BTW when I stop the services with Quote:
the services will come up. pls help me out thanks nishith |
Because of Ubuntu is switching services to new "upstart method" from old "rc method", some of them are not configurable by "sysv-rc-conf" or "chkconfig" utilities. To disable that service, find its configuration in "/etc/init/*.conf" file and remove line (or comment with #) with "start" word at the begining. By the way, if you do not want to ever use this services you can just uninstall them.
|
Hi eSelix,
Quote:
I felt it is a bit strange that the sysv-rc-conf and chkconfig are still being made available in the repos of the latest releases ! while the Sys V startup method is being discontinues withe the Upstart scheme of things ! thanks once again nishith |
All times are GMT -5. The time now is 02:43 PM. |