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


ADVERTISEMENT

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 :: How To Stop Ssh Server From Staring At System Startup

Feb 9, 2010

I have just installed the ssh server package for Ubuntu. How can I stop it from running at system startup?

View 3 Replies View Related

Red Hat / Fedora :: Restart / Start / Stop All Services At The Same Time Without Rebooting?

Jan 7, 2010

is it possible to restart /start/stop all services at the same time without rebooting?

View 3 Replies View Related

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 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

Slackware :: Stop At Boot Time To Increase Booting Time?

Mar 5, 2010

It looks,slackware is taking too much time to boot. It's starting daemons at boot time.

What are those daemons that i can stop at boot time to increase booting time?

What's the best way to stop starting daemons at boot time?

View 14 Replies View Related

General :: Start X Server And App At Boot (or Services Load) Time

Oct 14, 2009

I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.

With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].

How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.

View 5 Replies View Related

Ubuntu :: How To Stop Disk Check Every Time On Boot Up

Dec 19, 2010

Every time I boot up I have to go through a disk check and then restart, how do I stop it from happening? When the disk checks happening I press escape and it usually says its deleted inode something because it has zero Dtime or some thing similar and also a paragraph of repeated lines saying something like all system files need alsa base.cnfg it will be ignored in a future release then the disk check completes and it restarts and is fine then, also sometimes it says dev/sda5 (my ubuntu partition) was not cleanly unmounted check forces. Is their a way to stop this happening as it ends up taking ages just to login.

View 3 Replies View Related

General :: Terminal Command / Centos Server Starts Mysqld, Httpd And Ftpd Services At Boot Time Automatically?

Dec 27, 2010

Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?

View 2 Replies View Related

Server :: Start Or Stop Jboss At Boot Time?

Jan 3, 2011

how to start or stop Jboss at boot time?

View 1 Replies View Related

Slackware :: How To Stop Starting Daemons At Boot Time

Dec 28, 2009

How to stop starting daemons at boot time? For example:rc.bluetooth

View 3 Replies View Related

Slackware :: Stop Wicd Daemon At Boot Time?

Feb 20, 2010

If i do

Code:
su
password:
cd /etc/rc.d
chmod 644 rc.wicd
chmod 644 rc.wireless
will it do the job?

View 5 Replies View Related

Ubuntu :: Stop Services Without Sudo?

Sep 12, 2010

I am working on a notebook which has both gnome and wmii. I am trying to find a way to script stopping various services when booting into wmii however the "service xxx stop" requires sudo..Is there a way to allow a user to manage services without the need for sudo (aside from password-less sudo)? I assume there are permissions complications with writing the PIDs, etc. Is there a 'simple' solution? Even possible passwordless sudo just for the 'service' command?

View 2 Replies View Related

Ubuntu :: Can't Find App To Stop And Start Services

Jun 27, 2010

I thought it was in the System>administration menu somewhere, but I just can't see it. What is it called, and where do I find it please?

View 9 Replies View Related

Ubuntu Networking :: Stop & Restart Wireless Services

Apr 1, 2010

Xubuntu 9.10 on a DELL Inspiron 1150.I have a problem with intermittent dropping of my wireless connection ( see Belkin 7010 thread).Once dropped, the wireless will NOT reconnect (It just sits there saying "connecting" but never does) Same happens if I manually disconnect - I can never re-connect. On rebooting it will reconnect fine & all is well for sometimes 4 hrs.How can I kill all wireless services & restart them without having to reboot the laptop?

View 3 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

Red Hat / Fedora :: Services Start Then Stop After Few Minutes

May 7, 2009

I have several services set to start in init 3 on a cloud provider. The init scripts appear to be in the correct folder but the services are never started after a reboot. I finally watched the console and all the services start correctly then shutdown after a few moments.

View 9 Replies View Related

CentOS 5 :: PC / Desktop What Services To Stop And Uncheck?

Jul 29, 2009

Just installed 5.3/gnome.I am on pc/desktop with only wired internet connection via routerto dsl-modem. The OS sets-up the "eth0" automatically.For just this type of setup what services can I disable and uncheck ? In System>Admin.>Services I unchecked and disabled bluetooth,isdn,pcscd and sshd. Should I disable sendmail, avahi-daemon, portmap,rpcidmapd,rpcgssd and.apmd(no laptop)? Goal is to minimize unneeded services and improve security. The wiki article on securing CentOS did not cover this.Under System>Security Level Configuration I allow ftp,Mail(smtp), and WWW(HTTP). Is the ftp allowed ok for my pc/desktop?

View 3 Replies View Related

Red Hat / Fedora :: Unable To Stop Oracle Database Services

May 23, 2009

Currently using oracle 9i with 3 database(maindb,arist,samp) in redhat 5.3 server .I want to stop 2 database "maindb" and "samp" manually ( in XP or Vista we can stop service oraclemaindb and oraclesamp ), but in redhat i dont know how to stop services and how to see currently running oracle services.

View 1 Replies View Related

Software :: How To Stop Services Printing Messages To Terminal

Jan 6, 2011

Every now and then on my non-graphical console-orientated Debian Squeeze system, some services see it fit to spill their juices all over what I am doing.

A message about a service stopping/starting/restarting prints at the location of my cursor ontop of whatever I was doing at that moment, forcing me to either redraw ( if the currently running application supports it ), background and then foreground what I'm doing or clear the screen if at the shell.

Code:
* Restarting OpenBSD Secure Shell server sshd
* Restarting advanced system logger rsyslogd
How can I stop these messages appearing? Even better would be to send them to /dev/tty8 where I've configured rsyslogd to write.

View 2 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

General :: How To Change Threshold Time In Nagios Services

Jan 5, 2010

I have installed nagios in a CentOS vm and now its monitoring the local host, one remote host which is also a vm with CentOS 5.3 and one windows xp system. Is there any option for me to change the threshold time for the services given? For e.g. I had a service of current_load which comes as a default plugin while installing nagios itself. What should I do to change the threshold value of the current_load so that I might get the warning or error alert some time earlier as it was now.

View 5 Replies View Related

Ubuntu Networking :: Simple Dual Wan - Redundancy ONLY - Services Will Only Respond On One Interface At A Time - Not Both

Dec 22, 2010

I recently added a second interface to my Ubuntu 9.10 server, I now have a dsl AND Cable connection for it, Im not trying to load balance or anything sophisitcated, heres my problem.

The machines networked, I put static entries in my dhcp servers and both interfaces are up and live with dhcp, and Ive tried with dhcp and static, same problem occurs.

But my problem is that services will only respond on one interface at a time, not both.

Anyone know what the heck is going on here?

Kernel IP routing table

Should I make them static and remove both gateways?

View 1 Replies View Related

Ubuntu Servers :: Configure The Order Of Boot Scripts When Using Both Upstart And Legacy Init.d Scripts?

Apr 7, 2011

I've got an Ubuntu Server 10.10 with Bacula. Bacula is not using Upstart at boot time, it is started using legacy init.d scripts. MySQL on the other hand uses Upstart. This causes MySQL to start after Bacula, thus preventing Bacula director from connecting to the MySQL database - causing an error.I've tried to change the order of the init.d scripts in /etc/rc2.d, giving mysql the prefix S20 and bacula prefixes ranging from S90-S93, but to no avail. The bacula scripts are still loading before MySQL. how to configure the order of boot scripts when using both Upstart and legacy init.d scripts?

View 1 Replies View Related

Ubuntu :: 10.10 Time Keeps Changing - How To Stop It

Dec 2, 2010

I think I selected the wrong time during the installation and now at the top right corner, my time keeps changing back to one hour ahead. Not sure why.I've went into the Preferences of the Time/Date > Time Settings > and set an hour back manually. I check back in 30-45 minutes, it's back another hour ahead. I'm on a Dell Inspiron 1545.

View 1 Replies View Related

Ubuntu :: Stop Asking Every Time For Password To Authenticate?

Jan 27, 2010

i recently switched to ubuntu 9.10 from win vista, i am having a problem... in ubuntu when ever i do any changes it asks me for my password, i know that its for my own PC's securiety but now i am really annoyed with this.

View 1 Replies View Related

Ubuntu Installation :: HDD Seems To Stop Working After Some Time

Sep 29, 2010

I recently bought a Shuttle XS-35 Mini-Barebone-PC and filled it with a 2GB Corsair RAM and a 1 TB WD Scorpion Blue Drive.After assembling all the parts I simply wanted to install Ubuntu but it simply doesn't work. However then I had the idea it would be good to kinda get the drive to a completely clean state and used the tools to safely wipe the whole HDD (by writing zeros everywhere as the tool tells me). The tool ran good for around 30 minutes but suddenly the write speed showing in the console window would go down to 0B/s (meaning basically nothing at all I suppose). I tried it 2 more times and it always came to a halt at the 10-20GB mark.

So this lead me to belief that that is also the problem while installing, that my drive doesn't want to wark anymore but rather just sleep a bit.What could be the problem? Is it a hardware error? Is there some linux system setting that could whip my HDD whenever it gets lazy? Did I do something else wrong?

View 2 Replies View Related

Ubuntu :: Recording Several Desktops And Each Sounds At Same Time / Stop It?

Sep 28, 2010

I'm trying to develop a system that records different desktops at the same time. I have developed a audio-videochat system and I want to be able to record what happens in every room, so my starting idea was:

1) Open a graphic terminal for each room. I have succeeded using vncserver :NumberDisplay.
2) In each terminal, run firefox at each URL. I succeeded too because firefox lets me specify in wich NumberDisplay I want it to be open
3) In each terminal, run recordmydesktop to record. It allows too to specify the NumberDisplay.

My problem now is that it seems that the sound card is "shared", so the sounds recorded in the display 1 includes the sound generated in all others firefox windows. I havnt found an analogy for the sound as the display is for the graphics.

I have thought some ideas but I havnt been able to materialize anyone.
Im tried to create virtual sound cards and specify one for each vncserver, I tried to redirect the sound of each firefox window to one "channel" (read firefox delegates the sound so that might not be an option), I read many things about pulseaudio, jack and several stuff that I just havnt been able to work.

View 2 Replies View Related







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