Ubuntu :: How To Stop KVM Start At Boot
Mar 10, 2010
Host - ubuntu 9.10 64bit
Virtualizer - KVM
I need to stop KVM starting at boot. I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
Code: blacklist kvm
blacklist kvm-amd Reboot PC
It doesn't work.
$ lsmod | grep kvm Code: kvm_amd 41556 0
kvm 190648 1 kvm_amd
What further command I have to run in order to activate the new blacklist.conf ?
View 2 Replies
ADVERTISEMENT
Jan 3, 2011
how to start or stop Jboss at boot time?
View 1 Replies
View Related
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
Dec 10, 2009
I have 3 script BASH. I want start this script when the system start,stop and reeboot.
View 4 Replies
View Related
May 30, 2010
When copying files to USB drives, the file progress bar moves it 'bursts', sometimes doing nothing for long periods, then moving forward quickly and stopping again.It's almost like it is showing the transfer to the cache, not the transfer to the actual drive.
View 5 Replies
View Related
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
Jul 25, 2010
i installed linux ubuntu 10.04 successfully.it only works for a few minutes then the mouse and the keyboard start to stop working, they completely freeze then i have to restart the computer.
View 1 Replies
View Related
Jul 18, 2010
This should not be this difficult. I have a plain install of Ubuntu 10.04 64 bit with a wired network card. It picks up a private IP address from my router. It has an app called NetworkManager Applet 0.8 in the notification area of the panel. If I right click on this app and select "Disconnect" it does. ifconfig shows that the IP address is gone. I can then right click on the app again and "Auto eht0 and I am connected again and ifconfig shows the IP address restored. So far, so good. I was testing a crossover cable to see how fast I could transfer files to/from my server - both machines have gigabit cards but my switch is only 100 Mb.
I unplugged the PC from the router, hooked up the crossover cable to the server and found that I had no connectivity - the IP address was gone. Not wanting to mess with hard configuring IP addresses for the moment I connected the PC back to the router. When I unplugged the cable the app showed the networking disconnected icon. I tried right clicking on the app and unchecking [ ] Enable Networking then rechecking it. This works on my netbook running Ubuntu 9.04. No luck on 10.04 (and I had not tried the Auto eht0 as described above - did not discover that until later). So then I tried to fix it from the command line.
ken@taylor12:~$ sudo /etc/init.d/networking start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service networking start
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g.
start networking
networking stop/waiting.
So I then tried
ken@taylor12:~$ sudo service networking start
networking stop/waiting
but still no connectivity. A reboot got things back in order.
Then I did a little more testing.
ken@taylor12:~$ sudo /etc/init.d/networking stop
* Deconfiguring network interfaces...
Ignoring unknown interface eth0=eth0.
and I am still connected.
Editing Connections within the NetworkManager Applet shows "Auto eth0 - last used never" even though I have used it. [Edit] Auto eth0 via the app appears to show information about my wired NIC.
ifconfig shows eht0 as active
ken@taylor12:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2234 errors:0 dropped:0 overruns:0 frame:0
TX packets:2407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
bytes:1824427 (1.8 MB) TX bytes:404086 (404.0 KB)
Interrupt:17
View 2 Replies
View Related
Mar 4, 2009
I'm trying to start/stop Informix along with my linux os start/stop. For this I've made a test script in order to test this but I'm facing a problem. The service is starting along with the system but when I'm stopping (rebooting) the system it doesn't run the "K10test" script.
After sistem reboot you can see that the /etc/init.d/test stop is not executed.
View 11 Replies
View Related
Oct 28, 2009
i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
View 6 Replies
View Related
Apr 30, 2010
I upgraded from Kubuntu 9.10 to 10.04. 32 bit. The install had not finished as it barked at tripwire config. I have had to stop it and continue from command prompt. More or less the install went OK. After the install, mysql 5.1 does not want to start or stop. Commands
/etc/init.d/mysql stop ( or 'stop mysql' , or service mysql stop' )
/etc/init.d/mysql start
Do not finish - do not return to command prompt. No log messages insyslog or mysql logs. Say, I do 'service mysql start', the command does not return, I click Ctrl+C, then repeat the command. This displays :
'start: Job is already running: mysql'.
Of course mysql is not running. I've tried to remove and reinstall the packages. No result. There is 'stop mysql' command in one of install scripts that hangs.
View 9 Replies
View Related
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
Oct 23, 2010
I need to stop a program when notebook goes on battery and start it when using AC. I'm using 10.10 netbook edition.
View 2 Replies
View Related
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
Jun 12, 2011
I'm running Ubuntu 10.04 LTS and I have installed openssh.I need to find a way to configure it so that it never start up when I boot into my computer. The reason is: I haven't had the time yet to learn how to set it up and configure it correctly. Until that time comes I don't want it to run at all.Every single time I boot into the system and I have to do that first before I can even do what I really need to on the computer. It's annoying.Does anyone know the best and least complicated way to just make it not run at all until I'm ready to set it up properly?Also how to check what is running on my system after I boot up so I can double check, after making the changes, that it worked right.
View 9 Replies
View Related
Mar 7, 2010
I set Kmail to launch on start up but now no longer wish for it to do so. However, i cannot find the setting i changed in the first place.
View 4 Replies
View Related
Feb 22, 2010
After much work finding the bits and bobs to get my PCI controller based modem working in Ubuntu 9.10, I need a better way to start and stop it. Now it dials up when I reboot whether I want to be online or not. I can stop this, but it won't dial up again without a reboot.
I would love a way to push a button to get it to connect and disconnect, and blinking lights (like the green computer screens in WinXP) to tell me when I am communicating. Even better would be a way to set up multiple connections, again like in XP so I could use a variety of numbers and/or user names depending on where I am.
View 1 Replies
View Related
Mar 11, 2010
I would like to be able to simply run a shortcut file or batch file in a windows os to start or stop my transmission-daemon.I was thinking about using putty to auto login and execute a file using the -m switch. A problem I am running into is that /etc/init.d/transmission-daemon stoprequires the use of sudo.That would require entering a password which would be automated and insecure or would require manually typing int he password.
View 1 Replies
View Related
Sep 27, 2010
I've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.
I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.
View 2 Replies
View Related
Apr 4, 2016
I'm running Debian 8.4 on a Lenovo W500 laptop and I recently upgraded from kernel version 3.2.0-4 to 3.16.0-4. Since then I encounter issues with lightdm (I suppose) which manifest themselves in two different scenarios:
1) scenario 1: lightdm fails to start.Instead of showing the graphical login screen, the system boots into terminal. Lightdm seems to be running, but I can't enter the X-Session (Alt+Ctrl+F7 doesn't work), nor can I restart the lightdm via
Code: Select all# service lightdm stop
# service lightdm start
dmesg shows the following (I've only pasted the end of dmesg):
Code: Select all[ 240.100071] INFO: task kworker/0:2:39 blocked for more than 120 seconds.
[ 240.106512] Not tainted 3.16.0-4-amd64 #1
[ 240.112956] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.119494] kworker/0:2 D ffff880155155a48 0 39 2 0x00000000
[code].....
and /var/log/lightdm/lightdm.log shows errors of type
Code: Select allGtk-CRITICAL: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
when I then try to shutdown via
Code: Select all# shutdown -h now
the OS gets stuck on a message of the form
Code: Select allirq 17: nobody cared
and eventually I have to force a shutdown by holding the poweroff button.scenario 2: lightdm starts, but can't be stopped/In this case I can login and use the system as usual, but when I try to shutdown either via # shutdown -h now, or via the GUI or the power button, the system gets stuck and I have to force a shutdown by holding the poweroff button.It seems that people had similar issues on other distros (see e.g.: URL... but there doesn't seem to be a good fix so far. I can for now solve the issue by downgrading the kernel to 3.2.0-4, but I was wondering if there is a permanent fix.
View 6 Replies
View Related
Aug 24, 2011
I am trying to make a web server with debian 6 and i want a xfce dsektop when i need to open files,extract,navigate but to be able to turn it off when i dont need it (to save ressources).I already installed it with aptitude install xorg and aptitude install xfce.
View 4 Replies
View Related
Feb 25, 2010
Fedora 12 64bit KVM
How to stop KVM start at booting?
Then how to start it after booting?
View 4 Replies
View Related
Feb 25, 2010
i am using putty to connect to my server and wanted to restart mysql server. searched the internet and found thatcommand is /etc/init.d/mysqld start or stopbut it did not worked.then tried /etc/init.d/mysql stop or startthis also did not worked.
View 6 Replies
View Related
Sep 24, 2010
I use a centos VPS with 1gb memory and enough space and brandwidth (if this info is off any use). What I want to achieve is that I can start and quit a process that is running in a screen, with using a script.
Like start.sh that does "screen serverapp1"
and stop.sh that does "kill serverapp1"
I already tried something like that, but it didn't work. The kill command only works with process ID's and that one is variable.
View 8 Replies
View Related
Feb 10, 2011
Sometimes I use vnc server and start desktop. The memory use rises about 2gb during this. I need to be able to turn off the xwindows after I shutdown vnc without rebooting. Is there a way to do this?. And I don't need to know how to disable at boot thats not what I need to do.
View 5 Replies
View Related
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
Feb 1, 2010
How to start or stop telnet service in red hat Linux 5
View 2 Replies
View Related
May 26, 2009
I would like to start and stop rtorrent based on my screensaver. I used to do this awhile ago with ubuntu and still have my script. However now I am using Fedora with KDE and the script no longer seems to work.
#!/usr/bin/perl
#gnome
my $cmd = "dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver',member='SessionIdleChanged'"";
open (IN, "$cmd |");
while (<IN>) {
if (m/^s+boolean true/) {
#when screensaver activates, run the following commands
#system("/home/eric/compiled/scripts/rtorrentstart");
system("touch /home/asoukenka/rtorrenthasstarted");
} elsif (m/^s+boolean false/) {
#when screensaver deactivates, run the following commands
#system("kill `pgrep rtorrent`");
system("touch /home/asoukenka/rtorrenthasbeenkilled"); } }
Old Post [URL].
View 6 Replies
View Related
Feb 9, 2011
I have installed squid 2.7 in my red hat Linux box.I need some guidance regarding to start and stop squid service. Normally when squid configuration file is n /etc/squid/squid.conf and we want to start the service we use # service squid startand to stop the service we use# service squid stopNow squid is inCode:# /usr/local/squid/etc/squid.confhere the default # service squid start and # service squid stop does not work.
View 6 Replies
View Related
Sep 24, 2010
What I want to achieve is that I can start and quit a process that is running in a screen, with using a script.
Like start.sh that does "screen serverapp1 ./serverapp1"
and stop.sh that does "kill serverapp1"
I already tried something like that, but it didnt work. The kill command only works with process ID's and that one is variable.
EDIT:
What I've tried (because google is my friend):
[servercod4001@datacenter-196 ~]$ screen -ls
There is a screen on:
11343.servercod4001 (Detached)
1 Socket in /var/run/screen/S-servercod4001.
[Code]....
View 3 Replies
View Related