natcohen opened a new issue #2630: Unable to run Clouseau after following the documentation URL: https://github.com/apache/couchdb/issues/2630 [NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ ) ## Description Unable to run Clouseau even after following the installation procedure. [NOTE]: # ( Describe the problem you're encountering. ) [TIP]: # ( Do NOT give us access or passwords to your actual CouchDB! ) ## Steps to Reproduce After carefully following the procedure [here][1] I'm unable to get it working on CentOS 8. Here is what I have done: - Installed Java 8 as described [here][2]. - Unzipped the [Clouseau release][3] in folder `/opt/clouseau` and added the `clouseau.ini` `log4j.properties` files (as described in the procedure) in the same folder. - Added the classpath: ```sh export CLASSPATH=/opt/clouseau/*` ``` - Tried to run it with the following command: ```sh java -server \ -Xmx2G \ -Dsun.net.inetaddr.ttl=30 \ -Dsun.net.inetaddr.negative.ttl=30 \ -Dlog4j.configuration=file:/opt/clouseau/log4j.properties \ -XX:OnOutOfMemoryError=\"kill -9 %p\" \ -XX:+UseConcMarkSweepGC \ -XX:+CMSParallelRemarkEnabled \ com.cloudant.clouseau.Main \ /opt/clouseau/clouseau.ini ``` But I'm getting the following error: ```sh Unrecognized option: -9 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. ``` In addition, I can see in the default.ini file of CouchDB some reference to dreyfus. Does it mean that I should add a configuration to CouchDB? Also ```ini cookie=monster ``` is described as "; set this to the same distributed Erlang cookie used by the CouchDB nodes" but I don't know where to find that. [NOTE]: # ( Include commands to reproduce, if possible. curl is preferred. ) ## Expected Behaviour The Clouseau configuration should be easier to setup (probably by improving the documentation) [NOTE]: # ( Tell us what you expected to happen. ) ## Your Environment [TIP]: # ( Include as many relevant details about your environment as possible. ) [TIP]: # ( You can paste the output of curl http://YOUR-COUCHDB:5984/ here. ) * CouchDB version used: 3.0 * Browser name and version: N/A * Operating system and version: CentOS 8 ## Additional Context [TIP]: # ( Add any other context about the problem here. ) [1]: https://docs.couchdb.org/en/master/install/search.html#install-search [2]: https://linuxize.com/post/install-java-on-centos-8/#installing-openjdk-8 [3]: https://github.com/cloudant-labs/clouseau/releases
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
