I have installed Mongo on Debian 10, The system was / is stable but now I have some odd errors, I can’t connect remotely via ssh but then when I try again I can.
Currently I want all IP’s to be able to connect I have this set
# network interfaces net: port: 27017 bindIp: 0.0.0.0 security: authorization: enabled
But mongod reports still bound to local host - if I make a typo in /etc/mongod.conf it borks the server so it is being read I believe.
Also the Debia specific directives to raise page limits etc are not transparent, I believe I have to make a service file and specify the soft limit as the process is identified by PID.
## The server generated these startup warnings when booting: 2021-10-08T13:04:28.504+01:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted 2021-10-08T13:04:28.504+01:00: You are running this process as the root user, which is not recommended 2021-10-08T13:04:28.504+01:00: This server is bound to localhost. Remote systems will be unable to connect to this server. Start the server with --bind_ip to specify which IP addresses it should serve responses from, or with --bind_ip_all to bind to all interfaces. If this behavior is desired, start the server with --bind_ip 127.0.0.1 to disable this warning 2021-10-08T13:04:28.505+01:00: /sys/kernel/mm/transparent_hugepage/enabled is ‘always’. We suggest setting it to ‘never’ 2021-10-08T13:04:28.505+01:00: Soft rlimits for open file descriptors too low 2021-10-08T13:04:28.505+01:00: currentValue: 1024 2021-10-08T13:04:28.505+01:00: recommendedMinimum: 64000