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

Quack will not start - Connection problem with mongodb - Started mongodb using systemctl #251

Closed
bobbeck55 opened this issue Mar 2, 2023 · 1 comment

Comments

@bobbeck55
Copy link

I installed mongodb v6 and was able to start it up and use the mongosh.
Now I am attempting to bring up quack using the steps in your quack repo README.md file
How to run on a standalone server.

Installed NGINX and add conf/quack.conf to /etc/nginx/quack.conf
Run mongo - sudo systemctl start mongod > mongod.log
Run quack - ava -Xbootclasspath/a:/etc/quack -jar quack/assembly/target/lib/jetty-runner.jar quack/assembly/target/q
uack.war > quack.log.txt 2>&1

There is a connection problem in the quack log.
2023-03-02 10:30:37,152 [scription='null'}-mongod:27017] INFO cluster - Exception
in monitor thread while connecting to server mongod:27017
com.mongodb.MongoSocketException: mongod: Temporary failure in name resolution'

The config and log files are attached.
mongod.cmdline.txt
mongod.conf.txt
mongod.log.txt
nginx.conf.txt
quack.conf.txt
quack.log.txt
quack.properties.txt
quack_cmdline.txt

@bobbeck55
Copy link
Author

When I added "mongo.uri=mongodb://localhost:27017/dbname"
to the quack.properties file, quack was able to connect with mongodb.

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