"/data/log/mongod.log" exists; moved to

I am unable to get a basic command to run on my local machine. It appears as though a new log file is being created, and the existing file is being renamed. But then the machine just stops. No “listening…” Any suggestions? See below:

@:~/m103$ vagrant ssh
Welcome to Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-170-generic x86_64)

System information as of Tue Aug 27 18:41:15 UTC 2019

System load: 0.0 Processes: 84
Usage of /: 6.5% of 39.34GB Users logged in: 0
Memory usage: 6% IP address for eth0:
Swap usage: 0% IP address for eth1:

Graph this data and manage this system at:

New release ‘16.04.6 LTS’ available.
Run ‘do-release-upgrade’ to upgrade to it.

Last login: Tue Aug 27 18:39:32 2019 from
vagrant@m103:~$ mongod --dbpath /data/db --logpath /data/log/mongod.log
2019-08-27T18:42:41.582+0000 I CONTROL [main] log file “/data/log/mongod.log” exists; moved to “/data/log/mongod.log.2019-08-27T18-42-41”.

Hey @Sean_64404

Could this help you out?

Thank you. It is working now, but this will definitely help in the future. I was also trying to find the older files both in my local machine and in the VM, but was unable to find them.

Hi @Sean_64404,

The older log files will be found in the same log directory(/data/log/) that you were using before. Mongodb appends the timestamp to the log file name and archives it and creates a new log file to start writing to the latter.
So you may look for the files with this pattern and please let me know if you have any further questions.

Curriculum Support Engineer