Disable autostart for a service without uninstalling? [duplicate]


Answer #: 1

This should do the trick :

Open terminal (CTRL + ALT + t) and type into

sudo update-rc.d tomcat disable

Basically update-rc.d will modify existing runlevel links for the script /etc/init.d/tomcat by renaming start links to stop links.

Answer #: 2

The disable|enable API is not stable and might change in the future. I suggest you use the following command to remove all the symlinks in /etc/rc?.d/:

update-rc.d -f tomcat remove

Answer #: 3

More generic and more visual, with a nice UI: sysv-rc-conf

Uncheck the boxes for tomcat7 (runlevels 2 to 5), quit and that’s it.

Answer #: 4

For upstart jobs, you need to disable service like this (e.g. mysql):

$ sudo -s # echo "manual" > /etc/init/mysql.override

Answer #: 5

depending on your setup, you can search for ‘startup applications’ in the dash and control everything that starts at startup from...

0 0


This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and when you start various built-in Windows applications like Internet Explorer, Explorer and media players. These programs and drivers include ones in your startup folder, Run, RunOnce, and other Registry keys. Autoruns reports Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond other autostart utilities.

Autoruns' Hide Signed Microsoft Entries option helps you to zoom in on third-party auto-starting images that have been added to your system and it has support for looking at the auto-starting images configured for other accounts configured on a system. Also included in the download package is a command-line equivalent that can output in CSV format, Autorunsc.


0 0

Can't connect to My. SQL server on 'localhost' (1. Description. I am often find the same quetions from mysql.

Now I am. using windows 2. Can't connect to My. SQL server on 'localhost'.

These steps finally got me into the 'mysql' command with a password on the root user: 1. create service with only non-transactional db, and without security check.

I am saw mysql service started run. So I have try use dos command E: \My. SQL5\bin\mysqld - -console. I close the dos. command window after, mysql down and cant work again. The questions have been many times and ask for friends help. This is my use - -console command after mysql will work. Using Mysql 5. 0.

I've run into a brick wall trying to install MySQL v5.5 on my machine. My PC is Windows 7 x64, Enterprise edition. MySQL installs fine, but when I run the 'MySQL. Some people were successful to have wamp running by installing wamp first then installing other apps such as zone alarm, nod32, so on; however,...

0 0

CentOS 6

To add a service to autostart, there is chkconfig service. By default, freshly installed CentOS distribution package includes many additional services.

The syntax of the service:

chkconfig --list service_name

chkconfig --add service_name

chkconfig --del service_name

chkconfig [--level levels] service_name

chkconfig [--level levels] service_name

You can see loadable services with the following command:

chkconfig --list | grep on

Check whether httpd is included in autostart:

chkconfig --list httpd

Set performance level 3 and check:

chkconfig --level 3 httpd on

Enable the service at all levels:

chkconfig httpd on

RedHat Linux distribution packages such as CentOS, Fedora includes SysV Init, which consists of 6 levels of system boot (runlevels).

0 — Halt

1 — Single-user text mode

2 — Not used (user-definable)

3 — Full multi-user text...

0 0

We provide not only system app remover, butalso user app uninstaller, move app to sdcard, move app to phone,apk on sdcard scan/install/delete, rooting guide help.[System app]Note: uninstall system app need root permission, and we do notprovide root method.Compare to other similar products, System app remover:*******************• Safe, we filter out all apps that may cause unstable afteruninstalled, and had tested hundreds of devices, so you can use itsafely, but we can not make sure 100% safe because of manufacturersmay customized too much, also, we backup all app you uninstalledautomatic, so you can restore them in Recycle Bin whenever youneed;• Clear, we classify all system app as [Could remove], [Shouldkeep], [Key module], so you can choose what app to uninstallclearly;• Easy, we provide you a way to uninstall multi app in one time,make you easy to go;• Small, we release all memory allocated while app exit, and maythe smallest app;*******************[move to sdcard]If we...

0 0

Extensions, themes, and plugins are all types of add-ons for Firefox. This article describes how to disable and remove add-ons in Firefox.

Disabling an extension or theme will turn it off without removing it:

At the top of the Firefox window, click on the buttonOn the menu bar, click on the menuAt the top of the Firefox window, click on the menu, and then click . The Add-ons Manager tab will open. Click the menu button and choose . The Add-ons Manager tab will open.

In the Add-ons Manager tab, select the panel. Select the add-on you wish to disable. Click its button. Click Restart now if it pops up. Your tabs will be saved and restored after the restart.

To re-enable the add-on, find it in the list of Add-ons and click , then restart Firefox if required.

Disabling a plugin will turn it off without removing it:

At the top of the Firefox window, click on the buttonOn the menu bar, click on the menuAt the top of the Firefox...

0 0

Have you come across a situation where uninstalling a software leaves its Service or driver entries in the registry, and Windows tries to load them at every boot, fails and logs the error to the System Event log at every startup? Here is how to delete an orphaned or unwanted service or driver from your system in any version of Windows, including Windows 10.

Before modifying the Services configuration, create a System Restore point and/or a complete Registry backup.

View Dependents of a Service

When you remove a service, other services that depend upon the service would fail to start, returning error "System error 1075 has occurred. The dependency service does not exist or has been marked for deletion.". So, it’s advisable to first check if there are any other services that depend on the service you’re going to remove.

You can check that in Services MMC by double-clicking on the service you’re going to delete and clicking the Dependencies tab....

0 0

Currently there are actually three different ways for software to be started as a service in Ubuntu, SysV, Upstart and systemd. A service is defined here as a program run by the system in the background, as opposed to one started and run directly by the user.


The traditional way to start services in Linux was to place a script in /etc/init.d, and then use the update-rc.d command (or in RedHat based distros, chkconfig) to enable or disable it.

This command uses some mildly complicated logic to create symlinks in /etc/rc#.d, that control the order of starting services. If you run ls /etc/rc2.d you can see the order that services will be killed with a file name like K##xxxx and started with file names S##xxxx. The ## in S##xxxx means a "start order" for service xxxx. Conversely, the ## in K##xxxx means the kill order for service xxxx.

One major issue with SysV was that when booting the system, everything had to be done in serial, one thing after...

0 0

The Reg.exe utility from the Microsoft Windows NT Resource Kit must be installed on your computer.

To change the startup value for a service on a local computer by using the command line, type the following at the command prompt and then press ENTER: REG UPDATE HKLM\SYSTEM\CurrentControlSet\Services\servicename\Start=X where servicename is the name of the service as it appears in the registry and X is either a 2, a 3, or a 4 (representing automatic startup, manual startup, or disabled, respectively).

To change the startup value for a service on a remote computer by using the command line locally, type the following at the command prompt and press ENTER: REG UPDATE HKLM\SYSTEM\CurrentControlSet\Services\servicename\Start=X \servername where servicename is the name of the service as it appears in the registry, X is either a 2, a 3, or a 4 (representing automatic startup, manual startup, or disabled, respectively), and servername is the name of the remote...

0 0

This question already has an answer here:

For some reason I need to disable a system service on boot. In my case this is the Avahi Daemon. I just don't want it to start on boot.

In previous Ubuntu releases (e.g. 12.04) I could do

sudo update-rc.d avahi-daemon disable

However on 14.04 it shows

update-rc.d: warning: start runlevel arguments (none) do not match avahi-daemon Default-Start values (2 3 4 5) update-rc.d: warning: stop runlevel arguments (none) do not match avahi-daemon Default-Stop values (0 1 6) System start/stop links for /etc/init.d/avahi-daemon do not exist.

And Avahi is started on boot. How can I disable this? I'm looking for a command line way of doing this.

And please care to explain what happened here? Some change in a recent Ubuntu release broke the use of update-rc.d? I suspect I'm missing something...

0 0

Learn about filtering for unique values or removing duplicate values

Filtering for unique values and removing duplicate values are two closely related tasks because the displayed results are the same — a list of unique values. The difference, however, is important: When you filter for unique values, you temporarily hide duplicate values, but when you remove duplicate values, you permanently delete duplicate values.

A duplicate value is one where all values in the row are an exact match of all the values in another row. Duplicate values are determined by the value displayed in the cell and not necessarily the value stored in the cell. For example, if you have the same date value in different cells, one formatted as "3/8/2006" and the other as "Mar 8, 2006", the values are unique.

It's a good idea to filter for or conditionally format unique values first to confirm that the results are what you want before removing duplicate values.

Top of Page

0 0