-
Notifications
You must be signed in to change notification settings - Fork 11
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
Solr dead but pid file exists #3
Comments
Did you have Solr running on these boxes prior to installing this script? It will look for /var/run/solr.pid when you run the start command, if that file already existed you would get this message. |
I'll give it a shot and reply back with my results |
There is not a pid file for solr beforehand |
This is very strange. It seems as if I have to wait a certain amount of time after running chkconfig. I ran chkconfig through fabric, then ssh'd into the box and manually started it and it worked. |
Can you post the fabric script? |
The whole thing is huge. I'll just post the necessary area
The file has already been configured EDIT* |
I'm assuming the problem occurs on the last line? I only have a centos 5 VM to test on right now and I can't recreate issue. I have a centos 6 VM at home, I'll have a look tonight. In the mean time if you find the solution please let me know. |
I'm closing this, as I'm unable to recreate it. |
For some reason, when using these scripts, on the first run, I always get 'solr dead but pid file exists'. It never happens from then on however. I have tested this on multiple boxes (10+), and they all have the same result. Doesn't work initially, but works everytime after.
All are CentOS 6.2 boxes incase you were curious. Any ideas?
The text was updated successfully, but these errors were encountered: