Ubuntu :: [Lucid] Disable Services In Upstart?

Jun 27, 2010

I recently discovered upstart is launching sshd on my machine even though I disabled it with `sudo update-rc.d -f ssh remove`. I tried to find a way to prevent upstart from launching ssh by default, but the best I can think of is removing /etc/init/ssh.conf (I just uninstalled openssh-server).I'd like to disable it without doing this, though. This would make it easier to enable sshd when I need it

View 8 Replies


ADVERTISEMENT

Ubuntu :: Lucid Canonical Method To Disable Services?

Jul 19, 2010

Until Karmic Koala I could enable/disable services at startup (such as ssh or mysql) by issuing a update-rc.d -f someservice remove. On reboot, it would no longer run, and I could re-enable if necessary by, for example, running a update-rc.d someservice default.

However, it seems that now in Lucid Lynx this no longer works. For example, if I do a nmap localhost I can see that the ports for the respective services are open, therefore I assume they are likely running (which an attempted access confirms). For example, if I do a /etc/init.d/ssh stop, the ssh service is respawned. I've found that service ssh stop or initctl stop ssh effectively stops the service (i.e. it is no longer "respawned" if "killed"). But so far I haven't found documentation that conclusively indicates how to disable the service start on (re)boot.

So I ask you, what is now the currently "canonical" or "standard" way to enable/disable these services (particularly ones such as ssh or mysql) from starting on boot on Ubuntu? I'd like to avoid having to remove the respective packages if possible (as some posts suggest), since in some occasions I'm interested in manually running those services -- therefore, having to install/uninstall packages is impractical.

View 1 Replies View Related

Ubuntu Servers :: List Of Services Converted To Upstart In 10.04?

Apr 30, 2010

Where can I find a list of services converted to upstart in Ubuntu 10.04? What is the syntax for stopping, starting and restarting these services?

View 6 Replies View Related

Ubuntu :: Method To Start / Stop Services Under Upstart

Jan 22, 2011

I installed MySQL and Apache2 to develop & test out the site I'm writing. However since I'll be using them purely for internal use (not exposed to the Net), I don't want them to start with every boot-up, but would like to start them manually when I desire, and stop them after use.With previous Ubuntu (Jaunty) I'd used chkconfig to configure services, but since the current version (Maverick) uses Upstart, is chkconfig still applicable?

I also installed 'bum' (Boot-Up Manager), but strangely, it displays the MySQL server as "unchecked" even though it's running (and starts at boot-up), so I cant see how I can prevent it from starting at boot-up through bum. chkconfig also displays MySQL as not active at runlevel 5, when in fact, it is.

I'd like to know what's the recommended (official) way to configure boot-up services with the Upstart system? I don't suppose directly editing the *.conf files in /etc/init is the best (or even correct) way?

View 3 Replies View Related

Ubuntu :: Stop Upstart Services From Staring At Boot Time?

Sep 18, 2010

What is the correct way to stop upstart services from staring at boot time ? I'm doing something like this example in /etc/init/mysql.conf:

Code:
#start on (net-device-up
# and local-filesystems
# and runlevel [2345])
start on runlevel [!0123456] # I ADDED THIS LINE (and commented the above ones)
stop on runlevel [016]

1. Is this the correct way ?

2. Is there no way of doing something like we do with update-rc.d -f apache2 remove ?

3. When will ubuntu ship a gui to add or remove services from boot ?

View 1 Replies View Related

General :: How To Disable Services

Oct 3, 2010

I would like to know how would i disable service which helps mounting of removable devices automatically?I dont want to disable mounting but i would like to disable automatic mounting of devices.I would like to do this as security major on one of our production server.

View 9 Replies View Related

Ubuntu Multimedia :: How To Disable Acpi Services

Apr 27, 2010

I need to disable acpi services in order to get fglrx working on my toshiba satelite a300.
I've already tried this:Quote:

sudo aticonfig --initial -f
sudo aticonfig --acpi-services=off

But the acpi services still loaded when i booted the computer. How can i really turn them off?

View 1 Replies View Related

Ubuntu :: Services Not Starting In Lucid

Jul 12, 2010

Basically services aren't starting up, like cron, VBox, ssh. I suspect a problem in the boot process, but I don't know where to look for errors with init or upstart or whatever it is these days.

View 5 Replies View Related

Fedora :: Disable Unneccersary Services?

Dec 5, 2009

to disbale some unnersercary services in fedora 11.i have bluetooth and ssh disablesdwhat services van i also disable?is there somewhere an howto for it?

View 2 Replies View Related

Ubuntu :: 10.04 Correct Way To Start Stop Disable Services?

Aug 25, 2010

With the advent of Ubuntu 10.04 Lucid Lynx LTS People are migrating servers to the latest LTS. One fundamental thing that has changed is the move to Upstart. In the old days to stop multidaemon service such as Samba, one would simply type /etc/init.d/samba stop and to disable it from starting on boot one would simply type update-rcd samba disable.

Now its the year 2010 and in 10.04 it seems on has to edit a bunch of files, etc. Is there not an easy tool to correctly and properly disable services on startup in 10.04 consistently? in Redhat/Mandrake 10 years ago it was simply

Code:
service smb off
In Ubuntu 10.04 its
1) edit /etc/init/smbd.conf and modify the line that says
Code:
stop on runlevel [!2345]
and change it to

[Code]...

And one has to remember all these changes when the get ready to enable the samba service in the future? This can't be right.I know I must be missing something here. or maybe overlooked something in the upstart documentation.Which seems quite sparse by the way. So the question remains. How does one simply disable a multidaemon service starting on boot such as samba. Any tool to do this ? Is the above the correct method recommended by Canonical to disable services? and enable them?

View 2 Replies View Related

Ubuntu Networking :: Services To Disable To Boost Performance?

Oct 15, 2010

I installed Ubuntu 10.10 today Netbook Edition on the Asus Eee PC 1015PED. Specifications for Asus Eee PC 1015PED: Atom 455, 1.66 GHz, 1Gb ram, 250Gb drive, Bluetooth 3.0, 0.3 megapixel webcam, Gigabit Ethernet, WSVGA (1024x600), sound card compatible with the HD audio connector, d-dub, three USB 2.0 ports, 6-cell - lithium Ion - 4400mAh, WiFi 802.11 b/g/n.

solve the problem or an indication of the package to install. tutorial under the title, which services to disable to boost performance. first place to help you connect to the Internet. especially to the netbook'a - Asus Eee PC 1015PED. I updated everything on connection via cable. Detects the connection, but when it connects after a while.. "Wireless - Network Disconnected".

[Code]...

View 9 Replies View Related

Debian :: Way To Enable/disable Services In Squeeze?

Jul 2, 2011

I'm looking for some definitive instruction on the proper way to enable/disable (not to simply start/stop or add/remove packages) services/daemons under Debian 6. Google results are all over the map and, surprisingly, the Debian wiki has no abstract on services.It seems like such a common task

View 14 Replies View Related

Debian Configuration :: Disable Boot Services

Jan 31, 2010

I'm running debian unstable and since there was the switch to dependency based boot I can no longer control my boot services.I used to suppress the services that I use rarely during boot with: sudo update-rc.d -f myservice remove This arranged the links in /etc/rc?.d and everything worked.

Now this command only says: update-rc.d: using dependency based boot sequencing.This seems to work until I upgrade the service to a new version and it is enabled again.Do you have any idea of how to disable boot services permanently with the new system?

View 4 Replies View Related

General :: Disable Unnecessary Startup Services?

Dec 15, 2010

In order to preserve resources and to have more secure machine I want to disable services which are of no use to me. But being relatively new to Linux I want to make sure I'm disabling those really unnecessary and that my actions wont have a negative impact on overall system health / usability.code...

View 13 Replies View Related

Server :: Disable Unwanted Services In Other Than Squid?

Mar 5, 2011

I have installed squid using CentOS 5.When the server boot there are default services which are enabled at Boot time. My server is dedicated only for squid proxy server.I want to know how that when my server boot only the relevant services should start which may helpful for squid. Remaining unwanted services should be disable because they are just occupying memory of the server. Kindly guide me which command I should use and which services may I disable for smooth functioning of my squid

View 1 Replies View Related

CentOS 5 Server :: Disable Unwanted Services In Other Than Squid?

Mar 5, 2011

I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?

View 1 Replies View Related

General :: See System Services Are Enable - Disable In Ubuntu 11.04(Natty Narwhal)?

Aug 5, 2011

Chkconfig is a utility to update and query runlevel information for system services. Chkconfig manipulates the numerous symbolic links in /etc/init.d/, to relieve system administrators of some of the drudgery of manually editing the symbolic links.

In Debian, there are several tools with similar functionality, but users coming from other Linux distributions will find the tools in this package more familiar.

Go to Terminal and open it and type the command "chkconfig' press enter. code...

after installing just type "chkconfig"
you can see list of service which one is off or on in your system code...

View 1 Replies View Related

Fedora :: Enable And Disable These Services: FTP,Email,Web Server,Firewall,Telnet,LAN?

Sep 12, 2009

how to enable and disable these services: FTP,Email,Web server,Firewall,Telnet,LAN? Is there any general way to manage services?

View 1 Replies View Related

Ubuntu :: Disable IPv6 In Lucid?

May 4, 2010

Okay so on WebUpd8 website, (url), I found a way to disable IPv6 and I was hoping to get a little more of an understanding of if I should or not from comments there, but unfortunately I haven't gotten enough to say let's do that. So I figured I might get a better understanding on here.

I am not very familiar with IPv6, but to my understanding its a newer thing that's rarely found currently with ISPs, but can be a security issue now.

View 9 Replies View Related

Ubuntu :: Disable GDM/Graphical Login In Lucid?

May 8, 2010

It used to be that this was a service that could just be disabled in System>Preferences>Startup Services, but this is no longer the case it seems. I've tried tinkering with the runlevels in gdm.conf, but haven't had any success with it so far. I've tried commenting out the startup code in the gdm.conf as well. Also no luck.

Most of what I've found are older guides for Karmic and earlier, so if anyone has a more up-to-date solution for how to disable the gdm so I can auto-login to a terminal in Lucid

View 4 Replies View Related

Ubuntu :: Disable Sound When Lucid Boots Into X?

May 12, 2010

I would like to disable the start up sound when Lucid boots up and enters X. I have already unticked:

System, Administration, Login Screen: [ ] Play Login Sound

Yet I still get the login sound.

View 8 Replies View Related

Ubuntu / Apple :: How To Disable Lucid Upgrade

May 22, 2010

I've just installed Kubuntu 9.10 on a friends powerbook g4 and it's running wonderfully. I don't want to upgrade to Lucid, I tried it and it ran not so good on this computer. How can I tell it to stop offering to upgrade to the next release? (I only want the automatic upgrade notification to appear for normal upgrades and not include Lucid, or have Lucid option to appear at all).

View 8 Replies View Related

Ubuntu :: How To Disable Touchpad In Lucid Lynx

Jun 13, 2010

I don't know how many has had this problem, but I understand I am not the only onehe problem is that after using synclient to disable the touchpad in 10.04 it would enable itself, seemingly, at random.Well, what I found was that unchecking the "Disable touchpad while typing" feature in "System->Preferences->Mouse->Touchpad" will fix the problem.Apparently the system does not recognize that the user has deliberately disabled the touchpad. And so it will reenable it when the user is "done typing".

View 5 Replies View Related

Ubuntu Servers :: Disable Ctrl-alt-del On Lucid Server?

May 11, 2010

I would like to disable the ctrl-alt-del feature for a Lucid Lynx server.
i found some info on how to enable this in desktop environments, however nothing explaining how to disable it for a server.

View 3 Replies View Related

Ubuntu :: Disable Frequent Disk Checks In Lucid?

May 11, 2010

Since upgrading (fresh install) to Lucid, I've been having to go through disk checks about once or twice a week on boot. I'm not sure why Lucid thinks it needs to check my disk so often. I looked into it a bit, and found a command that was supposed to stop disk checks happening so often.

Code: sudo tune2fs -i 2w `mount | awk '$3 == "/" {print $1}'` is supposed to set it to 2 weeks. I used "/home" too as I have home on a separate partition and didn't want that to be checked too. All was fine until I booted up to find another disk check today. It can sometimes take over half an hour to finish and C to cancel doesn't always work either.

I always shutdown cleanly, unless Ubuntu completely locks up, which happens maybe once every six months (although it did happen yesterday, but I have rebooted it a few times since then with no checks happening until just now). Is there a way to just disable checks completely? I wouldn't mind running them manually every now and then, I just don't want to do it as often as Lucid does.

View 6 Replies View Related

Ubuntu :: [Lucid-Lynx] Disable GNOME Autostart?

Jul 11, 2010

How can you disable GNOME autostart in lucid, so it can be started only when i need it?

View 5 Replies View Related

Ubuntu :: Disable Center Mouse Paste In Lucid?

Mar 29, 2010

Anyone know how to disable the shortcut to paste using center button in Lucid? This is really really frustrating for me.

View 2 Replies View Related

OpenSUSE :: Dolphin Services - Get Mount / Umount Option Under Right Click Services Menu

Dec 7, 2010

So I want to get mount/umount option under right click services menu. I went to Dolphin -> Settings -> Configure Dolphin -> Services -> Download New Services and from there I installed KDE CDEmu Emulator and MountISO. But neither of them is showing up in actual context menu. Neither in Dolphin -> Settings -> Configure Dolphin -> Services for that matter. I tried to install them as normal user and as a root. I went to have a peak in /usr/share/kde4/services/ServiceMenus/ but they aren't there as well... It's just me or lots of things seems to be not quite working in 11.3?

View 9 Replies View Related

Ubuntu Multimedia :: Disable 3D (dri) In Lucid / Switch Off 3d Dri On Laptop To Save Power?

Jul 25, 2010

I want to switch off 3d i.e. dri on my laptop to save power. There is a bug in the intel video driver that makes it generate excess wakeups and thus increase power consumption. I don't use 3d so this is very annoying.

I have tried modifying /etc/X11/xorg.conf to insert an "NODRI" option in the "Device" section and have commented out both of the "load dri" commands in the "Modules" section. No go. When I look in the xorg log, these changes are seen but not acted on. The system appears to have hardwired defaults set somewhere which are difficult to override. It appears to be a new issue because with Karmic one still had control with xorg.conf.

Just generally I don't like changes like this because it is not documented on the wiki where and how to change the defaults in Lucid. Linux was supposed to be easily configurable so IMHO this is a step backwards.

View 1 Replies View Related

General :: How Can Vsftpd Services & Xinetd.d Services Can Be Differentiated

Sep 13, 2010

How can Vsftpd services & Xinetd.d services can be differentiated?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved