よろしくお願いいたします。
環境
Windows10 pro
MongoDB Community version: 4.4.3
・インストーラーからWindows版をインストール
特段ウィザード上での変更は行っていません
・Windows再起動
・dbpathを設定するため以下をPowershellで入力実行
mongo --dbpath E:\mongodb\data (パスは仮)
(訂正)mongod --dbpath E:\mongodb\data
この質問文の記述が間違っていました。訂正させていただきます。
すると以下の出力がすぐにあったのですが、その先から進まなく止まってしまいました。
表示が多いので行の前半だけ掲載します
{"t":{"$date":"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-en {"t":{"$date":"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkI {"t":{"$date":"},"s":"I", "c":"NETWORK", "id":4648602, "ctx":"main","msg":"Implicit TCP FastOpen in use."} {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":130 {"t":{"$date":"},"s":"I", "c":"CONTROL", "id":23398, "ctx":"initandlisten","msg":"Target operating system minimum ver {"t":{"$date":"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"v {"t":{"$date":"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"na {"t":{"$date":"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr" {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"messag {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"messag {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"duratio {"t":{"$date":"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modificat {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} {"t":{"$date":"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for t {"t":{"$date":"},"s":"W", "c":"CONTROL", "id":22140, "ctx":"initandlisten","msg":"This server is bound to localhost. {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespac {"t":{"$date":"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr": {"t":{"$date":"},"s":"I", "c":"COMMAND", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this dep {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespac {"t":{"$date":"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr": {"t":{"$date":"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic d {"t":{"$date":"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is no {"t":{"$date":"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","att {"t":{"$date":"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0 {"t":{"$date":"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port": {"t":{"$date":"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done buil {"t":{"$date":"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done buil {"t":{"$date":"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"LogicalSessionCacheRefresh","msg":"Slow query","attr":{"t ここから先は表示せず、止まっているような状態
これがエラーなのか、単に処理中で時間がかかっているだけなのかが分かりません。
エラーなら再インストールする、環境設定をし直すなど調べるのですが、エラーらしきものが見当たらず、ここで止めていいのか否かも分かりません。
よくミドルを動かしている間はコマンドプロンプト表示させたままにする必要があったりするものがありますが、それと同等なのでしょうか?
質問をまとめると・・・
1.上記の状態はエラーであるのか?
2.エラーならどう対処すれば正常になるのか
以上、よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/01/18 16:27