Hello,

> please show "crontab -u piler -l". It should contain at least the
> indexer jobs.

Here is the piler crontab:

$ sudo -u piler crontab -l
*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print $11}' >
/var/piler/stat/cpu.stat
*/15 * * * * /usr/bin/indexer --config /usr/local/etc/sphinx.conf
--quiet delta1 --rotate && sleep 2 && /usr/bin/indexer --config
/usr/local/etc/sphinx.conf --quiet --merge main1 delta1
--merge-dst-range deleted 0 0 --rotate
*/15 * * * * /usr/bin/indexer --config /usr/local/etc/sphinx.conf
--quiet tag1 --rotate
*/15 * * * * /usr/bin/indexer --config /usr/local/etc/sphinx.conf
--quiet note1 --rotate
#30 7 * * * /usr/local/libexec/piler/daily-report.php /var/www/piler


> if you have them, then su to account piler, and run them manually, and
> let's see > what happens.
Ok let's try:

$ sudo -u piler -i

This is the first cronjob command:

LC_ALL=C mpstat | tail -1 | awk '{print $11}' > /var/piler/stat/cpu.stat

No output.

The second job, first command:

$ usr/bin/indexer --config /usr/local/etc/sphinx.conf --quiet delta1
--rotate

No output

The third:
$ /usr/bin/indexer --config /usr/local/etc/sphinx.conf --quiet --merge
main1 delta1 --merge-dst-range deleted 0 0 --rotate
WARNING: IsEmpty != attribute size (64)

I got this warning.

This is the third command:

/usr/bin/indexer --config /usr/local/etc/sphinx.conf --quiet tag1 --rotate

No output

And the last indexer job got no output too:

$ /usr/bin/indexer --config /usr/local/etc/sphinx.conf --quiet note1
--rotate

After running all these commands manually, no results are given in the
web ui.

The mysql queries gets the same results as my first message.
I'm blocked here :-(

Thnak you,
--
Gabriele

Reply via email to