General :: How To Prevent A Process Starting
Jul 7, 2011I 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 RepliesI 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 RepliesI'm using hdparm -Y /dev/sda1 to force one of my HDDs to sleep upon system startup, but some process accesses it and it is turned on again. How can I disable the automatic startup of HDDs?
View 1 Replies View RelatedI have a couple apps that I cannot figure out how to prevent them from starting automatically upon logging in. They are NOT listed in my Startup Applications under preferences. For example, pidgin. Pidgin automatically starts at each login even though it is not in the startup apps nor can I find an option in pidgin itself. Tomboy is another. I always get an error that tomboy cannot be added to my panel when I restart. The error in the tomboy panel log is that tomboy is already running. Does ubuntu have a hidden "start up" folder like Windows does in the start menu? Where can I clear this file/folder?
View 3 Replies View RelatedI would like to know how to prevent the xfce4 from starting as well as the login window. I just want my tty7 just like my tty6. However I do want to be able to start xfce4.
View 1 Replies View RelatedOne of my ubuntu 10.04 boxes starts apache2 server automatically at boot. I know from the output of the command:
Code:
sudo /etc/init.d/apache2 status
I can't remember even setting that up, and I don't think it does so by default, since my other box in fact does not even have apache2 server installed. I can stop the server once I login, but is there a way to stop it from automatically starting the server, or even better, completely uninstall the daemon. I tried
Code:
sudo apt-get remove apache2
but that does not work. I guess the daemon is part of some bigger package.
Ristretto is starting with my Xubuntu... My pc has only 125MB of RAM... Is there a command to prevent ristretto of starting with the system? Are there any other ways to let my xubuntu faster?
View 3 Replies View RelatedI want to know, is there any way to prevent the multi-thread process from crashing if some errors (say, segmentation faults) occur in one of its child threads? I've found pthread_sigmask() function, but that does not seem to work:
Code:
#include <stdio.h>
#include <unistd.h>
[code]...
I have this expect process:
Code:
spawn -noecho telnet my.host.com
expect {
[code]...
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 View RelatedI 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 RelatedI 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 RelatedI'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 RelatedMy terminal text is unreadable. Where as the default output would usually fill half the screen it probably fills around 1/20th now. Basically it looks like the text is 1px in size. I was about to install a graphics driver (nvidia) but doh I can't see what I'm typing... I can't start gdm even after memorising the process of logging in and starting gdm (I think gdm is failing to start anyway) I'm using the default xorg.conf provided with the LiveCD;
[Code]....
Quote: init: ureadahead main process (274) terminated with status 59 Starting up... There is a blinking cursor under the 'S' in Starting. It doesn't boot or respond to any escape combinations that I know. Several retries have yielded the same screen. I read the original post and a few comments here about ureadahead, but did not find anything related to my problem.
View 1 Replies View RelatedI have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied
The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?
one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.
View 3 Replies View RelatedI have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
View 3 Replies View Relatedsend the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.
View 4 Replies View RelatedCode:
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
[code]....
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d
",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or something?
I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?
View 1 Replies View RelatedBrand new to Linux. Sort of got thrown in front of the bus if you know what I mean. The company I work for has a Linux server running CentOS 5.4 Company uses Linux for their Email, FTP and Web Server. Have been here a few years dabbling in and out of Linux and now that the old Admin has left the company.....I need to learn it ASAP. The server has run pretty solid until today.
The email server runs SendMail and SpamAssasin. Received lots of complaints today regarding extra SPAM. Noticed that SpamAssassin was not running. Tried to restart it through the WebMin tools and got the following error: Starting spamd: child process [3956] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2588.
I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.
View 9 Replies View RelatedI've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.
View 5 Replies View RelatedI want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
[code]....
Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.
I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done
The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.
My linux prevent CDs autorun! i wanna know what to do?
View 1 Replies View RelatedI'm currently copying a large number of files over a network. To monitor progress, I tried running watch du. However, the output never changed (or not much, not sure). find . -type f | wc -l always gives me the same number of files as does ls -R. It seems, these programs use caching, which is, in general, a good thing. Does anyone know, though, how cache usage could be controlled? I'm on an Archlinux system and I'm working on an ext4 fs on an encrypted hd.
View 4 Replies View RelatedHow to change this sequence to, for example "Ctrl+Fn+F1" or temporarily disable it?@related: How to send Ctrl+Alt+F1 to window (to switch terminal remotely, not locally)?
View 1 Replies View Related