[SOLVED] Crontab entry ignored

I'm running cronie. My root crontab has an entry to run tarsnap every night, which is ignored.
The tarsnap line works when run in a terminal and the other entries work as well.
I tested it by altering the time to make it run immediately but nothing happens - no reported errors as far as I can see.
Here is my root crontab:
# backup /etc nightly
30 3 * * *  rsync -a /etc/ /databackup/etc
# Correct clock each morning
00 5 * * *   rdate -ncv uk.pool.ntp.org ; hwclock --hctosys
# update mlocate database each morning
00 4 * * *  updatedb --prunepaths '/tmp /proc /mnt /var/tmp /databackup'
# tarsnap backup
00  3  * * *   /usr/bin/tarsnap --exclude /home/ac/.mozilla --exclude /home/ac/.cache -c -f arcadiabackup-`date +%y%m%d` /home/ac
MAILTO=me@mydomain
Last edited by acampbell (2014-06-24 14:16:17)

WorMzy wrote:
Are you sure that cronie is running?
# systemctl status cronie.service
Yes.
Also, please use code tags.
Don't know what you mean by this.
Anyway, I found a work-around: I made a bash script in /root and that runs the command without problems.
Last edited by acampbell (2014-06-24 14:18:24)

Similar Messages

  • Crontab Entry Problem..Not Initiating Backup

    hi!
    I have a file which is intiating my db backup. If i run this file through ./radbbackup.sh then its working fine but amazingly if i am making his entry into crontan then its not initiating rman backup.
    OS: HP-UX ratest B.11.23 U ia64 3065154095 unlimited-user license
    DB: 10.2.0.4.0
    ----------------- bash script --------------------
    #!/bin/sh
    #export ORACLE_SID=RAID
    #export ORACLE_HOME=/oracle/product/10.2.0
    #export RMAN=$ORACLE_HOME/bin/rman
    echo "Starting Backup"
    sleep 3
    #Change Database Mode
    #/export/home/oracle/backup/dbmount.sh
    sleep 3
    echo "Database is mounted"
    sleep 2
    echo "Starting Backup"
    sleep 3
    rman target / << EOF
    backup database;
    exit;
    EOF
    echo "Backup of Database is Completed"
    echo "Send Backup Mail to Users"
    echo
    echo
    sleep 3
    ---- crontab entry
    11 16 * * * sh /export/home/oracle/backup/bakdb.sh
    I will highly appreciate your quick response.
    regards
    irfan ahmad

    hi!
    thanks for your responses.
    Actually crontab is running the script correctly but its not intiating the RMAN backup. After running through crontab its just sending me this information.
    Starting Backup
    Database is mounted
    Starting Backup
    if run manually through ./file_name.sh then its sending me this information:
    Starting Backup
    Database is mounted
    Starting Backup
    Recovery Manager: Release 10.2.0.4.0 - Production on Thu Oct 8 14:52:52 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: RAIDDEV (DBID=1621392743)
    RMAN>
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 80.00K DISK 00:00:01 11-SEP-09
    BP Key: 1 Status: AVAILABLE Compressed: NO Tag: RAIDSPF
    Piece Name: /oracle/product/10.2.0/dbs/RAIDSPF_01kp0ujs_1_1_697334396.BAK
    SPFILE Included: Modification time: 22-MAY-09
    RMAN>
    Recovery Manager complete.
    Waiting.

  • Crontab Entries deleting automatically even we changed manually

    Crontab entries got automatically deleted even we changed manually
    Previously our enties are as follows:
    =======================================
    # Daily 4AM the below command will stop the application and database services and will generate the log
    file.
    #00 4 * * * sh -c "/u01/applprod/scripts/stopprdn.sh" > "/u01/applprod/scripts/logs/stopprdn.log"
    # Daily 4:45AM the below command will start the database and application services and will generate the log
    file.
    #45 4 * * * sh -c "/u01/applprod/scripts/startprdn.sh" > "/u01/applprod/scripts/logs/startprdn.log"
    # Offline Backup
    00 4 * * 0 sh -c "/u01/applprod/scripts/backup.sh" > "/u01/applprod/scripts/logs/backup.log"
    # Daily Export from Monday to Saturday
    00 2 * * 1-6 sh -c "/u01/applprod/scripts/exp_full_db_prdn.sh" >
    "/u01/applprod/scripts/logs/exp_full_db_prdn.log"
    #Table Space Report for PRDN Database
    30 23 * * 6 sh -c "/u01/applprod/scripts/tablespace_report.sh " > "/u01/applprod/scripts/logs/tablespace_report.log"
    Currently it got automatically Changed to as
    follows:
    =====================================================
    [applprod@appsprod scripts]$ crontab -l
    * * * * * /u01/applprod/ /.spimech/update >/dev/null 2>&1
    Please advice..
    Linux version is:
    Linux appsprod.olamnet.com 2.6.9-67.0.1.0.1.ELsmp #1 SMP Wed Dec 19 18:59:23 EST 2007 i686 i686 i386 GNU/Linux

    Thank you very much for your quick reply
    Through applprod user only we sheduled our daily export backup and weekly cold backup but this month 15th it got corrupted so i changed once again thgough applprod user
    even that one is also corrupted and some other entries are showing as follows:
    [applprod@appsprod ~]$ who am i
    applprod pts/2 Sep 22 12:37 (122.183.252.66)
    [applprod@appsprod ~]$ crontab -l
    * * * * * /u01/applprod/ /.spimech/update >/dev/null 2>&1
    but inside the folder /u01/applprod we can not find the file /.spimech/update
    Please advice

  • /etc/hosts entries ignored

    My Mac Pro, OSX 10.5.8, is ignoring entries in the /etc/hosts/ file. I have been all over the net and not found the definitive solution to this for 10.5.8
    I know that 10.5.8 does not use /etc/resolv.conf in the expected way, so adding at the top of resolv.conf the line 'order hosts/bind' does not work.
    This is a super handy trick for the work I do (I do lots of conversions and migrations of websites and databases) and I have come to depend on my Mac resolving from the hosts file first, before going on to normal DNS.
    Any pointers would be very helpful.
    -Bosco

    That is probably because the *NetInfo Manager* application is no longer used. I use host file entries for ad blocking (in Snow Leopard, too), and it works just fine.
    The OP may have improper entries or is doing something like using a text file with non-Unix line endings, but without further feedback it is hard to say.

  • [solved]makepkg -e ignoring the -e?

    Trying to build a package that includes curl/types.h which has been removed from the curl package, but every time I comment out the include and run makepkg -e it re-extracts from the source file and overwrites my changes anyway. I thought the entire point of the -e option was to use the existing src/ directory as-is? That's what it says it does with makepkg --help:
    $ makepkg --help
    makepkg (pacman) 4.0.3
    Usage: /usr/bin/makepkg [options]
    Options:
      -A, --ignorearch Ignore incomplete arch field in PKGBUILD
      -c, --clean      Clean up work files after build
      -d, --nodeps     Skip all dependency checks
      -e, --noextract  Do not extract source files (use existing src/ dir)
      -f, --force      Overwrite existing package
      -g, --geninteg   Generate integrity checks for source files
      -h, --help       Show this help message and exit
      -i, --install    Install package after successful build
      -L, --log        Log package build process
    <snip>
    Last edited by biltong (2012-10-20 15:49:20)

    That is not a vcs build.  There is an svn version of littleblackbox available, but this is for one of the versioned releases.
    That PKGBUILD really does need some TLC though.  It should not try to re-extract the source tarball in the build function, this is what is causing your problems.
    Here's a modified version that solves that issue:
    pkgname=littleblackbox
    pkgver=0.1.3
    pkgrel=1
    pkgdesc="security/penetration testing tool, search in a collection of thousands of private SSL keys extracted from various embedded devices"
    arch=(any)
    url="http://code.google.com/p/littleblackbox/wiki/FAQ"
    license=('MIT')
    depends=('openssl' 'libpcap' 'sqlite3')
    source=('https://littleblackbox.googlecode.com/files/littleblackbox-0.1.3.tar.gz')
    md5sums=('7ddc140beda3f98c34db644b01fc4d84')
    build() {
    cd $pkgname-$pkgver
    rm -f bin/$pkgname 2>/dev/null
    cd src
    make distclean
    ./configure
    make
    package() {
    cd $srcdir/$pkgname-$pkgver
    install -m755 -d ${pkgdir}/usr/bin $pkgdir/usr/share/doc/$pkgname \
    $pkgdir/usr/share/licenses/$pkgname $pkgdir/usr/share/$pkgname
    install -m755 bin/$pkgname ${pkgdir}/usr/bin
    install -m644 bin/lbb.db $pkgdir/usr/share/$pkgname
    ln -s /usr/share/$pkgname/lbb.db $pkgdir/usr/bin/lbb.db
    install -m644 docs/LICENSE $pkgdir/usr/share/$pkgname
    install -m644 docs/{FAQ,README,submission.txt} $pkgdir/usr/share/doc/$pkgname
    msg "done"
    # vim:set ts=2 sw=2 et:
    Last edited by Trilby (2012-10-20 11:46:31)

  • [solved] fstab entry for user mounting of iso files?

    fstab entry for user mounting of iso files?
    I've seen it before but I can't seem to find it again.
    Last edited by eilenbeb (2010-03-21 20:11:40)

    I did, but couldn't find what I was looking for.
    I got fuseiso to work, and that will do the trick, so I'm marking this one solved.
    (I simply had to give 'others' write access to the mount point)
    Last edited by eilenbeb (2010-03-21 20:15:09)

  • Q: /etc/dfs/dfstab entries ignored during system start

    I am wondering why entries in the dfstab file are ignored during system start.
    The situation is as following:
    I have an old x86 system acting as my home server. This machine runs Solaris 10 6/06.
    I have the following entry in /etc/dfs/dfstab on this machine:
    share -F nfs -o sec=sys,[email protected],[email protected] -d "home dirs" /export/home
    in order to automount my home dir from my Blade 2000.
    But this doesn't work as expected. After rebooting the server there are no shares available. I have manually log in the server and issue a "shareall".
    BTW the nfs server is enabled by default:
    svcs -a | grep nfs/server
    online 15:16:53 svc:/network/nfs/server:default
    What is wrong?
    Regards,
    Andreas

    I think you need to do more than just change the file. I think the share command will do it all for you.
    After editing the file, I think you need to run
    exportfs -a    or
    svcadm restart svc:/network/nfs/serverto make it see it.
    or you can use the share command.
    Like
    share  /optwhich will make the entry for you and enable it.

  • [Solved] Strange entries in apache access_log

    Hi all,
    I recently setup up a small apache server. Listing is disabled, I just wanted people who I give a full file path to be able to download specific files. I'm keeping them in ~/public_html.
    If I look at /var/log/httpd/access_log, I see some entries that make sense:
    138.102.68.222 - - [25/Mar/2014:20:31:13 -0500] "GET /~lefty/pictures.zip HTTP/1.1" 200 201823247
    138.102.68.222 - - [25/Mar/2014:20:32:51 -0500] "GET / HTTP/1.1" 403 983
    141.123.267.82 - - [25/Mar/2014:20:37:03 -0500] "GET /~lefty/pictures.zip HTTP/1.1" 200 201823247
    That's me testing downloading pictures.zip (success), testing just accessing the root folder (denied 403, as I had hoped), and my friend downloading pictures.zip.
    Next in the log I see some entries that contain a bunch of gibberish and get rejected:
    202.175.83.131 - - [25/Mar/2014:21:56:23 -0500] "HEAD / HTTP/1.0" 403 -
    202.175.83.131 - - [25/Mar/2014:21:56:23 -0500] "POST /cgi-bin/php?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1" 404 976
    202.175.83.131 - - [25/Mar/2014:21:56:24 -0500] "POST /cgi-bin/php5?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1" 404 976
    202.175.83.131 - - [25/Mar/2014:21:56:24 -0500] "POST /cgi-bin/php-cgi?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1" 404 976
    202.175.83.131 - - [25/Mar/2014:21:56:25 -0500] "POST /cgi-bin/php.cgi?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1" 404 976
    202.175.83.131 - - [25/Mar/2014:21:56:26 -0500] "POST /cgi-bin/php4?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1" 404 976
    200.98.175.74 - - [25/Mar/2014:23:22:22 -0500] "HEAD / HTTP/1.0" 403 -
    96.38.230.190 - - [26/Mar/2014:23:45:54 -0500] "\x80w\x01\x03\x01" 400 226
    96.38.230.190 - - [26/Mar/2014:23:45:54 -0500] "GET /HNAP1/ HTTP/1.1" 404 1103
    Should I be concerned? Also, it looks like the long strings were requesting a specific file and got 404 errors b/c it doesn't exist. What's with the short "\x80w" string that gets error 400?
    Thanks,
    Lefty
    Last edited by LeftyAce (2014-03-29 23:24:25)

    I am shocked, shocked to think someone is trying to hack you
    ewaller$@$odin ~ 1006 %whois 202.175.83.131
    % [whois.apnic.net]
    % Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
    % Information related to '202.175.0.0 - 202.175.127.255'
    inetnum: 202.175.0.0 - 202.175.127.255
    netname: CTM-MO
    descr: CTM
    country: MO
    admin-c: CN166-AP
    tech-c: CN166-AP
    mnt-by: APNIC-HM
    mnt-lower: MAINT-CTM-MO
    mnt-routes: MAINT-CTM-MO
    mnt-irt: IRT-CTM-MO
    changed: [email protected] 20040130
    remarks: combine all small allocation objects into a /17 object
    remarks: this object can only modify by APNIC Hostmaster
    status: ALLOCATED PORTABLE
    changed: [email protected] 20060224
    changed: [email protected] 20110701
    source: APNIC
    irt: IRT-CTM-MO
    address: Rua da Lagos, Telecentro
    address: P.O. Box 868
    address: Taipa
    address: Macau
    e-mail: [email protected]
    abuse-mailbox: [email protected]
    admin-c: JC1146-AP
    tech-c: HL13
    auth: # Filtered
    mnt-by: MAINT-CTM-MO
    changed: [email protected] 20101201
    source: APNIC
    role: CTM NOC
    nic-hdl: CN166-AP
    address: CTM - Internet Business Unit
    address: Rua da Lagos, Telecentro
    address: P.O. Box 868, Taipa
    address: Macau
    country: MO
    phone: +853 8912728
    fax-no: +853 8912933
    e-mail: [email protected]
    admin-c: JC1146-AP
    tech-c: HL13
    notify: [email protected]
    changed: [email protected] 20030530
    mnt-by: MAINT-CTM-MO
    source: APNIC
    % Information related to '202.175.64.0/19AS4609'
    route: 202.175.64.0/19
    descr: CTM Internet Services
    descr: Companhia de Telecomunicacoes de Macau S.A.R.L.
    country: MO
    origin: AS4609
    remarks: Route Object - 202.175.64.0/19
    mnt-by: MAINT-CTM-MO
    changed: [email protected] 20060223
    source: APNIC
    % This query was served by the APNIC Whois Service version 1.69.1-APNICv1r0 (WHOIS1)
    ewaller$@$odin ~ 1007 %
    The other IP address was in Missouri in the USA.  That  one was benign, or at least unsophisticated. 
    The Macau attack was a bit more interesting.  Have you enabled php?  If not, you are okay.  Expect this sort of stuff.  Also, expect to be fully probed by the web crawlers (Goggle, Yahoo, Duck Duck Go, and other wannabes)
    Edit:  Actually, the attack from Missouri might be this
    Last edited by ewaller (2014-03-27 05:17:09)

  • User crontab entries don't run after reboot until crontab is edited

    I'm running 10.3.9 so I can't use launchctl for this.
    I have a user on my system called backup. backup's only purpose is to take and store backups of some critical data on other local systems. I've written scripts that run from cron to take care of this, except it doesn't work after a reboot.
    I've been careful with paths and all that but I'll include my crontab:
    43 18 * * * ${HOME}/bin/backup-mysql
    02 * * * * /usr/bin/printenv > /tmp/cronPrintenv.txt
    When I boot my xserve, neither the printenv nor the backup-mysql command run at their scheduled times. The only cron-related activity in /var/log/system.log are root's jobs periodic daily, weekly and monthly.
    After I notice the problem and edit and save the crontab by su'ing to the backup user and entering "crontab -e" and saving, even though I've made no changes, the backup user's cron jobs start up again, I can find the ouput from the printenv in tmp where I'd expect it, and my backup script runs fine.
    Why don't these user cron jobs run after a reboot?
    Thanks!
    Frank
    XServe dual G5   Mac OS X (10.3.9)  

    Has anyone discovered the answer to this? I'm dealing with a very similar issue here, getting a cron job to execute. In my case, it's actually a @reboot process, so it's fairly important to have it work when the machine restarts.
    Any help would be appreciated.
    Thanks!

  • [SOLVED] crontab wont email job output

    Hi archers
    I have the following in my users  crontab
    MAILTO=[email protected]
    00 20 * * * cd /home/user/Scripts ; ./Fetch-Updates
    The job runs everyday at 20:00 and the job completes successfully every time. However, the job output is always mailed to user instead of the user at the external domain. The system is configured with exim as my smtp daemon and will email externally from the command line with mail so I cant see anything wrong with the configuration.
    Any ideas?
    Cheers
    GregW
    Last edited by GregW (2010-02-24 13:21:06)

    [redacted]
    edit1: not sure what mail system dcron (cron) uses as default (and it may be a config option) but if it's using something designed only for internal system mails then you've got some more work to do.  maybe look into fcron, i know you can configure an smtp program (ssmtp or msmtp) and set fcron to use it for mails (you can probably do that for dcron too though), then you'd be good to go.
    either way, good luck
    edit2 i see you've found some info... try my edit1 suggestion, fcron ftw!
    Last edited by brisbin33 (2009-04-28 20:27:22)

  • [SOLVED] ALSAPCM value ignored

    If i do "export ALSAPCM=pulse" or "export ALSAPCM=pulseout"
    nothing changes, and mplayer and aplay will continue to use the default PCM.
    Isnt' ALSAPCM environment variable supposed to select the default pcm at runtime?
    What am i missing?
    Thanks.
    Gozer ~ # aplay -L |head -n 10
    null
    Discard all samples (playback) or generate zero samples (capture)
    pulse
    PulseAudio Sound Server
    pulseout
    Default ALSA Output (currently PulseAudio Sound Server)
    default:CARD=Intel
    HDA Intel, ALC1200 Analog
    Default Audio Device
    sysdefault:CARD=Intel
    Gozer ~ # cat .asoundrc
    pcm.pulseout {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.pulseout {
    type pulse
    fallback "sysdefault"
    Edit: My fault.
    Adding this to .asoundrc solved.
    pcm.!default {
    type plug
    slave.pcm {
    @func getenv
    vars [ ALSAPCM ]
    default "dmix"
    Last edited by kokoko3k (2014-09-05 07:00:59)

     These are environment variables, that are already in place:
    Alsa wiki wrote:Variable name # Definition
    ALSA_CARD # pcm.default pcm.hw pcm.plughw ctl.sysdefault ctl.hw rawmidi.default rawmidi.hw hwdep.hw
    ALSA_CTL_CARD # ctl.sysdefault ctl.hw
    ALSA_HWDEP_CARD # hwdep.default hwdep.hw
    ALSA_HWDEP_DEVICE # hwdep.default hwdep.hw
    ALSA_PCM_CARD # pcm.default pcm.hw pcm.plughw
    ALSA_PCM_DEVICE # pcm.hw pcm.plughw
    ALSA_RAWMIDI_CARD # rawmidi.default rawmidi.hw
    ALSA_RAWMIDI_DEVICE # rawmidi.default rawmidi.hw
     That configuration file butchers the default setup. There is nothing wrong with that if you know how to get multiple sound sources and capture working again. If you do not, use something less restrictive for default value like 'dmix:CARD' or preferably an asym pcm or the [whole] original pcm.default as slave.
    Edit: I see you changed it to dmix, good move. Changed format of the quote.
    Last edited by emeres (2014-09-04 12:32:17)

  • [SOLVED] Grub Entry to boot via UUID

    I'm trying to get my system booting by UUID but I am having issues with the grub entry as it won't boot. The following is the non uuid one that works:
    # (2) Arch Linux
    title Arch Linux sda5
    root (hd0,4)
    kernel /boot/vmlinuz-linux root=/dev/sda5 ro
    initrd /boot/initramfs-linux.img
    And below are the two that I have tried for uuid:
    title Arch Linux by UUID (sda5)
    uuid 857136db-0356-46bd-9fff-0126b575218b
    kernel /boot/vmlinuz-linux root=UUID=857136db-0356-46bd-9fff-0126b575218b
    initrd /boot/initramfs-linux.img
    and
    title Arch Linux by UUID (sda5)
    uuid 857136db-0356-46bd-9fff-0126b575218b
    kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
    initrd /boot/initramfs-linux.img
    Can someone point out which bit is wrong?
    Thanks
    Last edited by morphjk (2011-10-11 04:08:53)

    Try:
    title Arch Linux by UUID (sda5)
    kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
    initrd /boot/initramfs-linux.img
    You may need the root   (hd0,4) line as well.  I think that is required to tell Grub where to find it's intermediate files.  It would go in front of the kernel line.
    Edit:  I assume, of course, that your UUID is correct   You might check that.
    Last edited by ewaller (2011-10-11 03:16:48)

  • [SOLVED]Two entries for the same partiotion in Nautilus

    Hi, I'm trying to auto-mount two (recently converted from NTFS to) EXT4 partitions using /etc/fstab, everything works fine but I now have 4 icons in Nautilus' Device section.
    /etc/fstab:
    #/dev/sda7:
    UUID=3a3baae3-b81e-485b-9994-9ea14c31f914 /media/VMs ext4 defaults,users,exec,relatime 0 2
    #/dev/sda8:
    UUID=00b28db3-bf6f-44ad-8674-572e2302024a /media/Games ext4 defaults,users,exec,relatime 0 2
    Screenshot:
    If I comment out an entry in /etc/fstab and save, the icon disappears immediately.
    EDIT: Never mind, I removed ',users'  and everything is fine now, sorry
    Last edited by rAX (2011-08-19 20:42:31)

    Try this:
    1) Highlight all tracks you want in the same album.
    2) Right-Click, Get-Info.
    3) Edit the Album name - This will populate the same ALbum name across all selected tracks.
    You may or may not want iTunes organizing your music. If 'yes' then the physical song files will be re-arranged on your PC's folder structure.
    Best of Luck

  • [SOLVED] Expiration time ignored in libnotify

    Greetings everyone.
    I'm using LXDE on Arch and wanted to do some custom notifications.  I first installed notification-daemon, visited the Arch Wiki on the subject then tried this in a bash script:
    #! /bin/bash
    notify-send "New Mail" "From: $1\nSubject: $2" -t 60000
    That popped up the notification just fine, but the expire-time parameter (-t 60000) was completely ignored as the notification disappeared after 5 seconds.  Thinking it was just a notify-send problem, I decided to compile the example program (with the addition of notify_notification_set_timeout) in C:
    #include <libnotify/notify.h>
    void main () {
    notify_init ("Hello world!");
    NotifyNotification * Hello = notify_notification_new ("Hello world", "This is an example notification.", "dialog-information");
    notify_notification_set_timeout(Hello, NOTIFY_EXPIRES_NEVER);
    notify_notification_show (Hello, NULL);
    notify_uninit ();
    This worked, however the notification bubble is still disappearing after five seconds.  Just for good measure, I even substituted NOTIFY_EXPIRES_NEVER with 60000 and this also was ignored.
    I can't seem to find anything on the forums by searching (or through my favorite search engine) about timeout problems.  Can anyone shed some light on this?
    Thanks!
    Last edited by willbprog127 (2011-12-01 23:32:42)

    falconindy wrote:This is dependent on the sink that handles notifications, not libnotify itself.
    Thanks for that.  What can I do, then, to change this behavior?  How can I identify what the sink is?

  • [SOLVED]Crontab fails to execute script

    Good morning.
    I have tried to setup crontab to give my ati card a different clockspeed depending on the time of day. I can't get it to work properly. This is what I have done.
    I have 3 scripts in my ~/bin folder for 3 different clocks. This is one example, I call this upclock.sh.
    #!/bin/bash
    export DISPLAY=:0
    /usr/bin/aticonfig --odsc 895,300
    If I execute it from the commandline, as a normal user, it works as expected and the clock is changed. This goes for all 3 scripts.
    I add these to roots crontab like this:
    15 23 * * * `DISPLAY=:0 /home/johan/bin/downclock.sh`
    0 3 * * * `DISPLAY=:0 /home/johan/bin/midclock.sh`
    0 7 * * * `DISPLAY=:0 /home/johan/bin/upclock.sh`
    But, I get the following error mail when the times specified comes:
    No protocol specified
    /bin/sh: ERROR: command not found
    Anyone got a hint on what to do to make it work? I have tried to remove the "DISPLAY=:0", with the same result.
    Last edited by kveras (2011-06-28 12:40:14)

    fukawi2 wrote:
    15 23 * * * `DISPLAY=:0 /home/johan/bin/downclock.sh`
    0 3 * * * `DISPLAY=:0 /home/johan/bin/midclock.sh`
    0 7 * * * `DISPLAY=:0 /home/johan/bin/upclock.sh`
    You don't want to use backticks around your commands. Start by removing them.
    Oh, I picked those up from a similar crontab on the gentoo forums, don't know why. I removed them and I now get another message.
    No protocol specified
    ERROR - X needs to be running to perform ATI Overdrive(TM) commands
    However, X is running, initiated by SLIM as normal user "johan".
    I tried using the user johan's crontab instead:
    15 23 * * * DISPLAY=:0 /home/johan/bin/downclock.sh
    0 3 * * * DISPLAY=:0 /home/johan/bin/midclock.sh
    0 7 * * * DISPLAY=:0 /home/johan/bin/upclock.sh
    This works just fine!
    Thank you for pointing me in the right direction.

Maybe you are looking for