Fedora :: Running Rhythmbox - Client From Cron And Dbus?
Jan 16, 2010
i'm having a little issue with a small script i'm working on. It's a bash script that, amongst other things, checks the current playing song in Rhythmbox with "rhythmbox-client --print-playing". Now the thing is that if I run the script by hand it works perfectly, but when it's run by cron this part gives the following error:
Code:
(rhythmbox-client:9848): Rhythmbox-WARNING **: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.It's running on my own cron (crontab -e) set to my user.
View 1 Replies
ADVERTISEMENT
Jul 28, 2010
Should I have hal and/or dbus services running when my system doesn't have GUI? For example, in case of a mail/web server where I have console applications only on it.
View 4 Replies
View Related
Feb 9, 2011
Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.
Code:
View 2 Replies
View Related
Jul 5, 2011
when I connect my iphone (3GS, 4.3.3) to Fedora 15 it gives me this error: Unable to mount iphone
DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus). The weird thing: after looking in var/log/messages it appears that it is trying to be used by NetworkManager. And when I lookin NM, i can see iPhone as an ethernet device (cable unplugged).
View 4 Replies
View Related
Jun 19, 2011
I was playing around with bash scripting and the last thing I remember doing was checking for suid root files. However now I cannot launch sbopkg, tpfand etc and the binaries are nowhere to be seen. I was experimenting with the sticky bit for tpfand so I could load it as a normal user.
Code:
chmod u+s /usr/sbin/tpfand
chmod u-s /usr/sbin/tpfand
However now tpfand is no long in /usr/sbin. But a whereis produces the following results.
Code:
tpfand: /etc/tpfand.conf /etc/tpfand.conf~ /usr/share/tpfand
The same applies for sbopkg, which I have not touched. I think this problem is also related to the wicd error stating it cannot connect to DBus client From these symptoms has anybody experienced anything like this before from tinkering?
View 1 Replies
View Related
Sep 29, 2010
Has anyone tried updating dbus in factory up to level 1.4 under openSuSE 11.3 x86_64 and continue to run KDE 4.4.4 Stable? Just wondering if it causes any issues or if it forces you to go to KDE 4.5.1 Factory. I've tried updating to 4.5.1 without, other thread, and the suggestion was to update dbus to 1.4 to correct speed issues.
View 1 Replies
View Related
Jun 1, 2010
My root Vixie cron crontab is set to perform a system snapshot via fsarchiver: 0 0 * * * fsarchiver savefs -o -A /backups/p30_root.fsa /dev/sda2 /dev/sda3 The command itself works fine, generating about a 7G snapshot of my Suse server. I then wish to rsync this to a NAS I have located in another building: 0 3 * * * rsync -av -e ssh --delete /backups/ root{at address}:/DataVolume/os_backups/
(yes, I'm rsyncing as root. I absolutely loathe it, but I got thrown into an quasi-SA position with a ridiculous to-do list and no time to do it. I'm having to make things just work and then go back and try to improve them/learn how. I couldn't make it work in a non-root way quick enough, so for now I'm having to cron rsync jobs as root because of all the differing file permissions on this samba/MySql server. I set the NAS to only accepts ssh from the server IP, and we're behind a campus firewall... It's serious trial by fire.) The crontab also has rsync commands for the samba areas, our specialized chemistry software and affiliated MySQL databases............
View 2 Replies
View Related
May 3, 2010
I need to check and see that dbus, udisks and gvfs are running correctly, how can I check them?
I'm running only LXDE on a custom install of Lucid I did and I can't get my usb hard drive to automount properly and I was told by an LXDE developer that I need to check and make sure these three are running ok.
View 1 Replies
View Related
Jan 24, 2011
do have installed glib and dbus and can find them manually , /usr/include/glib-2.0/glib.h , but while comipling applicaiton it gives following error messages.
/usr/include/libosso.h:32:18: error: glib.h: No such file or directory
/usr/include/libosso.h:38:23: error: dbus/dbus.h: No such file or directory
/usr/include/libosso.h:39:32: error: dbus/dbus-protocol.h: No such file or directory
View 1 Replies
View Related
Mar 9, 2010
Is there any way I can get the iPrint client running on fedora x86_64? I'm not interested in getting browser support (doesn't work anyway with version 4.38 - the only one my organization supports) I just want to be able to add a printer from the printer configuration dialogue.
Has anyone had any luck? The .rpm is for SuSE. It can't find the necessary dependencies of course. Is there any other way? Even if I force install the .rpm for SuSE, I dont' get any additional configuration for iprint in system-config-printer.
View 1 Replies
View Related
Feb 9, 2010
This is more of a question for developers of rhythmbox DAAP support. I am using rhythmbox to remotely access music exported by mt-daapd server. It works fine. But it does not seem to close connections properly. This problem is very severe when you press "prev" button a few times. How to reproduce (this just one way):
1) Start playing a few songs (playlist or an album).
2) press "next" button a few times
3) then press "prev" a few times.
The playback might even pause for many seconds if you are not a LAN. Now check connections opened by Rhythmbox.. (netstat -n | grep 3689 on client). You will notice a lot of connections, and they stay for a very long time.. multiple hours. Let me know if anyone needs more info.
View 1 Replies
View Related
Jan 29, 2011
I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).
The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.
The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.
I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)
View 3 Replies
View Related
Jan 13, 2010
When I install a commercial audio into the CDROM drive I get th following: Unable to mount Audio Disc DBus error org.freedesktop.DBus.Error.InvalidArgs: Mountpoint Already registered
View 1 Replies
View Related
Oct 22, 2010
I am still an openSUSE noob and have been struggeling to get cron jobs running for the past couple of hours...without having success Hopefully a more experienced user can give me a hand As root I used crontab to setup some cron jobs:
Code:
crontab -u api-cebian -e
The resulting cronjob looks like this:
[code]....
View 7 Replies
View Related
Jan 6, 2010
why my second cron job isn't running? The first one runs fine but the second one does not run at all. If I manually run the script using ./check.sh then it does what it is supposed to but will not run from cron. It should run every weekday at 9:45am, it looks good to me but clearly I am doing something wrong.
Code:
# m h dom mon dow command
#This will backup my hosted websites.
0 2 * * * /home/bob/scripts/websitebakscript.sh
#This will run check and upload it's contents to the net.
45 9 * * 1,2,3,4,5 /home/bob/scripts/check.sh
View 9 Replies
View Related
Oct 25, 2010
Cron refuses to work for a newbie.I am trying to setup a cron job to backup a folder in my home directory ('/home/scratch') to a folder ('home/internet_backup') that is mounted (using nfs) to a network folder.the folder ('home/internet_backup') is mounted correctly to the network folder upon system startup, so this part works.
View 4 Replies
View Related
Nov 5, 2010
I am making a webpage which is to be automatically generated every minute. I've created a cron job in crontab like this:
Code:
0-59 * * * * /usr/bin/php /var/www/site/updatestatistics.php > /dev/null
When I refresh the page 'updatestatistics.php' in my webbrowser it does generate a new page ('statistics.html', which is included in 'statistics.php'). But when I let this cron job do the job, nothing happens. I looked into the log file, it shows this:
Code:
(root) CMD (/usr/bin/php /var/www/site/updatestatistics.php > /dev/null)
View 7 Replies
View Related
Apr 3, 2011
After saving a few sample scripts in crontab, I discovered that cron is not running properly on my Ubuntu 9.10 (32 bit), after a recent reinstallation. Please note that the files "/var/log/cron" and "/etc/defaults/rc.conf" are empty in my system.
View 4 Replies
View Related
Jan 31, 2010
I want to make a cron job for my webserver, only it seems not to work...
I have now the followig to test (every 16th minute of the hour, write test to a file), but it doesn't show up. When I write out the cron, it is done to the file: /tmp/crontab.QXsBIO/crontab . How to make cron work? It must be very easy, but I have real troubles getting it fired up.
My Linux version is debian lenny and the cron file looks like (crontab -e):
(with trailing empty line at the end)
View 3 Replies
View Related
Jun 15, 2011
Cron on one of my boxes isn't running and I failed to determine why.
Here are what I have found so far:
Password:
View 6 Replies
View Related
Jan 7, 2010
I have created a conjob via ssh by going to crontab -e and adding my scripts like 05 10 * * * /scripts/old-files-delete.sh.The file has 755 permissions and if I run the script manualy it works fine. I have checked the cron log and it does not show up as running at all.
View 5 Replies
View Related
Feb 10, 2011
Is there a way for me to tell cron to run an app BUT not run it if a process exist already?
View 5 Replies
View Related
Mar 3, 2010
I have a cron job set up to backup my ~/ directory everyday at 10:00. But the cron job is not running. here is my confile that I loaded into crontab...
Code:
#backup everyday @ 10:00 AM and 10:30 AM
00 10 * * * /home/dave/bin/backup.sh
30 10 * * * /home/dave/bin/music_backup.sh
[code]....
the *.sh are executable. I logged out and logged back in since I put the cronfile in crontab. The commands that I use in the *.sh files work fine when I run them manually.
View 9 Replies
View Related
Mar 25, 2010
I seem to be having a problem with cron. I have a python program that checks a specific directory for pending email scripts written in python.
Code:
#!/usr/bin/python
import os
emaildir = os.environ['HOME']+"/email/"
filelist = os.listdir(emaildir)
for pyfile in filelist:
if pyfile.find(".py") > -1:
execfile(emaildir+pyfile)
This code has been tested and works fine. The problem is that I need cron to run this code every 5 minutes but i can't tell if it is running: Here is my cron code:
5 * * * * /home/username/custom/CheckEmail.py >>/home/username/custom/email.log 2>&1
I activated the log (I think) but all i get is /var/log/cron.log and that only logs when I activate/deactivate or edit the cron file. is there anything else i need to set for this to work? I am running Ubuntu 9.10.
View 8 Replies
View Related
Mar 1, 2011
I still can't figure out why my cron job isn't working. I'm sure I'm missing something obvious, but it's got me beat
I know cron is executing my script (I had it echo some lines to a file at points within the script, and that text showed up, but none of the files/folders are being copied or removed)
crontab looks like this:
Code:
PATH=/usr/sbin:/usr/bin:/sbin/bin
#m h dom mon dow command
*/20 * * * * /scripts/scriptname
[Code].....
View 5 Replies
View Related
Jun 2, 2011
I have a cron job that executes fine in opensuse 11.4. It is located in
/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh
It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?
View 5 Replies
View Related
Jun 25, 2011
I have an external usb hard drive that spins down every 10 min. The commands in 'hdparm' do nothing to override the internal settings. So, I wrote a script to touch a file every 5 minutes, and it will run as root because of the mount command, and I want it to run for every user. The script is executable, owned by root, and root is the group, with 755 permissions.
no_sleep.sh in /usr/sbin:
Code:
#!/bin/bash
# Script to keep external drive from spinning down
diskmounted=$(mount | grep Backup | wc -c)
[Code]....
View 4 Replies
View Related
Oct 15, 2009
I have 3 cronjobs set up on my Unix server . Out of which 2 cron jobs run the same script but at different times and the other one runs another script.
So in the 2 jobs which are set to run PMDaily.sh for eg , One runs on Sunday at 8AM and the other runs monday to friday at 6 AM . How ever the Sunday cronjob works (runs through the crontab) but the Cron job set for Monday to Friday is not working. However manually if i run this script it workd perfectly.
Please let me know what could be the possible reasons for this?
View 2 Replies
View Related
Jul 21, 2010
I have a script in /root/new.sh .how can i run this script with cron? "how to give path to script?"
View 2 Replies
View Related
Aug 25, 2010
I am executing the script.
with help of cron job but it is not executing in cron job.
i check owner and chmod and create the file and execute manually it is working fine but in cron job i set below
Crontab -e
8 14 * * * /home/tplinux/webapp/tpadminhost/collect_ejxml/ejrename.sh
wq!
after that wait till that time but script is giving message no such file in directory but same thing is excute manually it is running fine and found the files.
Below is my script details
file name ejrename.sh. code...
View 3 Replies
View Related