Cannot start mongodb in Mac - mongodb

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?

Related

How do I fix this MongoDB Permission Denied error?

I'm using:
brew install mongodb-community#6.0
To install mongoDB. it keeps giving me the error :
==> Installing mongodb/brew/mongodb-community dependency: mongodb-database-
Error: An exception occurred within a child process:
Errno::EACCES: Permission denied # dir_s_mkdir - /usr/local/Cellar/mongodb-database-tools/100.6.1
How do I fix that?

Unable to start tailscaled service on debian 11 container

Tailscale version 1.22.0
Your operating system & version Debian bullseye 11
version
Hello sir, could you guide me how to start tailscaled.service. i got an error message like this :
failed to connect to local tailscaled; it doesn’t appear to be running (sudo systemctl start tailscaled ?)
And when i try to run this command sudo systemctl start tailscaled. I got another different error :
Job for tailscaled.service failed because the control process exited with error code.
See “systemctl status tailscaled.service” and “journalctl -xe” for details.
Thanks
The journalctl output it suggests to run would tell the error it is experiencing. I'd recommend running:
journalctl -u tailscaled --since="2 hours ago"

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.

Error while trying to run postgresql using homebrew

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.

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.