Advertisement:

Author Topic: Sphinx - search issues  (Read 951 times)

Offline toontastic

  • Jr. Member
  • **
  • Posts: 133
Sphinx - search issues
« on: September 04, 2019, 03:33:01 AM »
I'm hoping this is the correct forum, apologies if not. When performing a search on our forum (http://www.newcastle-online.org) we have started to get the error:

Unable to access the search daemon

A search of this forum suggests its an error with Spinx. I don't have a single clue on how to fix this issue. I've tried looking through the sites WHM but see nothing about Sphinx. Any help at all is gratefully received.

Thanks.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,782
    • StoryBB/StoryBB on GitHub
Re: Sphinx - search issues
« Reply #1 on: September 04, 2019, 03:44:42 AM »
It won’t be set up through WHM. Sphinx runs on the server, and usually has to be manually started once configured.

Do you have a server admin who would have set this up for you?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline toontastic

  • Jr. Member
  • **
  • Posts: 133
Re: Sphinx - search issues
« Reply #2 on: September 04, 2019, 03:55:25 AM »
We've had a change around in those running the website which is why I've come to ask these questions as don't really have anyone with high server knowledge any more... I can probably get any details needed, what do I need to do to manually start Sphinx again ?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,782
    • StoryBB/StoryBB on GitHub
Re: Sphinx - search issues
« Reply #3 on: September 04, 2019, 04:15:36 AM »
Command line access would be a start, then you’d need to find where on the server Sphinx is and restart it. You’d probably also need to check how the indexer is configured and probably need to restart that too.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline toontastic

  • Jr. Member
  • **
  • Posts: 133
Re: Sphinx - search issues
« Reply #4 on: September 04, 2019, 04:39:39 AM »
I have access to terminal. Looks like i've lots of questions to ask. Thanks.

Offline StarScream123

  • Semi-Newbie
  • *
  • Posts: 55
  • Gender: Male
    • AvPGalaxy
Re: Sphinx - search issues
« Reply #5 on: September 04, 2019, 03:03:41 PM »
That happens to me when the server is rebooted. I just go into SSH and type searchd to restart it.

I still can't figure out how to start Sphinx automatically when the server reboots.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,782
    • StoryBB/StoryBB on GitHub
Re: Sphinx - search issues
« Reply #6 on: September 04, 2019, 03:07:53 PM »
That happens to me when the server is rebooted. I just go into SSH and type searchd to restart it.

I still can't figure out how to start Sphinx automatically when the server reboots.

That's mostly dependent on your server's operating system flavour (namely whether it uses systemd or not). If it does use systemd, something like https://wiki.ubuntu.com/SystemdForUpstartUsers is probably a good place to start.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline SpacePhoenix

  • Semi-Newbie
  • *
  • Posts: 99
Re: Sphinx - search issues
« Reply #7 on: September 05, 2019, 01:53:56 AM »
That happens to me when the server is rebooted. I just go into SSH and type searchd to restart it.

I still can't figure out how to start Sphinx automatically when the server reboots.

I've never used Ubuntu but what about a cron job that checks every so many minuets of Sphinx is up, if it isn't, it gets rebooted

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,782
    • StoryBB/StoryBB on GitHub
Re: Sphinx - search issues
« Reply #8 on: September 05, 2019, 02:33:01 AM »
That’s what systemd will do for you. Other tool choices may vary.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.