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 at > http://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.
