I tried as you suggested. With no errors.

The --rotate option is in the commands in the crontable, though.


Am 27.04.2017 um 11:53 schrieb Janos SUTO:
I think you don't use the rotate option. Login as user piler, then run the tag indexer command as in the official docs. It should provide no errors.

Janos
------------------------------------------------------------------------
*From:* "Stephan Schöffel"
*Sent:* Thu Apr 27 11:39:06 GMT+02:00 2017
*To:* Piler User
*Subject:* Re: Cron job errors

Is there no sollution to this?


Am 08.03.2017 um 10:49 schrieb Stephan Schöffel:

    Hello Janos, I installed the cronjobs as suggested in your
    documentation. This is causing a lot of errors, though. e.g.:
    FATAL: failed to lock /var/piler/sphinx/tag1.tmp.spl: Resource
    temporarily unavailable, will not index. Try --rotate option.
    FATAL: failed to lock /var/piler/sphinx/note1.tmp.spl: Resource
    temporarily unavailable, will not index. Try --rotate option.
    FATAL: failed to lock /var/piler/sphinx/delta1.tmp.spl: Resource
    temporarily unavailable, will not index. Try --rotate option.
    Cronjob config is as follows: ### PILERSTART 5,35 * * * *
    /usr/local/libexec/piler/indexer.delta.sh
    <http://indexer.delta.sh> 30 2 * * *
    /usr/local/libexec/piler/indexer.main.sh <http://indexer.main.sh>
    15,45 * * * * /usr/local/libexec/piler/indexer.attachment.sh
    <http://indexer.attachment.sh> */15 * * * * /usr/bin/indexer
    --quiet tag1 --rotate --config /usr/local/etc/piler/sphinx.conf
    */15 * * * * /usr/bin/indexer --quiet note1 --rotate --config
    /usr/local/etc/piler/sphinx.conf 30 6 * * * /usr/bin/php
    /usr/local/libexec/piler/generate_stats.php --webui /var/www/piler
    */5 * * * * /usr/bin/find /var/www/piler/tmp -type f -name i.\*
    -exec rm -f {} \; ### PILEREND Is the cause maybe that most jobs
    run at */15 or 15,30,45? Or is has a different cause. Or should I
    just use the --rotate option as suggested? Please let me know how
    to further investigate this. Cheers Stephan





--

aktivoptik <http://www.aktivoptik.de>

*Stephan Schöffel*

*aktivoptik Service AG*
John-F.-Kennedy-Straße 26
D-55543 Bad Kreuznach

Tel.: +49 671.796467 150
Mobil: +49 151.28448 602
Fax: +49 671.796467 151
E-Mail: [email protected] <mailto:[email protected]>
Web: www.aktivoptik.de <http://www.aktivoptik.de>

Sitz der Gesellschaft: Bad Kreuznach
HRB 20838 • Amtsgericht Bad Kreuznach
Vorstand: Rolf Schneider (Vorsitzender), Ruth Weißmann, Jan Schneider
Aufsichtsratsvorsitzender: Hans-Walter Liese
USt-IdNr.: DE 269 834 610

Bankverbindung:
Sparkasse Rhein-Nahe
IBAN: DE13 5605 0180 0010 0621 80
BIC: MALADE51KRE

www.aktivoptik.de <http://www.aktivoptik.de>

www.top-arbeitgeber.de/suche/aktivoptik.html <https://www.top-arbeitgeber.de/suche/aktivoptik.html>

www.facebook.com/aktivoptik.de <https://www.facebook.com/aktivoptik.de>

Reply via email to