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


ADVERTISEMENT

Ubuntu Networking :: Avahi-daemon Won't Start Automatically Sometimes?

Jan 25, 2010

Since I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?

View 1 Replies View Related

Ubuntu :: Get MySQL Daemon To Start When The Machine Starts Up?

Mar 17, 2010

I'm trying to get mySQL Daemon to start when the machine starts up (and it requires root privileges to run). The command to startup would be

Code:
sudo /etc/init.d/mysql start however that would prompt for a password, and that would not be very well possible now would it? Now, if i try to start it up without being root, it will not start. So this is my problem, maybe someone out there would know a bit more about this than me.

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

Hardware :: Bluetooth Daemon Will Not Start?

Jan 22, 2010

I cannot get the bluetooth daemon on my laptop to start - it is not running by default and running

Code:
sudo /etc/init.d/bluetooth start
does nothing.

View 4 Replies View Related

Software :: Can't Seem To Start Daemon As Another User

May 31, 2011

I want to start a daemon as another user, but it doesn't seem to work. What I'm trying to do is run svnserve (subversion server) as the apache user.

The following works, but it's run as the root user in this case

Code:
svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid
Trying to run as apache user doesn't work
Code:
su apache -c "svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid"

[Code]....

View 1 Replies View Related

Ubuntu :: Music Player Daemon Not Launching At Login?

Mar 16, 2010

I'm setting up Ubuntu based multimedia PC. I need instructions how to make Music Player Daemon to lauch at login. Tried to put it to startup programs but it still doesnt lauch. Could it be that wlan connection and network drive mount not are not established fast enough for mpd to launch? From terminal mpd launches normally and works perfectly.

Im using 9.10.

View 2 Replies View Related

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 :: Register A Daemon To Start Up At Boot Time In Lucid?

Aug 23, 2010

What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"

Code:

This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?

View 1 Replies View Related

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

Ubuntu :: Automatically Start Lsyncd Daemon On Server Reboot?

Jun 14, 2011

My problem now is that lsyncd does not automatically start if the server reboots. I need lsyncd to start automatically also using the --delay 5 option.

I've had trouble finding any info on this other that some Japanese sites (I cant read japanese) using chkconfig, although it didn't work as I think chkconfig is depreciated anyway.

View 3 Replies View Related

Debian Installation :: TeamViewer Daemon Won't Start

Sep 22, 2014

I am overseas at the moment, and the wife has been having issues with my machine. After many hours of trying to to talk her through doing things, one of my geeks suggested installing Teamviewer and doing it myself.

I have SSH and WinSCP from work. I am using amd64 so the first attempt to install failed due to unmet dependencies. Then I read the MultiArch bit, installed ai32-libs and the install seemed to work. When my wife tried to start TV, it stated that the daemon was not running. When I try to restart the daemon, I get this.....

Code: Select allroot@Champs-Desktop:/home/champs#  teamviewer --daemon restart

/etc/init.d/teamviewerd restart
Stopping teamviewerd... not running

Starting teamviewerd...method return sender=org.freedesktop.DBus -> dest=:1.242 reply_serial=2
   uint32 2

View 4 Replies View Related

Fedora :: Pulseaudio Daemon Failed To Start?

Nov 24, 2009

I've been trying to get my internal microphone to work in F12, and as part of the things I've tried I had the seemingly bad idea of reinstalling pulseaudio. The problem now is that pulseaudio fails to start... The following is from /var/log/messages, and is repeated several times:Code:Nov 24 08:51:20 localhost pulseaudio[6300]: main.c: Daemon startup without any loaded modules, refusing to work.

View 9 Replies View Related

Fedora :: Abrt Daemon Failed To Start?

Jan 7, 2010

I have fedora 12 32 bits installed on a Macbook pro (intel core duo) I did "yum update" this morning, I have restarted the system and got the following message:Starting abrt daemon: abrtd: Failed to start: got sig 2 FAILEDI have browsed in the web but I cannot find useful information. Then I typed:$rpm -qa | grep abrt

abrt-libs-1.0.0-1.fc12.i686
abrt-libs-1.0.3-1.fc12.i686
abrt-addon-kerneloops-1.0.3-1.fc12.i686

[code]...

View 2 Replies View Related

Fedora :: F12 - MySQL Daemon Failed To Start

Jan 25, 2010

I using Fedora 12. When I am going to start MySQL server then error is come

MySQL Daemon failed to start.
Starting MySQL: [FAILED]
MySQL Details :
mysql-5.1.42-2.fc12.i686

View 7 Replies View Related

Debian :: Disable Snort Daemon At Start Up?

Oct 5, 2010

Code:
test@denial:~# ps -e | grep snort
18470 ? 00:00:00 snort

how do i disable snort daemon at start up? i only want it to be running when i want it to be running.

View 7 Replies View Related

General :: Can't Start NTOP Service / Daemon

Jun 14, 2011

I have installed version of ntop 4.0.3 by guide.But I can't start ntop daemon/service. I didn't find a service file for starting.During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.

View 1 Replies View Related

Software :: Can't Mount An Image-because Can't Start Daemon

Oct 18, 2010

I recently built the following items of cdemu from the svn repository: libmirage, vhba-module, the daemon, and the client. I have the library installed, the kernel module loading on boot-up of my system, but aside from that, I can't seem to figure out how to use the client.

I have tried manually starting the daemon a couple of times, but can never get past that part. I can't remember the exact error offhand (away from home comp right now) but it was something to the effect of not being able to create the virtual device "0" in /dev.

What is the proper way to start the cdemu daemon?

View 1 Replies View Related

Software :: Unable To Start Nessus Daemon

Sep 22, 2010

I have a backtrack distro on a usb stick. I wish to do the following :-
(a) Partition the usb stick to have a ext3 filesystem, so that the instln may be persistent for the changes. But the fdisk utility creates partitions as dev/sdb1p1 and /dev/sdb1p2. These however, could not be accessed by mkfs utility. How to overcome this problem.
(b) Next , I downloaded the nessus .lzm file and put it in the /base/module dir. But unable to start the nessus daemon. It suggests an error regarding unable to create /opt/nessus and /etc/nessus/nessusd.conf. I think starting nessus as root would help but the problem persists!

View 1 Replies View Related

CentOS 5 Server :: Can't Start Mysql Daemon

Jul 26, 2011

I'm trying to install ispCP and i need to start mysqld but it won't seem to start. I'm somewhat of a nooblet to linux (have a year of VPS 'experience', but nothing too fance) so bear with me.

When i run "service mysqld start" it fails with the error: "MySQL Daemon failed to start."

I ran: "tail -n 30 /var/log/mysqld.log" and this is the output;

[root@dragon575 mysql]# tail -n 30 /var/log/mysqld.log
110726 16:03:10 InnoDB: Completed initialization of buffer pool
110726 16:03:10 InnoDB: highest supported file format is Barracuda.
110726 16:03:10 InnoDB: 1.1.8 started; log sequence number 1588761
110726 16:03:10 [ERROR] Aborting

[Code].....

View 7 Replies View Related

Ubuntu :: Start Rsync In Daemon Mode Every Time System Turns On?

May 6, 2010

I have a Linux box, running rsync, only problem is, I have to turn it off at night. What I want to do is turn it on and when it turns on, rsync will already be running in daemon mode rather then having to run rsync daemon. Does anyone know the solution? I'm sure its simple, I just cannot figure it out

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

General :: Use Chkconfig To Set The Bigd Daemon To Start At Runlevels 2 & 3?

Nov 22, 2010

How would you use chkconfig to set the bigd daemon to start at runlevels 2 & 3?

View 3 Replies View Related

CentOS 5 Hardware :: HAL Daemon Fails To Start / Reason Of This?

May 6, 2009

When I reboot my laptop compaq nc4400, HAL daemon fails to start.

what should I do?

Is this the reason why there's No Network devices available on my top right hand corner of my machine?

View 1 Replies View Related

Fedora :: Nessus Configuration - Daemon Login Failed

Mar 24, 2010

Fedora 12
Nessus: 2.2.11-5
Authent: using passwrd
Client: GTK version
User: added with no rules
nessus-mkcrt: has been ran
Hosts.allow: hole made for localhost to nessusd with nessusd:127.0.0.1 (this took care of my ssl error)

Upon trying to log into daemon I get the cert then prompted with failed login. I am also not getting anything showing up in my logviewer (gnome). For most other daemons I have had them automagicaly pop up (denyhosts for example) how can I get nessus to show up as well.

View 1 Replies View Related

General :: Lampp Won't Start Apache 'another Web Server Daemon Running'

Mar 7, 2010

I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?

View 2 Replies View Related

Software :: Timeout Error Occurred Trying To Start MySQL Daemon ?

Sep 22, 2010

for some reason, which I have exhausted all my thoughts upon..

I have mysql 5.0.77

I just made an amendment to the auto_increment_increment variable.. from 10 to 1

Gone to restart mysqld (im on redhat FYI) and get the error:

'Timeout error occurred trying to start MySQL Daemon.'

It fails to stop, and obviously fails to start.

I have included below my 'my.cnf' file but I cant see any issues with it, and can't for the life of me think why there is something wrong.

If I ever come across an issue, I don't tend to ask but instead try and figure it out (usually with success) but this time.. I just cannot get my head around it..

View 7 Replies View Related

Slackware :: 13.1 - NTP Daemon Don't Start Automatically And My Clock Is An Hour Late

Mar 29, 2011

I use Slackware64 13.1 and this Sunday the hour change and ntp daemon don't start automatically and my clock is an hour late. It's normal or a bug?

View 20 Replies View Related

CentOS 5 :: Timeout Error Occured Trying To Start Mysqld Daemon?

Mar 10, 2009

I have Centos 5.1 and im a total newbie. I have managed to get it running with Apache and PHP but after I install mysql it fails to start with the above error. I have removed it as well using YUM and reinstalled it but it still will not start.

View 4 Replies View Related







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