[SOLVED] Cron doesn't like me :

Hello everyone.
Sorry if this is a noob question. I'm not really new to linux. But this time I simply have no idea what I'm doing wrong.
I have this router which needs a connection traffic every few minutes to keep the connection up. So I wanted to use cron to fire wget every 5 minutes. The only problem is that cron doesn't seem to work for me.
Here is my cron file:
# root crontab
# DO NOT EDIT THIS FILE MANUALLY! USE crontab -e INSTEAD
# man 1 crontab for acceptable formats:
# <minute> <hour> <day> <month> <dow> <tags and command>
# <@freq> <tags and command>
# SYSTEM DAILY/WEEKLY/... FOLDERS
@hourly ID=sys-hourly /usr/sbin/run-cron /etc/cron.hourly
@daily ID=sys-daily /usr/sbin/run-cron /etc/cron.daily
@weekly ID=sys-weekly /usr/sbin/run-cron /etc/cron.weekly
@monthly ID=sys-monthly /usr/sbin/run-cron /etc/cron.monthly
*/5 * * * * wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Cron daemon is obviously up and running. Any help would be appreciated :<
Last edited by timecage (2011-01-11 19:03:32)

Jan 1 15:30:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1604 job sys-hourly
Jan 1 15:30:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1605 wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Jan 1 15:30:01 localhost crond[1608]: mailing cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Jan 1 15:30:01 localhost crond[1608]: unable to exec /usr/sbin/sendmail: cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png to /dev/null
Jan 1 15:35:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1618 wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Jan 1 15:35:01 localhost crond[1619]: mailing cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Jan 1 15:35:01 localhost crond[1619]: unable to exec /usr/sbin/sendmail: cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png to /dev/null
Jan 1 15:40:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1620 wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Jan 1 15:40:01 localhost crond[1621]: mailing cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
Jan 1 15:40:01 localhost crond[1621]: unable to exec /usr/sbin/sendmail: cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png to /dev/null
That's some of the last lines of crond.log.
I know it doesn't work simply because the last modified timestamp on the file and the directory does not change \o/

Similar Messages

  • [Solved]pacman doesn't like ' =' in depends for pure package

    Trying to install the pure programming language package available here.
    $ makepkg -s
    ==> Making package: pure 0.60-1 (Tue Aug 12 19:22:57 EDT 2014)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    error: target not found: llvm<=3.4
    ==> ERROR: 'pacman' failed to install missing dependencies.
    PKGBUILD file:
    # -*- shell-script -*-
    # Contributor: Mikko Sysikaski mikko.sysikaski at gmail dot com
    # Updated by Stephen Diehl - [email protected]
    # Maintainer: Alastair Pharo asppsa at gmail dot com
    # Maintainer: Albert Graef <[email protected]>
    pkgname=pure
    pkgver=0.60
    pkgrel=1
    pkgdesc="Pure is a modern-style functional programming language based on term rewriting."
    arch=("i686" "x86_64")
    license=('GPL3')
    url="http://purelang.bitbucket.org/"
    depends=('llvm<=3.4' 'gmp' 'mpfr' 'readline')
    makedepends=('make' 'gcc')
    optdepends=("pure-docs: online documentation"
    "w3m: access to help in interactive mode"
    "emacs-pure-mode: editing Pure files from Emacs"
    "texmacs-pure: embedding Pure sessions in TeXmacs")
    groups=(pure-complete pure-base)
    source=("https://bitbucket.org/purelang/pure-lang/downloads/$pkgname-$pkgver.tar.gz"
    "https://bitbucket.org/purelang/pure-lang/downloads/llvm-3.3-tools.tar.bz2")
    md5sums=('4bbd7cf05ce913814f02675c58aeaa23'
    '0a3c4154e7d20f1d078d994ec47be1b7')
    build() {
    cd $srcdir/$pkgname-$pkgver
    ./configure --prefix=/usr --without-elisp --without-texmacs --enable-release
    make || return 1
    # check that the interpreter is working
    make check || return 1
    package() {
    cd $srcdir/$pkgname-$pkgver
    make DESTDIR=$pkgdir install || return 1
    # llc in LLVM 3.4 is broken; these will work with both LLVM 3.3 and 3.4
    cd $srcdir/llvm-3.3-tools/$CARCH
    cp llc opt $pkgdir/usr/lib/pure || return 1
    I have installed for now by simply removing the
    <=3.4
    requirement but only out of frustration. I'm at a loss as to why pacman would be complaining, I see the bit about 'LLVM 3.4 is broken' but for one, 3.4 is already installed from [extra] and for two, 3.3 ought to meet the criteria. All help/explanation appreciated.
    Last edited by luisrayas3 (2014-08-18 20:06:03)

    luisrayas3 wrote:
    isn't it?? I would consider 3.4.2 == 3.4 from a versioning perspective and therefore also 3.4.2 <= 3.4
    edit: also worth noting that it does work anyhow with 3.4.2
    Nope, doesn't work that way. Try it yourself.
    % vercmp -h
    usage: vercmp <ver1> <ver2>
    output values:
    < 0 : if ver1 < ver2
    0 : if ver1 == ver2
    > 0 : if ver1 > ver2
    % vercmp 3.4.2 3.4
    1

  • [solved] bigpkg doesn't like /var/lib/pacman/local/ALPM_DB_VERSION

    I can't use bigpkg anymore, because it expects everything in /var/lib/pacman/local/ to be a directory:
    https://aur.archlinux.org/packages/bigpkg/ -> http://allanmcrae.com/scripts/bigpkg
    Here are the important lines:
    LOCAL_DB_PATH="/var/lib/pacman/local"
    file = LOCAL_DB_PATH + "/" + dir + "/desc"
    f = open(file, "r")
    After running 'pacman-db-upgrade', /var/lib/pacman/local/ALPM_DB_VERSION was placed there
    $ pacman -Qo /var/lib/pacman/local/ALPM_DB_VERSION
    error: No package owns /var/lib/pacman/local/ALPM_DB_VERSION
    $ cat /var/lib/pacman/local/ALPM_DB_VERSION
    9
    $ bigpkg
    Traceback (most recent call last):
    File "/usr/bin/bigpkg", line 83, in <module>
    parse_package_info(pkg, dir)
    File "/usr/bin/bigpkg", line 51, in parse_package_info
    f = open(file, "r")
    NotADirectoryError: [Errno 20] Not a directory: '/var/lib/pacman/local/ALPM_DB_VERSION/desc'
    I can remove that file and make bigpkg work again, but it breaks pacman:
    error: failed to initialize alpm library
    (database is incorrect version: /var/lib/pacman/)
    error: try running pacman-db-upgrade
    Is it a bug? If not, can someone please fix bigpkg? I don't speak python, so I can't do it myself :-(
    Last edited by karol (2015-01-16 18:50:59)

    progandy wrote:
    I believe you can use bigpkg if you patch it like this:
    for dir in os.listdir(LOCAL_DB_PATH):
    try:
    pkg = dir[0:dir.rindex("-",0,dir.rindex("-"))]
    pkg_list.append(pkg)
    parse_package_info(pkg, dir)
    except ValueError:
    pass
    Can you post a diff? I have no idea where to put it.
    bigpkg complains
    $ /usr/bin/bigpkg_patched
    Traceback (most recent call last):
    File "/usr/bin/bigpkg_patched", line 53, in <module>
    pkg_list.append(pkg)
    NameError: name 'pkg_list' is not defined
    if I try to use the part you posted before the line that says
    pkg_list = []
    but I still have problems with
    file = LOCAL_DB_PATH + "/" + dir + "/desc"
    f = open(file, "r")

  • How do i put a mobile number in on numbers '09? like 0414441472. Doesn't like 0 at the front. Thanks

    How do i put a mobile number in on numbers '09? like 0414441472. Doesn't like 0 at the front. Thanks

    Ed,
    There are a number of ways to do this. Your phone number consists of all numerals, yet isn't a numeric value, but rather a text value. Numbers doesn't know that, so it treats it as a numeric value and strips off what it feels is an unnecessary leading zero.
    You have there options:
    Format the cells as Text prior to making the entry.
    Leave the cells as a Numeric value format, but choose Custom Format to set the number of displayed places and choose to display leading zeros.
    Use the Numeral System Format and set it to base 10, displaying 9 digits, or whatever you need.
    There are ways to convert a number to text and add required leading zeros with a formula too, but it's needless work.
    Jerry

  • MP3-Library doesn't like some of MediaSource's ID3 t

    Just a tip for MP3-Library users:
    On rare occasions, MediaSource 3.30.2 will produce an ID3 tag that MP3-Library doesn't like. (This is pretty rare -- out of 45 tracks I updated the tags on, 6 did this.) This results in the file being displayed as corrupted. If you select "Analyze/Fix MP3," it finds a frame or two with random specifications at the very start of the file, followed by a single bad frame, and then all good frames.
    If you check all availiable fix options (delete selected frames [check the junk and bad ones], delete garbage before st frame, delete garbage after last frame), it lops about 30 bytes off the end of the tag/header and takes a few good frames off the start of the file.
    According to MP3Utility and EncSpot, there's nothing wrong with the files, and they play just fine in MediaSource, Winamp, and on the Zen. The header data that was destroyed doesn't affect the ID3 data. It only seems to have removed the Xing header. (No, I don't use Xing. LAME 3.97 alpha puts Xing-compatible headers on its VBR files.)
    The following are the summary data that MP3Utility shows. This is from the original file, fresh out of LAME:
    <i>File size: 3,63,232 bytes
    Offset to first frame header: 2,630 bytes
    MPEG version .0; Layer III
    Bitrate: VBR (Xing); Sample rate: 44,00 Hz
    Channel mode: Joint stereo
    Private: No; CRCs: No; Copyrighted: No
    Original: No; Emphasis: None
    Frame size: ,52 samples/frame
    Frame length: 47 bytes/frame (unpadded)
    Pad size: byte(s)
    Estimated frames: 8,945
    Estimated time: 3:54 (234 secs.)</i>
    This is after importing the file into the PC Music Library and clicking "Update Tag." I didn't modify anything, just told it to re-write the ID3 tag:
    <i>File size: 3,63,232 bytes
    Offset to first frame header: 2,630 bytes
    MPEG version .0; Layer III
    Bitrate: VBR (Xing); Sample rate: 44,00 Hz
    Channel mode: Joint stereo
    Private: No; CRCs: No; Copyrighted: No
    Original: No; Emphasis: None
    Frame size: ,52 samples/frame
    Frame length: 47 bytes/frame (unpadded)
    Pad size: byte(s)
    Estimated frames: 8,945
    Estimated time: 3:54 (234 secs.)</i>
    And this is after MP3-Library "fixed" it:
    <i>File size: 3,629,325 bytes
    Offset to first frame header: 2,600 bytes
    MPEG version .0; Layer III
    Bitrate: 224 kbps; Sample rate: 44,00 Hz
    Channel mode: Joint stereo
    Private: No; CRCs: No; Copyrighted: No
    Original: No; Emphasis: None
    Frame size: ,52 samples/frame
    Frame length: 73 bytes/frame (unpadded)
    Pad size: byte(s)
    Estimated frames: 4,96
    Estimated time: 2:0 (30 secs.)</i>
    No, MP3-Library DIDN'T chop 04 seconds off the file. The estimated frame count and length are WRONG because the Xing header was destroyed by MP3-Library. This header would normally tell MP3Utility how long the file really is, otherwise it takes the bitrate of the first frame and extrapolates that over the file length. (Without this header, many programs' progress sliders won't be as accurate.)
    So, if MP3-Library tells you a file is corrupted after going through MediaSource and the file wasn't corrupted before, DON'T fix it. You'll only make things worse. I've never seen MediaSource or my Zen actually damage a file.
    (At first, I told it to fix 'em. Now I'm going through and restoring the backups it made.)

    i have used mp3-libary many times before because it said a large amount of my collection was corrupted. but it seams to be better.as i havent used media source to import them so i think they may have actually be corrupt. but interesting findings.

  • Cron doesn't execute script until restarted

    I wrote a script to change my wallpaper, and placed it in /etc/cron.hourly.  It will not run on the hour, or any time, after starting my computer.  However, if I restart cron, then everything is fine.  run-parts indicates that it *should* run:
    ┌─[pearson@pearson-arch] - [~] - [Wed Apr 15, 06:33]
    └─[$]> sudo run-parts --test /etc/cron.hourly
    Password:
    /etc/cron.hourly/adjtime
    /etc/cron.hourly/rotate_background
    ┌─[pearson@pearson-arch] - [~] - [Wed Apr 15, 06:33]
    └─[$]>
    Just to make sure, cron *is* started on system boot.

    thisllub wrote:What does the cron log say?
    It doesn't mention it.
    thisllub wrote:Arch seems to use run-cron not run parts.
    Run-parts allows you to specify a certain folder to run; it has a --test option, which run-cron doesn't seem to have.
    thisllub wrote:Does the script have executable permissions?
    755, owned by root:root, which is the same as the other script in that folder (adjtime, which I think might be part of ntpd).
    thisllub wrote:If a script runs as root user it may not have access to your desktop variables (not sure about this)
    The odd thing is that it runs fine once I restart cron.  I was using /usr/bin/env in the hash-bang, though, so I've changed that, and I'll see if that changes anything.
    thisllub wrote:Does it work if you install it from you own crontab?
    I... don't really know how to do that yet.  I'll have to look it up and get back to you.

  • Bridge doesn't like gif

    My Bridge doesn't like gif extensions on the pictures. He cal-laps, the program re-installed on my mac, but the same problem. By gif it stops and I have to forced stop to quit the program. hen open again and the same problem appears.
    jpg. or png ole but gif bridge won't replace or open or...

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • MacBook Pro doesn't like my 3rd gen. iPod

    Just got a new MacBook Pro (work-issue = no administrator password for me), which replaced a Titanium PowerBook. Tried to hook up and sync my 3rd gen. iPod for the first time, using the Firewire port of course. (Music library has already moved to new machine.)
    The iPod doesn't seem to be seen by the MacBook Pro. It doesn't show up in the iTunes source list or on the desktop. The iPod goes into "Do Not Disconnect" mode, then it freezes.
    I've seen other people posting with similar or same issues, but no resolution. What could be going on?
    MacBook Pro   Mac OS X (10.4.5)  

    Update: I have discovered that if I connect the iPod to the Mac with the Firewire cable only, things work perfectly. If I connect thru the dock with the iPod sitting in it (like I was before), things go haywire.
    So I guess the MacBook Pro likes my 3rd gen. iPod just fine. The iPod dock is what it doesn't like.
    Weird. Thanks for all your thoughts.
    Mac Book Pro Mac OS X (10.4.5)

  • Perl doesn't like utf8

    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_COLLATE = "C",
    LANG = "en_US.utf8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Perl doesn't like it when I have my locale set to en_US.utf8. It works fine with just en_US. Is there a fix for this?

    How could you set perl to a locale if that locale doesn't exist?
    Maybe there are ways to encode just specific things in utf8, rather than having to change all of per's locale. If this is what you mean, then read the perldoc

  • Create desktop quietly fails - doesn't like my ".portal" file

    Guys,
    Since SP2, we're having trouble creating a desktop to "import" our ".portal" file.
    After going through the sequence of clicks, it just comes back quietly but the
    desktop is not there. It only does this if I "Choose a Template". It seems that
    it doesn't like something in my template file but gives no indication of what.
    If I revert back to an old template file, it works. However, I also re-created
    a new template file from scratch and it won't read that one either.
    Any clues?
    Is there some debug/logging options for Admin Portal?
    Thanks,
    Phil

    Jeff,
    Thanks for the reply.
    The .portal file was created in workshop and workshop reads it fine.
    I discovered that after deleting all my books and pages from the Admin Portal
    library, it imported my .portal file successfully. I'm thinking it finds some
    "Definition Label" conflict between those in the .portal file and what's in the
    library.
    Phil
    "Jeff Mueller" <[email protected]> wrote:
    >
    Hi Phil - was there no error message on the console? If not, please
    check the
    portalServer.log file and/or wl-domain.log file for that server session.
    There
    should be an error message listed there. It sounds like it's most likely
    bad
    xml in the .portal file. Did you create the new .portal file in Workshop?
    Does
    it open correctly there?
    Jeff
    "Phil Grimm" <[email protected]> wrote:
    Guys,
    Since SP2, we're having trouble creating a desktop to "import" our ".portal"
    file.
    After going through the sequence of clicks, it just comes back quietly
    but the
    desktop is not there. It only does this if I "Choose a Template". It
    seems that
    it doesn't like something in my template file but gives no indication
    of what.
    If I revert back to an old template file, it works. However, I alsore-created
    a new template file from scratch and it won't read that one either.
    Any clues?
    Is there some debug/logging options for Admin Portal?
    Thanks,
    Phil

  • Cron doesn't work

    cron doesn't execute the jobs.
    my example job is:
    crontab -l
    02 21 * * * firefox

    I had the same problem. Basically crond (cronie in my case) stopped working on Dec 29th (glibc, binutils, among other things were updated). I just noticed it today. After reboot it restarted normally.
    Last edited by xamaco (2013-01-04 11:44:07)

  • Encore CS4 Flash output - server doesn't like file names

    Apparently my ftp server for my web site does not like files with spaces in the names, but Encore seems to use spaces in some of the file names for the png files in the menus. Is there any way around this? Can I force it to replace spaces with underscores? Can I go in and manually change the links and the file names (there aren't too many). this is very annoying - how could this happen?
    Thanks,
    Scott

    If your server doesn't like spaces in file names, it's likely due to HTML address rules. However, these files won't be linked via HTML, but through the AuthoredContent.xml file directly into the SWF playing in the Flash player, which doesn't have the same limitations as HTML.
    If your server is kicking a fuss up about this, replace the single space character in the PNG filename with an underscore character (do this at file system level), then edit the AuthoredContent.xml file and replace the space character in the PNG filename with an underscore character. Save everything, and then upload the files in the same hierarchy that Encore exports.
    That should do it.

  • Entertainment mode console doesn't like second moni

    I've got a dual-monitor setup, using an X-Fi in entertainment mode. The console doesn't like being on the second monitor. Once it is there, it goes "flaky" flickering and moving around on the display. Put it back on the first display and it works normally again. I've got .00.3, I guess I'll go checking for updates.

    *bump*?also, I'm running Vista x64. Is this problem?a driver issue?Message Edited by madhartigan on 09-28-20070:56 PM

  • KDE 4 suddenly doesn't like theming anymore :S [solved, mods plz read]

    Moderators, please move this thread to the packaging section since it'd probably go better there now.
    So I installed KDE a while ago, slowly. First all I needed was Kolourpaint, then after KDE 4 came out, the whole of KDE. And I've slowly been warming to the desktop as time has gone on, and will likely extract bits of it out, eg the desktop manager, and stuff them into my own highly customized desktop when I get my new box.
    At first, everything worked just fine - happy user here (I use Openbox, but having KDE there was just... nice. I think KDE is very high quality, etc, blah blah KDE vs. GNOME etc etc ).
    Then one day KDE randomly decided to, like, go all icky. Well, maybe not entirely randomly - while updating KDE (for whatever reason, I can't exactly remember why I upgraded, except that I noticed I was installing KDE 4.1.2 or something when I did start the upgrade), I did a quick df -h to make sure I'd have enough space and discovered that my home folder had about 250MB or something like that left in it. (I'm really low on diskspace in my home folder, but I have a spare 18GB partition on my box at /storage with 12GB free, I plan to move a fair chunk of data across sometime) so I decided to ^C the upgrade to move a few hundred MBs of stuff over onto /storage, enough for me to get KDE installed. Then I continued the upgrade, and it got me here. Note that I CTRL+C'd the upgrade while pacman was downloading, not installing, and that's why the following makes no sense.
    Some other things I've done:
    - Tried to 'startkde' in an Xnest window too many times to count, with it failing 88% of the time (I was aiming for the other 22% success rate to continue what I was doing )
    - Tried to figure out how to make KDE 3 apps look nice / use my KDE 4 theme (I discovered qtconfig in this period)
    It used to have the awesome KDE 4 theme, the first time it happened it started up with the icky, horrible CDE theme.
    I was like "AGH MAJOR EW" and ran to systemsettings to try and change my theme back... only to discover that approximately 100.1% of the themes available had disappeared, leaving only 5 very icky ones in their place, CDE, Cleanlooks, Win9x, Motif and Plastique. That last one suggests that KDE 3 has somehow taken over my system.
    I've reinstalled the kde group.
    I've uninstalled and reinstalled KDE. Twice.
    I'm thinking it's something in my home folder.
    What do I do next?
    -dav7
    Last edited by dav7 (2008-10-11 13:46:30)

    have you tried 
    rm -r ~/.kde4?
    I know I've had some upgrade trouble at some points with kde4 and removing all kde4 settings and starting over is a usually a good place to start.
    FWIW, I have all the themes you mentioned for qt4 as well, so not necessarily any indicator of kde3 at work.
    Last edited by b9anders (2008-10-11 08:11:03)

  • [SOLVED]Jack doesn't work anymore

    Good day people,
    It seems that Jack stopped working all of a sudden. Well, it's not really all of a sudden, it hasn't been working for 3 months or so, but before that it worked just fine and I did not change any setting since then. I didn't post before because I don't really use JACK too often but now it seems like I'll be going to need it.
    The package I'm using is jack2 from the community repository, not jack2-dbus or jack or any other package, although I've tried them with the same results.
    First, let's try to start jack the old fashioned way
    $jack_control start
    it results in
    DBus exception: org.jackaudio.Error.Generic: Failed to open server
    ...ook. Let's try an even older fashion way.
    $jackd -d alsa
    The output is:
    jackdmp 1.9.8
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2011 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    jack_get_descriptor returns null for 'jack_firewire.so'
    could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    JACK server starting in realtime mode with priority 10
    Jack: Create non RT thread
    Jack: ThreadHandler: start
    Jack: JackDriver::Open capture_driver_name = hw:0
    Jack: JackDriver::Open playback_driver_name = hw:0
    Jack: Check protocol client = 8 server = 8
    Jack: JackEngine::ClientInternalOpen: name = system
    Jack: JackEngine::AllocateRefNum ref = 0
    Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0
    Jack: JackEngine::NotifyAddClient: name = system
    Jack: JackGraphManager::SetBufferSize size = 1024
    Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
    Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
    Jack: JackDriver::SetupDriverSync driver sem in flush mode
    control device hw:0
    control device hw:0
    audio_reservation_init
    Failed to acquire device name : Audio0 error : Method "RequestRelease" with signature "i" on interface "org.freedesktop.ReserveDevice1" doesn't exist
    Audio device hw:0 cannot be acquired...
    Jack: ~JackDriver
    Cannot initialize driver
    Jack: no message buffer overruns
    Jack: JackPosixThread::Stop
    Jack: ThreadHandler: exit
    JackServer::Open() failed with -1
    Jack: Succeeded in unlocking 82245916 byte memory area
    Jack: JackShmMem::delete size = 0 index = 0
    Jack: ~JackDriver
    Jack: Succeeded in unlocking 1012 byte memory area
    Jack: JackShmMem::delete size = 0 index = 1
    Jack: cleaning up shared memory
    Jack: cleaning up files
    Jack: unregistering server `default'
    Failed to open server
    No luck this time, either. And before you ask, I tried giving jackd other parameters but it didn't change anything.
    I now try Qjackctl. As soon as I open it, it says:
    D-BUS: JACK server could not be started
    Sorry
    This is the error log:
    11:31:23.797 Patchbay deactivated.
    11:31:23.800 Statistics reset.
    11:31:23.802 ALSA connection change.
    11:31:23.819 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
    11:31:23.994 D-BUS: JACK server could not be started. Sorry
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    11:31:24.016 ALSA connection graph change.
    Thu Aug 23 11:31:23 2012: Starting jack server...
    Thu Aug 23 11:31:23 2012: JACK server starting in realtime mode with priority 10
    Thu Aug 23 11:31:23 2012: control device hw:0
    Thu Aug 23 11:31:23 2012: control device hw:0
    Thu Aug 23 11:31:23 2012: Acquired audio card Audio0
    Thu Aug 23 11:31:23 2012: creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    Thu Aug 23 11:31:23 2012: control device hw:0
    Thu Aug 23 11:31:23 2012: configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
    Thu Aug 23 11:31:23 2012: ALSA: final selected sample format for capture: 32bit integer little-endian
    Thu Aug 23 11:31:23 2012: ALSA: use 2 periods for capture
    Thu Aug 23 11:31:23 2012: ALSA: final selected sample format for playback: 32bit integer little-endian
    Thu Aug 23 11:31:23 2012: ALSA: use 2 periods for playback
    Thu Aug 23 11:31:23 2012: [1m[31mERROR: ALSA: cannot set hardware parameters for playback[0m
    Thu Aug 23 11:31:23 2012: [1m[31mERROR: ALSA: cannot configure playback channel[0m
    Thu Aug 23 11:31:23 2012: [1m[31mERROR: JackTemporaryException : now quits...[0m
    Thu Aug 23 11:31:23 2012: [1m[31mERROR: Cannot initialize driver[0m
    Thu Aug 23 11:31:23 2012: [1m[31mERROR: JackServer::Open() failed with -1[0m
    Thu Aug 23 11:31:23 2012: [1m[31mERROR: Failed to open server[0m
    11:32:54.690 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    Ok, let's now uncheck "Enable D-Bus interface" and try again, maybe I'll have more luck. No, it seems I don't.
    This is the message log:
    11:34:17.340 Patchbay deactivated.
    11:34:17.345 Statistics reset.
    11:34:17.347 ALSA connection change.
    11:34:17.356 JACK is starting...
    11:34:17.356 /usr/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    11:34:17.361 ALSA connection graph change.
    could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    jack_get_descriptor returns null for 'jack_firewire.so'
    could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    jackdmp 1.9.8
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2011 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK server starting in realtime mode with priority 10
    11:34:17.396 JACK was started with PID=2499.
    Jack: Create non RT thread
    Jack: ThreadHandler: start
    Jack: playback device hw:0
    Jack: capture device hw:0
    Jack: apparent rate = 48000
    Jack: frames per period = 1024
    Jack: JackDriver::Open capture_driver_name = hw:0
    Jack: JackDriver::Open playback_driver_name = hw:0
    Jack: Check protocol client = 8 server = 8
    Jack: JackEngine::ClientInternalOpen: name = system
    Jack: JackEngine::AllocateRefNum ref = 0
    Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0
    Jack: JackEngine::NotifyAddClient: name = system
    Jack: JackGraphManager::SetBufferSize size = 1024
    Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
    Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
    Jack: JackDriver::SetupDriverSync driver sem in flush mode
    control device hw:0
    control device hw:0
    audio_reservation_init
    Failed to acquire device name : Audio0 error : Device or resource busy
    Audio device hw:0 cannot be acquired...
    Jack: ~JackDriver
    Cannot initialize driver
    Jack: no message buffer overruns
    Jack: JackPosixThread::Stop
    Jack: ThreadHandler: exit
    JackServer::Open() failed with -1
    Jack: Succeeded in unlocking 82245916 byte memory area
    Jack: JackShmMem::delete size = 0 index = 0
    Jack: ~JackDriver
    Jack: Succeeded in unlocking 1012 byte memory area
    Jack: JackShmMem::delete size = 0 index = 1
    Jack: cleaning up shared memory
    Jack: cleaning up files
    Jack: unregistering server `default'
    Failed to open server
    11:34:17.533 JACK was stopped with exit status=255.
    11:34:19.562 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    I've tried deleting all jack config files, changing settings and before you ask, I've tried with and without pulseaudio (which got along with Jack just fine before everything broke). It seems to be a d-bus problem at first but it gives me issues with d-bus disabled as well. I've read A LOT of forum posts and mailing lists before posting here and I can tell you that none of the solutions that worked for others worked for me, and many just gave up.
    I don't have any audio/drive issues and as I said, my computer used to run Jack2 just fine. The output of cat /proc/asound/cards is
    0 [Intel ]: HDA-Intel - HDA Intel
    HDA Intel at 0xf0400000 irq 45
    It seems strange to me that jack2 and jack2-dbus act exactly the same way in regards to dbus but dbus is just one of the several problems, it seems. Right now I'm running my music production thanks to a live Ubuntu Studio stick (the horror, I know) and after extensive research I feel I'm out of ideas. I mean, I uninstalled jack and deleted all config files and it still doesn't go back to normal, what can I do? I suspect my problem may be related to improper configuration of something in /etc/ but I didn't touch anything audio-related in ages and as I said, jack used to work with the same configuration. It seems to have problem accepting that my sound card is hw:0, maybe. I don't know, it makes me crazy. Can someone help me? Thanks.
    Edit: The problem is solved, checkout my last reply to this thread for the solution.
    Last edited by VisionsOf (2012-08-28 11:30:13)

    Hi, I'm having a similar issue. I've been using jack2 as the main audio server with pulseaudio routed through it for more than a year with no issues until a couple of weeks ago when after a power failure jack just stopped working.
    After double checking my conf (found nothing strange, again, I'm using jack in normal production for over a year and havent touched conf in a while) and downgrading kernels and jack with no success  I realized that if I suspended the PC, and tryed to start jack after resuming it, there wasnt any problems at all!!? Jack works!
    Something similar happens in my laptop (same setup), but in this case jack fails to start only the first try, on the 2nd try it will start flawlesly.
    Could it be related to systemctl?? dbus?? (the same happens with Dbus interface enabled or not)
    Pulseaudio? I've read in forums there are some issues between jack and pulseaudio, and in fact I can see pulseaudio “dead” in both situations (jack working and not)
    systemctl status pulseaudio
    pulseaudio.service
    Loaded: error (Reason: No such file or directory)
    Active: inactive (dead)
    I guess I'm still not getting right the new Systemd method or the pulseaudio method or both
    Here's the log of Qjackctl when it fails (same result starting jack from command line)
    ERROR: JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
    ERROR: Driver is not running
    ERROR: Cannot open client name = dbusapi
    ERROR: failed to create dbusapi jack client
    17:49:51.668 ALSA connection graph change.
    17:49:51.698 ALSA connection graph change.
    17:49:58.744 Could not connect to JACK server as client. - Overall operation failed. - Server communication error. Please check the messages window for more info.
    Client name = qjackctl conflits with another running client
    Any hints will be very welcome!
    Cheers!

Maybe you are looking for

  • Billing payment has been declinded

    hii im trying to download free apps. and its saying my previous billing payment has been declinced please entre another payment method which my bank did decline payments for fraud issues but ive now sorted it out with the bank. and they av took the b

  • Behaviour of thread in multicore processor

    hiii i want to know how thread behave in the multicore processor. wt i know is that at a time only one thread is running in case of single processor. but wt happen if i hv multicore processor means can 2 threads run at a time in multicore proccessor.

  • Possible to burn book pages to disk?

    I am about half way through a book but need the person for whom it is being done to look at it before I continue. Is there a way to burn it to disk so I can mail it to her? She's PC, not Mac, and I think a disk would work best. Thanks to anyone who c

  • Concerning String Handling

    Hello To Every One, I have a query concerning String Handling. String s3 = "Java is a wonderful language";     System.out.println("s3 is: "+s3);     System.out.println("lastIndexOf(a, 23) = " + s3.lastIndexOf('a', 23));     System.out.println("******

  • HT201272 how can i get all my audio books i purchased

    How can i get back my autio books i had purchased