Chris R Posted November 11, 2009 Posted November 11, 2009 I followed the guide that was posted regarding the Sphinx search engine setup. All went well, but I keep getting the following email on my machine...not sure what I'm doing wrong or how to fix it. >_< Subject: Cron <pyro@pegasus> /usr/local/bin/indexer --config /home/pyro/sphinx.conf core_search_delta members_search_delta forums_search_delta --rotate Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/pyro> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=pyro> Sphinx 0.9.8.1-release (r1533) Copyright © 2001-2008, Andrew Aksyonoff using config file '/home/pyro/sphinx.conf'... indexing index 'core_search_delta'... FATAL: failed to open /var/sphinx/core_search_delta.tmp.spl: Permission denied, will not index. Try --rotate option.
Chris R Posted November 11, 2009 Author Posted November 11, 2009 Ah crap. For those people out there that may have the same problem in the future... Make sure you check ownership permission stuff! Sorry about the stupid topic. Hopefully my idiocy helps someone in the future. :whistle:
AndyF Posted November 11, 2009 Posted November 11, 2009 Good to hear you fixed it. I'll move your topic into Server Management , simply so anyone having this problem in the future will find it easily via a search. :)
Chris R Posted November 11, 2009 Author Posted November 11, 2009 Also, one other correction... I was recieving the error: WARNING: no such index 'forums_search_delta', skipping. forums_search_delta is actually forums_search_topics_delta and forums_search_posts_delta
Mark H. Posted November 12, 2009 Posted November 12, 2009 Yes, the forums_search_delta was dropped, and the two other ones created, in umm.... one of the point releases. Don't remember which one, off the top of my my head. If you're running v3.0.5, I know the following will work since it's what I do on my dedi. Remove all instances of forums_search_delta and replace with the two new ones in your config files and cron jobs. Replace /xxxxx with /your-user-account-name, if applicable, otherwise remove that part of the path. Here is a typical cron pair, taken from an install of mine: */15 * * * * /usr/local/sphinx/xxxxx/bin/indexer --config /usr/local/sphinx/xxxxx/etc/sphinx.conf core_search_delta forums_search_posts_delta forums_search_topics_delta members_search_delta downloads_search_delta gallery_search_delta calendar_search_delta blog_search_delta --rotate > /dev/null 2>&1 0 3 * * * /usr/local/sphinx/xxxxx/bin/indexer --config /usr/local/sphinx/xxxxx/etc/sphinx.conf --all --rotate > /dev/null 2>&1 NOTE: The above jobs are for an install with all core applications: Board, Blog, Downloads, and Gallery. REMOVE any that are not applicable to your install (e.g. blog_search_delta, downloads_search_delta, gallery_search_delta). Hope that helps.
Ocean West Posted December 15, 2010 Posted December 15, 2010 I am getting this error... using config file '/home/fmforums/sphinx/sphinx.conf'... indexing index 'core_search_delta'... FATAL: failed to open /var/sphinx/core_search_delta.tmp.spl: Permission denied, will not index. Try --rotate option. also forums_search_topics_delta doesn't exist as a string in the conf file?
Ocean West Posted December 16, 2010 Posted December 16, 2010 ok nuked the directory and reset it up but now i am getting this error indexing index 'core_search_delta'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.209 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'members_search_delta'... collected 1 docs, 0.0 MB collected 2 attr values sorted 0.0 Mvalues, 100.0% done sorted 0.0 Mhits, 100.0% done total 1 docs, 46 bytes total 0.004 sec, 9451 bytes/sec, 205.46 docs/sec indexing index 'forums_search_posts_delta'... collected 6 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 6 docs, 1853 bytes total 0.221 sec, 8371 bytes/sec, 27.10 docs/sec indexing index 'calendar_search_delta'... collected 0 docs, 0.0 MB collected 0 attr values sorted 0.0 Mvalues, 100.0% done total 0 docs, 0 bytes total 0.003 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'downloads_search_delta'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.008 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'blog_search_delta'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.009 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'gallery_search_delta'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.003 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'gallery_search_comments_delta'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.003 sec, 0 bytes/sec, 0.00 docs/sec total 24 reads, 0.000 sec, 1.1 kb/call avg, 0.0 msec/call avg total 53 writes, 0.002 sec, 1.2 kb/call avg, 0.0 msec/call avg WARNING: access denied to PID 30614. WARNING: indices NOT rotated.
Ocean West Posted December 16, 2010 Posted December 16, 2010 setting up the cron as my user on cPanel produce the error above - ended up logging in as root and set it up system crontab and that seemed to do the trick.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.