Ugh, I feel stupid. I forgot that I changed computers and for some reason my Mac didn't name my home directory after my real name so I entered the wrong directory in the config. Anyways, I got that working but I ran into another problem. When I try and create a new record that is being indexed by TS, I get this exception:
Permission denied - /Users/xx/xx/log/searchd.pid On Dec 26, 2:12 am, Pat Allan <[email protected]> wrote: > You really shouldn't need to use sudo - especially on your dev machine. > What's the permissions on the log folder? There's not an existing searchd.pid > file in there, is there? If there is, what's the permissions on that? > > Also, what happens if you run that command without the --pidfile argument? > > -- > Pat > > On 26/12/2010, at 9:07 PM, Mike C wrote: > > > > > I get this error: > > > FATAL: failed to create pid file '/Users/xx/xx/log/searchd.pid': No > > such file or directory > > > The directory exists though and I used sudo. > > > On Dec 26, 1:38 am, Pat Allan <[email protected]> wrote: > >> Hi Mike > > >> What happens when you run (assuming from within the Rails project > >> directory): > > >> searchd --config config/development.sphinx.conf --pidfile > > >> -- > >> Pat > > >> On 26/12/2010, at 8:33 PM, Mike C wrote: > > >>> I installed sphinx via MacPorts on Mac OSX Snow Leopard, and I'm using > >>> TS 2.0.1 and Rails 3.0.3. When I try and start TS, I get this: > > >>> Failed to start searchd daemon. Check /Users/snibble/Projects/Ruby/ > >>> storychan/log/searchd.log. > >>> Failed to start searchd daemon. Check /Users/snibble/Projects/Ruby/ > >>> storychan/log/searchd.log > > >>> When I try and run searchd by itself, I get this: > > >>> Sphinx 0.9.9-release (r2117) > >>> Copyright (c) 2001-2009, Andrew Aksyonoff > > >>> FATAL: no readable config file (looked in /opt/local/etc/sphinx/ > >>> sphinx.conf, ./sphinx.conf). > > >>> I already ran the configure and index tasks, and oddly enough there > >>> isn't a searchd.log in my log directory. > > >>> -- > >>> You received this message because you are subscribed to the Google Groups > >>> "Thinking Sphinx" group. > >>> To post to this group, send email to [email protected]. > >>> To unsubscribe from this group, send email to > >>> [email protected]. > >>> For more options, visit this group > >>> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Thinking Sphinx" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/thinking-sphinx?hl=en. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
