Ubuntu :: Not Getting Background Daemon Statup Service Notification Message Box
Jun 22, 2011
I have created a script named ssh_inotify.sh to check /var/log/auth.log log file for newly started ssh session and display a question message box. This script uses inotifywait to monitor this above log file for modify file event and zenity to create question message boxes.Now i have created a startup service config file named ssh_inotify under /etc/init.d folder and placed the script ssh_inotify.sh under /usr/sbin and chmod this script to be executable.
The service config file ssh_inotify uses start-stop-daemon to run this script as background process.Now theproblem is that when i start this service using sudo service ssh_inotify start, the service is started, I can confirm this using ps -A | grep ssh_inotify also i can check for the PID associated with it under /var/run/ssh_inotify.pid. Now when i ssh to my machine, i do not get the question message box, I am writing in log file and in that i can see that the message under cancel button option for question message box is getting printed.This script runs perfectly when run directly or using start-stop-daemon command directly (exact command as typed in service config file above) on terminal, but not when this same command is executed using service file.Can someone please suggest me the solution and reason for such behavior when same command executed under different mode (using service or directly from terminal).If you guys require code, i can attach the files (currently i am in office so don't have access to these files.)
View 1 Replies
ADVERTISEMENT
Feb 6, 2011
is there any way i can get Ubuntu's Notify OSD on Fedora 14? or at least get some nicer themes for notification-daemon?
View 1 Replies
View Related
Aug 1, 2011
My notification-daemon stopped displaying the notification bubble using the position hint provided in notify-send, the notification is always displayed in upper right corner of the screen.
Example of the command line with the position hints: notify-send --hint int:x:500 -h int:y:500 asdf
I'm on Debian unstable, amd64.
View 7 Replies
View Related
May 7, 2011
I have slackware 64 13.37 Kernel 2.6.37.6 I am trying to install notifcation daemon so I can use notify-send. I am trying to install the package notification-daemon, via sbopkg using the 13.37 repository. I have installed dependencies: ORBit2, GConf, libsexy.I hit this error during installation of notification-daemon.
/usr/lib/libdbus-glib-1.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
I did previously have gsb gnome 3 installed, but removed that and then lost notify-send.
View 2 Replies
View Related
May 12, 2011
Is there a way to do this so I can set mail notification to alert me when evolution finds a new piece of email from syncing at my sync rate defined in evolution and not have evolution be in my face @ boot, and not have to have evolution open to keep mail notification from freaking out?
View 2 Replies
View Related
Jul 31, 2011
After installing Ubuntu on my computer separately its giving "gdu notification daemon- Disk failure is imminent.Reallocated sector count failing.
View 2 Replies
View Related
Oct 31, 2010
I have an ugly view of my notification area due to i installed the last version of Lotus Symphony 3. Now, my notification area show like this:
Is it a bug from Lotus Symphony or from Ubuntu? By the way, the icon of Lotus is a .png file with transparent background.
View 9 Replies
View Related
Dec 19, 2010
opensuse11.3
What i need:
1. Power ON
2. User Log in
3. Whe loaded desktop - at this time play file.m3(play as daemon..)
View 7 Replies
View Related
Jun 16, 2010
I'd like to create a couple of upstart scripts for some network service daemons (eg. usenet downloading service, torrent service, media management services, etc).Basically they should start after the network service is started and the system is running (runlevel 2?) but I'm just wondering if anybody has an example script or more specific start/stop conditions that I can use.
View 1 Replies
View Related
Feb 25, 2011
I am having a minor annoyance with the Banshee music note icon that is in the notification area. For some reason, it won't have its background be transparent like the rest of the icons on the panel. I know it's not a major thing,
View 3 Replies
View Related
Jul 7, 2010
I have a java program which I need to run as a service or daemon. What is the most stable method to do it? It will be heavy processing socket programming which will be continously receiving data?
View 4 Replies
View Related
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
Jun 19, 2010
In a previous thread I had detailed an issue I was having with avahi not firing up properly at startup.As a bit of background: the services available on the server aren't advertising until I restart the avahi-daemon manually after startup - The syslog shows the daemon starting on boot, but it never seems to access the service file.I was wondering if it is possible that this may be a file permission problem?
View 1 Replies
View Related
Jun 12, 2010
The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens
View 1 Replies
View Related
Mar 8, 2010
Am not sure of the best way to go about writing a script. All I need at the moment is to start a java http server program at startup.How should I write languagetool.sh so as to be able to stop the script execution?
View 10 Replies
View Related
Oct 16, 2010
i've scoured the internet for notification alternatives and have found none that will just play a sound and open thunderbird when you click on it.
View 2 Replies
View Related
Nov 5, 2010
I have noticed on my netbook that F14 is running some sort of indexing service in the notification area. What is this, and how do I turn it off? I know what it is doing, but why is this just now important in F14. It is killing the battery life on my netbook.
View 2 Replies
View Related
Jan 3, 2011
I'm using Ubuntu 10.10 and GNOME 2.32.0, when the notification message pops up in the top-right corner, my instinct is to mouse-over it and click the "x" to close it. But when I move the cursor over it, the box disappears.
View 2 Replies
View Related
Apr 29, 2010
When I click on the Ibus icon, I always get a message:
Code:
IBus daemon is not started. Do you want to start it now?
I click yes, and I get:
Code:
IBus has been started! If you can not use IBus, please add below lines in $HOME/.bashrc, and relogin your desktop.
I have no idea how to add the amentioned lines to the amentioned file, I guess its via terminal, but I dont know what do I have to type
View 1 Replies
View Related
Jul 1, 2010
Transmission offers to run a script when a download is complete.
I'd like that script to create a popup message saying "Download Complete" (including the name of what was completed if possible otherwise just generic "DL complete")
I tried 'man notify-osd' and 'notify-osd --help' but it is not found.
Yet it is installed by default.
The message must stay up until clicked on so that if something finishes overnight, the msg is still there in the morning.
View 4 Replies
View Related
Feb 13, 2010
So I'm trying to automatically mount a truecrypt volume when I start my computer up. I've written a real simple script, placed it in the init.d folder and run the update-rc.d stuff.This is the script
Code:
#!/bin/sh
### BEGIN INIT INFO
[code]....
View 5 Replies
View Related
Apr 10, 2009
Each time after boot, I have to wait for proximately 2 minutes before Firefox starts showing any web pages. I believe the delay is caused by the following issue: Code: Apr 7 21:03:18 linux-kr6c nm-dispatcher.action: cript '/etc/NetworkManager/dispatcher.d/netcontrol_global_hooks' exited with error status 1.Apr 7 21:03:18 linux-kr6c nm-dispatcher.action: cript '/etc/NetworkManager/dispatcher.d/nfs' exited with error status 2.
Apr 7 21:03:18 linux-kr6c dbus-daemon: Rejected send message, 14 matched rules; type="method_return", sender=":1.50" (uid=0 pid=3132 comm="/usr/lib/NetworkManager/nm-dispatcher.action ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply=0 destination=":1.5" (uid=0 pid=2097 comm="/usr/sbin/NetworkManager "))
Apr 7 21:05:39 linux-kr6c ntpd[3500]: ntpd 4.2.4p4@1.1520-o Mon Jan 19 14:44:51 UTC 2009 (1)Apr 7 21:05:39 linux-kr6c ntpd[3501]: precision = 1.000 usec I have no idea what my machine is doing, but it seems as nothing is happening between 21:03:18 and 21:05:39.
View 5 Replies
View Related
May 28, 2011
Has Linux some mechanism to test memory online as a background job, flag bad memory as unusable and warn the user if memory is faulty? Much like running Memtest86+ on a little chunk of memory every nth minutte until all memory is tested and then repeat over.
Edit: I did not make it clear that I want such a service running in the kernel. A (peak) performance hit should be avoided by running the test in small steps and only when the system have some CPU cycles to spare
Edit2: I meant this as a Linux kernel service that scans the memory in the background. Not meant to be run in userspace but a routine in the kernel itself, perhaps in the memory manager to make sure memory are sane!
View 2 Replies
View Related
Oct 26, 2010
I go and restart ssh and I get this weird message. thought I should be getting ok or fail message, at least thats how I remember it. What do you think?nate@universal-mechanism:~$ sudo service ssh restart
View 3 Replies
View Related
Jan 2, 2010
I have installed package tigervnc-1.0.0-3.fc12.i686, but when I am trying to start it: service vncserver start it comes back with following message: vncserver: unrecognized service.
View 1 Replies
View Related
Feb 8, 2011
I'm trying to write an upstart conf file to get Murmur (the Mumble server) to run as a service. It's located in /etc/murmur, and I'm using the following script in /etc/init/murmur.conf:
[Code]...
View 1 Replies
View Related
Sep 19, 2010
I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
View 1 Replies
View Related
Apr 15, 2011
Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome
View 2 Replies
View Related
Sep 10, 2010
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
View 1 Replies
View Related
Dec 25, 2009
will the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies
View Related