Score:0

MongoDB won't start on AWS instance using Bitnami Parse Package instance

jp flag

I have parse server running on an Ubuntu AWS instance when I attempted to restart my mongoDb it won't start. I pinged my local host and there didn't seem to be any issues with that but my apache log did have some warnings/errors about port 4040 that I wasn't clear how to interpret:

[Sun Dec 12 06:51:58.821980 2021] [proxy_http:error] [pid 10239] (-102)Unknown error -102: [client 15x.xxx.xxx.xx:50338] AH01095: prefetch request body failed to 127.0.0.1:4040 (127.0.0.1) from 157.245.176.143 ()
[Sun Dec 12 17:25:24.475597 2021] [mpm_prefork:notice] [pid 10227] AH00169: caught SIGTERM, shutting down
[Sun Dec 12 17:25:31.263020 2021] [ssl:warn] [pid 11037] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 12 17:25:31.289399 2021] [ssl:warn] [pid 11038] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 12 17:25:31.340008 2021] [mpm_prefork:notice] [pid 11038] AH00163: Apache/2.4.34 (Unix) OpenSSL/1.0.2o PHP/5.6.37 configured -- resuming normal operations
[Sun Dec 12 17:25:31.340054 2021] [core:notice] [pid 11038] AH00094: Command line: '/opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf'
[Sun Dec 12 17:27:58.392217 2021] [mpm_prefork:error] [pid 11038] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

The instance I am working on was created in 2017 and I am just coming back to the project now, so I am hoping there is just some configuration or something I need to tweak or update. It would be greatly helpful just to get some hints about what I should be researching or checking since the mongodb error is not descriptive.

This appears to be the error in the mongoDB log from last time I attempted to restart:

2021-12-10T22:16:26.369+0000 E -        [initandlisten] Assertion: 28595:13: Permission denied src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 421
2021-12-10T22:16:26.388+0000 I STORAGE  [initandlisten] exception in initAndListen: Location28595: 13: Permission denied, terminating
2021-12-10T22:16:26.389+0000 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2021-12-10T22:16:26.389+0000 I NETWORK  [initandlisten] removing socket file: /opt/bitnami/mongodb/tmp/mongodb-27017.sock
2021-12-10T22:16:26.389+0000 I CONTROL  [initandlisten] now exiting
2021-12-10T22:16:26.389+0000 I CONTROL  [initandlisten] shutting down with code:100
ERROR: child process failed, exited with error number 100
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.