Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting tips #4

Open
ArthurClemens opened this issue Sep 5, 2015 · 0 comments
Open

Troubleshooting tips #4

ArthurClemens opened this issue Sep 5, 2015 · 0 comments

Comments

@ArthurClemens
Copy link
Contributor

My Solr module would not start.

These are the steps I needed to do:

  • Recompile mod_search_solr: using ./bin/zotonic shell do z:m()
  • In System/Modules: Deactivate, then Activate mod_search_solr
  • In the iptablesrules config, add the lines:
# Allow Solr
-A OUTPUT -o eth0 -p tcp --dport 8983 -m state --state NEW,ESTABLISHED -j ACCEPT
-A INPUT -i eth0 -p tcp --sport 8983 -m state --state ESTABLISHED -j ACCEPT

and reload iptables with the updated rules

  • I have fail2ban running so I did sudo service fail2ban restart
  • To see if Solr is running in the browser, use ssh -L 8983:localhost:8983 myusername@mysite.com, then view at http://localhost:8983/solr/#/
  • System/Status: rebuild search index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant