Does anybody know how to fix the ColdFusion Collec...
# adobe
j
Does anybody know how to fix the ColdFusion Collections in the CF admin? Please see image, when I go to the CF Collections in the CF admin, I get the following error -
Unable to retrieve collections from the Search Services.
Ensure that you have installed ColdFusion Search Service and it is running.
I have Search installed, and I do have Solr running during this process, but no luck. Any help would be greatly appreciated.
m
@joechastain Have you configured the Solr home correctly ?
e
Did you forget to create the collection? That is the first step.
j
Thanks so much for your replies. Everything is installed correctly as I can view the Solr admin as well as the CF admin. I went ahead and created a collection using code, and the interface works now in the CF admin, but now when I try to add a collection I get an error saying that the collection had already been defined, but the interface does not display the listing of collections. I get this error no matter what I call the collection, and no collections exists. For example I get the error on a collection called finance
Copy code
- Unable to create collection finance.
Unable to create collection finance, collection already exists.
There is already a collection registered with the Solr Search service by that name.
m
@johnbarrett Please check the Solr installationn location (<Install_Solr>/multicore/collections ). Please check any folder name "finance" exist . Please delete it and try again . Please check solr logs and coldfusion logs if you find any issue . Can you share the solr server screenshot in CF so that we can check you have set solr home correctly ?
j
@mukumar thanks so much for all your help, I really appreciate it very much. I checked the location of Solr which is in the jetty folder in the cf location. I looked in the multicore location, but I didn't see any of the collections there or any folders with "finance". I looked in the logs folder inside of the jetty folder, and I saw -
ohup: /Applications/CFNextBeta/jre/Contents/Home/bin/java: Permission denied
Besides this error didn't see any other errors in the jetty logs or the ColdFusion logs. Attached are 3 screenshots, one of the Solr web instance, and two of the cf admin sections for Solr and CF Collections. Thanks again for your help and hope that was able to find the necessary information.
m
@johnbarrett "ohup: /Applications/CFNextBeta/jre/Contents/Home/bin/java: Permission denied." Can you start the server with sudo permission ?
j
@mukumar I can start the ColdFusion server with sudo (and Have done so), but when try to start the Solr server with sudo it never starts.
m
@johnbarrett Can you pl. try again with Beta1 builds? Let us know .
j
@mukumar thanks so much for getting back to me. I can start the Solr as a root user with this command -
sudo solr start -p 8998 --force
However, I am getting the same error that no matter what I call the collection I get the error saying that it already exists. Also, the same permission denied error is in the logs. I am using the latest drop of the beta.
m
@johnbarrett Can you pl. log a bug and share your environment details ?
j
@mukumar Yes I can log a bug, I will let you know how it goes. Thanks so much for all your help!
m
@johnbarrett Can you pl. share/attach the cfjetty.sh to the bug ? Pl. check the RUNTIME_USER variable is empty or set ? Also share the start.log file