piler web search blank

Issue #1158 closed
Adiyal Ketan created an issue

After login in to piler, click on search options blank. following logs received in mail.log

Mar 18 17:57:44 njuser piler-webui[27326]: sphinx query: 'SELECT id FROM main1,dailydelta1,delta1 WHERE MATCH(' (@from testXindiaonlineXin | @to testXindiaonlineXin) ') ORDER BY sent DESC LIMIT 0,20 OPTION max_matches=1000' in 0.00 s, 0 hits, 0 total found

so please help.

piler version :- 1.3.6 build 998

sphinx-3.3.1

Comments (6)

  1. Janos SUTO repo owner

    Check if you have any email indexed, see files and their modification time in /var/piler/sphinx. Also check if the indexer scripts running periodically, see crontab -u piler -l

  2. Adiyal Ketan reporter

    Now problem is resolved.

    Thanks for your support. one more thing how to process the error mail.

    I checked, error folder and lot of email were stuck due to following error on that days. so please suggest how to reprocess the error folder mail.

    Mar 17 04:17:16 njuser piler[24728]: 40000000605182d60035df0400f7f285b0d6: error: mysql_stmt_prepare() Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) => sql: INSERT INTO attachment (piler_id,attachment_id,sig,name,type,size,ptr) VALUES(?,?,?,?,?,?,?)

  3. Janos SUTO repo owner

    As the error message suggests piler can’t connect to the mysql server using parameters in piler.conf. Verify that those parameters are correct.

  4. Adiyal Ketan reporter

    now parameters is corrected and working fine but some email are pending due to that error.

    all email’s are available in error folder so how to process that email again.

  5. Janos SUTO repo owner

    Move the emails from /var/piler/error to /var/piler/tmp/0, so piler daemon will start to process them. Also be sure to check the mail log, and see they are being stored.

  6. Log in to comment