You’re right. It was my failure. The path to mongodb.log was wrong.
Inside the log file is:
2023-06-01T09:36:59.137+0000 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
2023-06-01T09:36:59.139+0000 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets...
2023-06-01T09:36:59.139+0000 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-10000.sock
2023-06-01T09:36:59.142+0000 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
2023-06-01T09:36:59.145+0000 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
2023-06-01T09:36:59.215+0000 I STORAGE [signalProcessingThread] shutdown: removing fs lock...
2023-06-01T09:36:59.215+0000 I CONTROL [signalProcessingThread] now exiting
2023-06-01T09:36:59.215+0000 I CONTROL [signalProcessingThread] shutting down with code:0
I have also stop and start the service, but it doesn´t solve the problem.