I installed and re-installed three times MongoDB 6.0.3 on Ubuntu 22.04. I enabled and start mongod without a problem. When I run mongosh I get a ECONNREFUSED:
connect ECONNREFUSED 127.0.0.1:27.017
I ran systemctl status mongod and it showed core-dump. The portions of interest that I think are:
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Fri 2023-01-06 09:46:02 CST; 21 min ago
Process: 20472 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code-dumped, signal=ILL)
mongod.service: Main process exited, code=dumped, status=4/ILL
mongod.service: Failed with result ‘core-dump’.
On another discussion I found that I should run the following commands:
grep avx /proc/cpuinfo
grep avx2 /proc/cpuinfo
If neither command print anything to the console, my CPU doesn’t support v5 and I should install v4. I’m actually installing v6, not v5, and nothing is returning from these commands. Does that mean my CPU doesn’t support MongoDB v6?
My CPU is a 12th Gen Intel Core i9-12900, 2400 Mhz, 16 Cores and I have 96 GB RAM.
Thank you. The link is what I needed. Now I have AVX2 and I also solved another problem I was having with Internet performance. My WIndows host had 1Gbps, but Ubuntu guest had only 30 Mbps. Now I get 900 Mbps on Ubuntu guest.