Ubuntu Servers :: How To Use Start-stop-daemon To Execute Process

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


ADVERTISEMENT

Ubuntu Servers :: Batch Job To Start/stop Transmission-daemon?

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

Ubuntu Servers :: Kernel Log Daemon Always Stop And Restart Back Automatic?

Feb 22, 2010

waht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?

View 1 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

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

Ubuntu Servers :: Avoid Starting Sendmail As Daemon Process

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

Ubuntu :: Init: Failed To Spawn Ufw Pre-start Process: Unable To Execute: No Such File Or Directory

Jun 12, 2010

I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also

/var/log/boot.log

Code:

fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory

[code]....

Now I am using Live CD.

View 3 Replies View Related

Ubuntu Servers :: Start Dropbox Daemon At Boot On 10.04?

Dec 19, 2010

I am having some trouble making the dropbox daemon start at boot. I followed these instructions -> [URL], which are basically a replica of the original instructions from the Dropbox Wiki [URL]. The installation went fine, except that the machine still cannot start the daemon at boot. I tried to modify the init.d script a bit (see the attachment), but it still wont work (I am not sure if my changes made any significant difference, though). The daemon will only start if I invoke it manually after login with the command:

Code:

[user@machine:~]$ service dropbox start

Which executes the daemon just fine. I also tried adding this line of code to crontab:

Code:

@reboot /etc/init.d/dropbox start

This command starts the daemon if I check with the command "service dropbox status", but if I execute the official dropbox CLI command:

Code:

~/bin/dropbox.py status

it says that Dropbox isn't running and I still have to execute it manually.

P.s.: The machine runs Ubuntu Server 10.04, with all the latest system patches and updates.

View 3 Replies View Related

Ubuntu Servers :: Update Process (and I) Can't Stop Mysql?

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

Fedora Servers :: DHCPD Daemon Failed To Start

Mar 5, 2009

I just got the problem while starting the dhcp daemon. Its showing failed. I need to start it for my clients to be autoinstalled. I am having CentOS 5.2 linux. I've installed all optional packages also while installing CentOS. How to start the dhcp daemon? I've tried the /etc/init.d/dhcpd start also. But it didnt work. Showing Failed.

View 1 Replies View Related

Fedora Servers :: MySQL Daemon Failed To Start?

Apr 17, 2011

I am not able to start mysql server...when i type command sevice mysqld start it saysMySQL Daemon failed to start.Starting mysqld: [FAILED]so how to solve this problem ?

View 10 Replies View Related

Ubuntu Servers :: Stop Openssh From - Ever - Running At Start Up?

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

Fedora Servers :: How To Stop KVM Start At Booting

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

Ubuntu Servers :: Sometimes Does Not Start - Boot Process But Then Hangs

Oct 31, 2010

Running Ubuntu Server 10.04 32 bit. Sometimes when I reboot it does not start up, It seems to be going through the boot process but then just hangs. I have had a look at the log files and can't see anything, but I'm not really sure what I am looking for.

View 2 Replies View Related

Ubuntu Servers :: 10.04 - MySQL Process Does Not Start At Boot

Apr 13, 2011

On my Ubuntu 10.04 LTS Server, mysql does not start at boot. I tried this but does not work.
Code:
root@dev:~# chkconfig mysql ON

The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'K02mysql' missing LSB tags and overrides
insserv: warning: script 'S10vzquota' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs .....

How to make sure mysql process comes up automatically after every reboot

View 4 Replies View Related

Software :: Any Way To Stop ACPI Daemon

Jun 4, 2010

How can I do in order to stop the ACPI daemon. I need this to check history ACPI event.

View 3 Replies View Related

Ubuntu :: Stop VSFTPD Daemon From Loading At Boot?

Jun 9, 2010

I installed VSFTPD via: sudo gedit /etc/vsftpd.conf

I can start/stop using the following:
sudo /etc/init.d/vsftpd start
sudo /etc/init.d/vsftpd stop

By default, the daemon loads at boot but I don't want/need it to. I executed the following command thinking it would stop it from loading at boot code...

Can anyone tell me how to stop the VSFTPD daemon from loading at boot?

View 2 Replies View Related

Ubuntu :: How To Stop Avahi-daemon From Running And Starting Up?

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

Software :: Unable To Stop Mysql Daemon?

Mar 2, 2011

In my system I installed Oracle enterprise linux.while installing I installed Mysql also.

I checked the version which is 5.0.15

After my installation,I am installing Bugzilla 4.0.at that time it's showing below
===========================================================
Checking for DBD-mysql (v4.00) found v3.0007

For MySQL, Bugzilla requires that perl's DBD::mysql 4.00 or later be installed. To install this module, run the following command (as root):

/usr/bin/perl install-module.pl DBD::mysql
===========================================================
I ran below command
#/usr/bin/perl install-module.pl DBD::mysql

[Code].....

I can't able to stop mysql daemon

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

General :: Could Not Receive Return Value From Daemon Process?

Mar 17, 2011

each time my linux is booting, it check something like eth0 and something else. but there is something i write below that fail... Code: could not receive return value from daemon proccess?

View 3 Replies View Related

General :: Add A New Daemon Process In MINIX Operating System?

Oct 1, 2009

I want to write an operating system of my own ! I've started studying Minix. For getting started I wanted to know is there a way to write and add a background process [printing 'hello'] in the Minix operating system ?

View 7 Replies View Related

Programming :: Daemon Process Design Which Acts As A Tcp Proxy Server?

Mar 8, 2010

know abt daemon process and how it is used for acting as proxy server if nay tutorial is there for it .

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

Ubuntu Security :: Setup Sshguard In 10.04 - Cannot Manage The Log Daemon To Execute The Sshguard Command

Jul 4, 2010

I have been trying to setup sshguard in Ubuntu 10.04 and I cannot manage the log daemon to execute the sshguard command. Has anyone managed to setup sshguard under 10.04?

View 9 Replies View Related

General :: Execute File In Different Process On Ubuntu?

Oct 28, 2010

Means I want to execute two executables one by one at the same time as shown below:execute1
execute2these are two executables. but the second one is executed after 1st one is closed is there any way two execute both.One way isgnome-terminal -e execute1execute2but here i want to hide the terminal window..........

View 3 Replies View Related

Software :: Open Screen As Daemon Will Not Execute Command Unless Screen Is Opened?

Aug 5, 2011

In a nut shell, I have a program called OpenSim which is a 3D virtual world emulator. My ISP provides me with dynamic DNS so I have written a program that compares my external IP to the IP in a file called Regions.ini that OpenSim uses to go out to the Internet. If the IP's are different then I need to change the entry in the Regions.ini file and reboot OpenSim. The program works except for the fail safe I put in in case OpenSim crashes during shutdown which happens one in a while.Here is the code:Quote:

#!/bin/bash
EXCEED_TIME="N"
SERVICE='mono'
[code]...

View 1 Replies View Related

Ubuntu :: Start Daemon On Login?

Aug 11, 2011

I'm creating a script that I want to run every time any user logs in (not only on the GUI, but also via SSH or via text terminal). The script will check if a daemon program is running (one per user or per session, haven't decided yet) and, if it isn't, will start it. I want this to be system-wide, not per-user. I thought about using /etc/profile (or creating a file in /etc/profile.d/) for CLI logins and /etc/X11/Xsession (same remark, Xsession.d) for GUI logins. My problem is that if the user uses a non-Bourne shell (e.g. TCSH) this won't work. Is there any initialization script that is run no matter what shell the user has?

View 2 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

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

Ubuntu :: Failed To Execute Child Process Skype-wrapper?

Apr 6, 2011

Just figured this one out and thought I'd post it here in case it helped someone else. Skype just upgraded itself from 2.1 to 2.2. After upgrading it didn't start, and I got the message

"failed to execute child process skype-wrapper" First test out if skype runs from the command line, by running this in a terminal

Code: skype & If it runs, you're good to go: simply right click on the menu, locate your entry for skype and change the command to launch it from skype-wrapper to skype. The reason for this is that in the 2.1 version, skype needed a script called skype-wrapper to set some varibles before start up. Upgrading removes the script, but failed to update the menu entry.

View 5 Replies View Related

Ubuntu :: Execute Bash Script After Running Process Finishes?

Jul 28, 2011

I have a computation going which takes a long, but uncertain, amount of time. I have another computation which needs to be run, but _after_ the first one is done. I won't be at the computer at that time to manually start the new process. I've done some Googling, and I found how to delay execution by a specific amount of time (e.g. "start process x in exactly 8 minutes from now), but that isn't quite what I want to do. Essentially, I'd like to tell the shell, "When process #nnnn finishes running, then start process x". Is there a way to do this?

View 6 Replies View Related







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