Error while trying to run postgresql using homebrew - postgresql

I get this error after running
brew services start postgresql
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/user/Library/LaunchAgents/homebrew.mxcl.postgresql.plist` exited with 5.

Related

How to Solved this Error, Failed connect to MongoDB

(node:9654) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
error: A hook (orm) failed to load!
error: Error: Failed to connect to MongoDB. Are you sure your configured Mongo instance is running?
Error details:
Error [MongoError]: failed to connect to server [localhost:27017] on first connect

Error building mongo 4.2.12 on debian 10 arm64

I am trying to build mongo on Debian 10 arm64. I am trying to use the official documentation to build but it's failing every time. I am just building mongod using the command:
python3 buildscripts/scons.py mongod
This results in the following error:
Compiling build/opt/mongo/db/logical_clock.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
scons: *** [build/opt/mongo/transport/message_compressor_options_server_gen.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/transport/message_compressor_options_server_gen.o failed: Error 1
Previous build try resulted in:
**g++:** **fatal error:** Killed signal terminated program cc1plus
compilation terminated.
scons: *** [build/opt/mongo/db/db.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/db/db.o failed: Error 1
Online search suggested that I might be using the wrong tool chain:

brew services start mongodb-community not working on m1 mac

I was following mongodb docs to install mongodb-community on my mac. But this error appeared:
Bootstrap failed: 5: Input/output error
Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/lakshyadhariwal/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist` exited with 5
I tried to do the final step of brew services start mongodb-community, googling and tried various answers online but none worked.

Cannot start mongodb in Mac

In my mac 11.5.2, I wanted to install mongodb. I tried to install by brew install mongodb-community#3.2, Then brew services run mongodb-community#3.2 returned
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /usr/local/opt/mongodb-community#3.2/homebrew.mxcl.mongodb-community#3.2.plist` exited with 5.
And brew services shows
Name Status User Plist
mongodb-community#3.2 error SoftTimur /usr/local/opt/mongodb-community#3.2/homebrew.mxcl.mongodb-community#3.2.plist
nginx stopped
Could anyone help?

Error running PostgreSQL on Docker-io

When attempting to initialise the PostgreSQL database after installing on a Docker-io Fedora 19 container I get the following error:
bash-4.2# postgresql-setup initdb
Failed to get D-Bus connection: No connection to service manager.
failed to find PGDATA setting in postgresql.service
Looks like an environmental issue but any help would be appreciated.