Hi @Stennie_X - thanks for the help with the logs. I installed the new Mac software update and now mongo shows as started
when I run brew services list
.
Name Status User File
mongodb-community started chaseschlachter ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
I still can’t get the mongo
command to work, though. I get the below error:
zsh: command not found: mongo
Here are the 20 rows of error logs from trying to run mongo
:
tail -n 20 $(brew --prefix)/var/log/mongodb/mongo.log
{"t":{"$date":"2022-10-31T09:24:45.750-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn13","msg":"client metadata","attr":{"remote":"127.0.0.1:49453","client":"conn13","doc":{"driver":{"name":"nodejs","version":"4.8.1"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.5.0, LE (unified)|Node.js v16.5.0, LE (unified)","application":{"name":"MongoDB Compass"}}}}
{"t":{"$date":"2022-10-31T09:24:47.723-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:49454","uuid":"6207768b-05d1-4a42-a22f-3068112739fb","connectionId":14,"connectionCount":14}}
{"t":{"$date":"2022-10-31T09:24:47.725-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn14","msg":"client metadata","attr":{"remote":"127.0.0.1:49454","client":"conn14","doc":{"driver":{"name":"nodejs","version":"4.8.1"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.5.0, LE (unified)|Node.js v16.5.0, LE (unified)","application":{"name":"MongoDB Compass"}}}}
{"t":{"$date":"2022-10-31T09:26:10.577-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:49501","uuid":"468ae407-c512-4cbe-a831-63d379ea21cc","connectionId":15,"connectionCount":15}}
{"t":{"$date":"2022-10-31T09:26:10.615-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn15","msg":"client metadata","attr":{"remote":"127.0.0.1:49501","client":"conn15","doc":{"driver":{"name":"nodejs|mongosh","version":"4.10.0"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.18.0, LE (unified)","version":"4.10.0|1.6.0","application":{"name":"mongosh 1.6.0"}}}}
{"t":{"$date":"2022-10-31T09:26:10.639-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:49502","uuid":"673f7969-7a2f-4d88-829a-a650fe91f3c3","connectionId":16,"connectionCount":16}}
{"t":{"$date":"2022-10-31T09:26:10.639-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:49503","uuid":"b8181f23-ebf7-4592-9216-86f3a74b687e","connectionId":17,"connectionCount":17}}
{"t":{"$date":"2022-10-31T09:26:10.641-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn17","msg":"client metadata","attr":{"remote":"127.0.0.1:49503","client":"conn17","doc":{"driver":{"name":"nodejs|mongosh","version":"4.10.0"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.18.0, LE (unified)","version":"4.10.0|1.6.0","application":{"name":"mongosh 1.6.0"}}}}
{"t":{"$date":"2022-10-31T09:26:10.641-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn16","msg":"client metadata","attr":{"remote":"127.0.0.1:49502","client":"conn16","doc":{"driver":{"name":"nodejs|mongosh","version":"4.10.0"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.18.0, LE (unified)","version":"4.10.0|1.6.0","application":{"name":"mongosh 1.6.0"}}}}
{"t":{"$date":"2022-10-31T09:26:10.645-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:49504","uuid":"bb0913c3-d75c-4367-878a-b0389f46aecf","connectionId":18,"connectionCount":18}}
{"t":{"$date":"2022-10-31T09:26:10.650-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn18","msg":"client metadata","attr":{"remote":"127.0.0.1:49504","client":"conn18","doc":{"driver":{"name":"nodejs|mongosh","version":"4.10.0"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.18.0, LE (unified)","version":"4.10.0|1.6.0","application":{"name":"mongosh 1.6.0"}}}}
{"t":{"$date":"2022-10-31T09:26:21.176-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:49508","uuid":"578fbb45-591a-4fdc-af86-213e7a7a9312","connectionId":19,"connectionCount":19}}
{"t":{"$date":"2022-10-31T09:26:21.178-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn19","msg":"client metadata","attr":{"remote":"127.0.0.1:49508","client":"conn19","doc":{"driver":{"name":"nodejs|mongosh","version":"4.10.0"},"os":{"type":"Darwin","name":"darwin","architecture":"x64","version":"21.6.0"},"platform":"Node.js v16.18.0, LE (unified)","version":"4.10.0|1.6.0","application":{"name":"mongosh 1.6.0"}}}}
{"t":{"$date":"2022-10-31T09:28:05.381-05:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn19","msg":"Connection ended","attr":{"remote":"127.0.0.1:49508","uuid":"578fbb45-591a-4fdc-af86-213e7a7a9312","connectionId":19,"connectionCount":18}}
{"t":{"$date":"2022-10-31T09:28:05.422-05:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn17","msg":"Connection ended","attr":{"remote":"127.0.0.1:49503","uuid":"b8181f23-ebf7-4592-9216-86f3a74b687e","connectionId":17,"connectionCount":17}}
{"t":{"$date":"2022-10-31T09:28:05.422-05:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn18","msg":"Connection ended","attr":{"remote":"127.0.0.1:49504","uuid":"bb0913c3-d75c-4367-878a-b0389f46aecf","connectionId":18,"connectionCount":16}}
{"t":{"$date":"2022-10-31T09:28:05.424-05:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn16","msg":"Connection ended","attr":{"remote":"127.0.0.1:49502","uuid":"673f7969-7a2f-4d88-829a-a650fe91f3c3","connectionId":16,"connectionCount":15}}
{"t":{"$date":"2022-10-31T09:28:06.293-05:00"},"s":"W", "c":"NETWORK", "id":4615610, "ctx":"conn15","msg":"Failed to check socket connectivity","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}}
{"t":{"$date":"2022-10-31T09:28:06.293-05:00"},"s":"I", "c":"-", "id":20883, "ctx":"conn15","msg":"Interrupted operation as its client disconnected","attr":{"opId":3430}}
{"t":{"$date":"2022-10-31T09:28:06.299-05:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn15","msg":"Connection ended","attr":{"remote":"127.0.0.1:49501","uuid":"468ae407-c512-4cbe-a831-63d379ea21cc","connectionId":15,"connectionCount":14}}