Software :: Wait For One Process To Stop Before Starting Another?
Jul 13, 2011
I have a certain process (or processes) and I want to wait for them to finish before launching another one. Do I have to make a while loop checking the process for this task or is there a ready command for it?
View 3 Replies
ADVERTISEMENT
Dec 10, 2010
I'm running Ubuntu 10.10. I recently installed the open ssh server so that can sftp stuff. However, I do not want the server to always be on, only when I manually start So, I did an 'update-rc.d -f ssh remove'and now I don't see any startup scripts in the rcx.d directories any more.However, when I do a 'ps ax', there is always a '/usr/sbin/sshd' process running. I try to kill it but it keeps restarting under a different process ID.How do I disable sshd?
View 3 Replies
View Related
Nov 11, 2010
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies
View Related
Aug 24, 2011
I have a small question.We use a backup program, that start an sepparat process with the name SIDB.When the server get an shutdown command. The normale back-up process is stoped. But the SIDB is not stopped correctly. But the shutdown proces should wait till the SIDB proces is stoped, and then proced with the shutdown process
View 2 Replies
View Related
Nov 3, 2009
I have a start and stop script registered with chkconfig for a fuse mounted drive. I can /sbin/service scriptname start
and
/sbin/service scriptname stop
with no issues.
The stop script unmounts the drives and then stops the service with a function to wait until the pidof service is gone. My drives are showing up as dirty on reboot, which should mean that my script that functions normally in cli, is running out of time and possible being ignored by service after a certain wait period when shutdown -h now is issued. System is a remote server so I can not view the output during shutdown. How can I increase the wait before /sbin/service issues a [FAILED] if that is the case on shutdown? The startup script runs, however the shutdown script does not...the script does work though with the service scriptname stop command.
View 5 Replies
View Related
May 3, 2010
Installed 10.04 last night and started to have some troubles with the computer.On the Ubuntu side my start-up speed has increased by quite a bit.I get a long pause after I select 10.04 from my grub screen "Starting up..." takes a while.meone mentioned something about having Grub 2 vs Grub 1?It does say Grub Loading Stage 1.5 as it starts up...
Someone else mentioned something about driversSystem -> Admin -> Hardware DriversThree drivers appear.1) NVIDIA accelerated graphics driver (version 173)2.) Broadcast STA wireless driver3) NVIDA accelerated graphics driver (version current) [Recommended]The third one is activated, so that feels right.And then, on the Windows side of things.Right after I installed 10.04 and then tried to select my window's partition it would not load. It just got stuck in a never ending loop of "Starting Windows...". Had to force shut down and then Windows made me go through this long process of trying to revive it to an older point
View 9 Replies
View Related
May 23, 2011
I have a doubt about signals in C programming. I have done this little program to explain it. It creates a child process with fork and, when the child ends, receives the SIGCHLD signal and wait for its termination.Ok, quite easy, BUT when I execute this code the SIGCHLD signal is received twice, first as an error (returns -1) and the second one to finish the child process.I don't understand the meaning of the first received signal. Why is it generated? Is the code wrong? (if you add the SIGINT and press Ctrl+C during the execution it also receives two signals instead of one)
Code: #include <stdio.h>
#include <unistd.h>
#include <string.h>
[code]....
View 4 Replies
View Related
Mar 23, 2010
I have a Ubuntu desktop install I would like to stop X11 from starting up on bootup. I want to do this to try to set up stand alone xbmc and Mythtv without X running since it is a low spec machine. (appleTV)
Is it just a rc file I need to edit ?
View 3 Replies
View Related
Dec 4, 2009
After experimenting with wicd I've gone back to network manager. All is well on the networking front however I am having trouble stopping wicd completely.I've stopped it starting up the daemonchkconfig --list | grep wicdreturns emptybut when my kde windows starts up the wicd try icon start up.
View 9 Replies
View Related
Feb 4, 2010
My question is, how do I stop Skype from automatically starting up in Ubuntu 9.10 (Kernel 2.6.31-17-generic).
Skype is not in "System" "Startup Applications". If placed there two sessions Start.
View 2 Replies
View Related
Dec 8, 2010
What is the proper way to stop tftpd from starting up? There is no numbered rc script symlink for it so I can't use update-rc.d. I don't want to just hack a file unless that is considered "the way".
View 4 Replies
View Related
Jan 9, 2010
I recently upgraded to zenwalk 6.2 and xscreensaver now starts automatically so i have to input my password whenever i shut and reopen my laptop lid. how can i stop it from auto-starting.
View 3 Replies
View Related
Jun 18, 2011
my mouse is not being seen so I need to log in without the xsession autostarting to get a cmd line login.
my account will not let me login with my passd so the console is my only access with root but i cannot do anything withourt a mouse.
1. How can i get logged in?
2. How can I stop xsession from autostarting on a reboot once i get loged in i can try to remove that setting and boot the box.
3. secure session lets me in but the xterm is not active so I cannot type any commands.
View 5 Replies
View Related
Apr 5, 2010
Ubuntu 9.10
Acer 7736
This machine has a combined key/indicator light to turn the wireless networking on/off The change of state of the switch is detected by software with the switch off iwconfig shows
[Code]...
View 2 Replies
View Related
Jul 15, 2010
Anyone know how to stop the pureftpd starting up automatically? I've tried the usual in /etc/init.d/pureftpd but it still starts and I need to log in and close it in the admin UI or in terminal.
View 2 Replies
View Related
Jul 10, 2011
A server like Lighttpd or Apache starts automatically at boot after you install it. How do I stop it from auto starting? I'd prefer to manually start it when I need it.
View 1 Replies
View Related
Jul 18, 2011
Running Ubuntu Server, installed xubuntu-desktop, but I don't want it to start up every time. How can I stop X from starting automatically?
View 7 Replies
View Related
Dec 28, 2009
How to stop starting daemons at boot time? For example:rc.bluetooth
View 3 Replies
View Related
Mar 24, 2011
I am tring to stop avahi from starting and running at all.I use kill PID and killall avahi-daemon and it will not go away, it comes back with a new PID. Does anyone know a way of stopping it?
View 2 Replies
View Related
Jul 7, 2011
I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.
View 2 Replies
View Related
Mar 16, 2010
how do i stop eth0 from starting up when i boot/login ??
View 4 Replies
View Related
Jul 10, 2011
I would like to stop network manager from starting up on boot. I have tried moving
Code:
/etc/init.d/network-manager stop
to rc.local and it did nothing but boot me into the CLI
I have also tried to put
Code:
sudo service network-manager stop and that did nothing also.
After I get network manager to stop on boot up. How do I make it so it will not auto connect to networks? My computer keeps on joining a different network on boot up. And I don't like this as some times I go to my banks website and I am on there network with out realizing it (because of the auto connect) Is there a way to stop this also?
View 6 Replies
View Related
Mar 1, 2010
i have installed mysql and its running fine. how i can stop mysql from auto starting when i start my machine
View 2 Replies
View Related
Mar 15, 2011
I have installed kernel 2.6.35-23-generic. Everything works fine, even better than 2.6.32. But i have one problem. Every time i select kernel 2.6.35-23-generic
in grub menu i get some error message, than disappers and boot process continue normally. And everything works fine. But i don't know what this message is. I checked dmesg, boot.log, CTRL-S doesn't work to hold the error message - this error is not logged anywhere.
So, what can i do?
View 1 Replies
View Related
May 1, 2010
I currently have sendmail installed. It starts as a daemon but I want to avoid doing that. I want to start it manually.Also am a dynamic host.so every time i start my computer my ip changes. I use ddclient to update my records at dyndns.com.but how to configure sendmail in the case of dynamic hosts since it looks at the file /etc/hosts which contains information about the static hosts.
View 2 Replies
View Related
Sep 10, 2010
I have a java service that needs to be run in a gnu screen session so that I can -r into it to access it's interactive shell. I would like this to run at start-up. More importantly, it crashes frequently so I need the service to restart itself when it crashes. How do I go about doing this myself? My previous experience with shell scripting amounts to putting ./service in a file and marking it executable. This will be running on a FreeBSD server, but I might put it on a Linux server soon also. So any caveats on the differences would be useful information.
View 6 Replies
View Related
Dec 2, 2010
I want to test that a process properly kills itself and restarts when it can't allocate needed memory. One idea I had was to start other memory-consuming processes and hope that OOM killer kills the process being tested, but 1) this isn't quite the same; 2) it may kill other processes instead; 3) since this is an embedded system, I don't have any programs available except for the system under test and BusyBox.Is there a more direct way to ensure that Linux won't allocate memory to a process?
View 1 Replies
View Related
Mar 10, 2010
I'm running an update, and get this:
Code:
The following packages will be upgraded:
apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common libcupsys2 libmysqlclient15-dev linux-libc-dev mysql-server
mysql-server-5.0 php5-imap sudo
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
[Code]...
View 1 Replies
View Related
Feb 27, 2010
I'll have a Sony VAIO AR290 with 2 HDD, earlier I'll have a Windows XP and SUSE and RAID was turned off. Now I turn on RAID in STRIPE mode for better productivity, Windows 7 installation was successful, It creates MBR partition (100 M and C: HDD. During SUSE installation(I've chose all parameters- swap and partition) installation process stop at 1% on "operating with HDD" and my VAIO dont answer on any key pressed (alt ctr del, ctr c, esc) and I'll should to turn it power off. During surfing web, I'll find some solutions to solve it by creating root partition but It hasn't any results.
View 7 Replies
View Related
Aug 11, 2010
I'm having small boot issue with my present Linux box, which is presently running Ubuntu 8.04 LTS. When booting from a Live CD, Ubuntu 9.xx+ or any other linux variant I have, the machine will come to a complete stop about half way into the boot process. I think this may have something to do with the WiFi card that I have installed. Are there any suggestions that could help me remedy this problem short of removing the card itself?
View 9 Replies
View Related