Sep 08 14:16:12 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Scheduled restart job, restart counter is at 5. Sep 08 14:16:12 VM-0-16-ubuntu systemd[1]: Started nomadmini-api.service - Nomadmini FastAPI. Sep 08 14:16:12 VM-0-16-ubuntu uvicorn[2355120]: INFO: Started server process [2355120] Sep 08 14:16:12 VM-0-16-ubuntu uvicorn[2355120]: INFO: Waiting for application startup. Sep 08 14:16:12 VM-0-16-ubuntu uvicorn[2355120]: INFO: Application startup complete. Sep 08 14:16:12 VM-0-16-ubuntu uvicorn[2355120]: ERROR: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8000): address already in use Sep 08 14:16:12 VM-0-16-ubuntu uvicorn[2355120]: INFO: Waiting for application shutdown. Sep 08 14:16:12 VM-0-16-ubuntu uvicorn[2355120]: INFO: Application shutdown complete. Sep 08 14:16:12 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Main process exited, code=exited, status=1/FAILURE Sep 08 14:16:12 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Failed with result 'exit-code'. Sep 08 14:16:15 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Scheduled restart job, restart counter is at 6. Sep 08 14:16:15 VM-0-16-ubuntu systemd[1]: Started nomadmini-api.service - Nomadmini FastAPI. Sep 08 14:16:16 VM-0-16-ubuntu uvicorn[2355141]: INFO: Started server process [2355141] Sep 08 14:16:16 VM-0-16-ubuntu uvicorn[2355141]: INFO: Waiting for application startup. Sep 08 14:16:16 VM-0-16-ubuntu uvicorn[2355141]: INFO: Application startup complete. Sep 08 14:16:16 VM-0-16-ubuntu uvicorn[2355141]: ERROR: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8000): address already in use Sep 08 14:16:16 VM-0-16-ubuntu uvicorn[2355141]: INFO: Waiting for application shutdown. Sep 08 14:16:16 VM-0-16-ubuntu uvicorn[2355141]: INFO: Application shutdown complete. Sep 08 14:16:16 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Main process exited, code=exited, status=1/FAILURE Sep 08 14:16:16 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Failed with result 'exit-code'. Sep 08 14:16:19 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Scheduled restart job, restart counter is at 7. Sep 08 14:16:19 VM-0-16-ubuntu systemd[1]: Started nomadmini-api.service - Nomadmini FastAPI. Sep 08 14:16:20 VM-0-16-ubuntu uvicorn[2355253]: INFO: Started server process [2355253] Sep 08 14:16:20 VM-0-16-ubuntu uvicorn[2355253]: INFO: Waiting for application startup. Sep 08 14:16:20 VM-0-16-ubuntu uvicorn[2355253]: INFO: Application startup complete. Sep 08 14:16:20 VM-0-16-ubuntu uvicorn[2355253]: ERROR: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8000): address already in use Sep 08 14:16:20 VM-0-16-ubuntu uvicorn[2355253]: INFO: Waiting for application shutdown. Sep 08 14:16:20 VM-0-16-ubuntu uvicorn[2355253]: INFO: Application shutdown complete. Sep 08 14:16:20 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Main process exited, code=exited, status=1/FAILURE Sep 08 14:16:20 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Failed with result 'exit-code'. Sep 08 14:16:23 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Scheduled restart job, restart counter is at 8. Sep 08 14:16:23 VM-0-16-ubuntu systemd[1]: Started nomadmini-api.service - Nomadmini FastAPI. Sep 08 14:16:23 VM-0-16-ubuntu uvicorn[2355325]: INFO: Started server process [2355325] Sep 08 14:16:23 VM-0-16-ubuntu uvicorn[2355325]: INFO: Waiting for application startup. Sep 08 14:16:23 VM-0-16-ubuntu uvicorn[2355325]: INFO: Application startup complete. Sep 08 14:16:23 VM-0-16-ubuntu uvicorn[2355325]: ERROR: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8000): address already in use Sep 08 14:16:23 VM-0-16-ubuntu uvicorn[2355325]: INFO: Waiting for application shutdown. Sep 08 14:16:23 VM-0-16-ubuntu uvicorn[2355325]: INFO: Application shutdown complete. Sep 08 14:16:23 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Main process exited, code=exited, status=1/FAILURE Sep 08 14:16:23 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Failed with result 'exit-code'. Sep 08 14:16:27 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Scheduled restart job, restart counter is at 9. Sep 08 14:16:27 VM-0-16-ubuntu systemd[1]: Started nomadmini-api.service - Nomadmini FastAPI. Sep 08 14:16:27 VM-0-16-ubuntu uvicorn[2355349]: INFO: Started server process [2355349] Sep 08 14:16:27 VM-0-16-ubuntu uvicorn[2355349]: INFO: Waiting for application startup. Sep 08 14:16:27 VM-0-16-ubuntu uvicorn[2355349]: INFO: Application startup complete. Sep 08 14:16:27 VM-0-16-ubuntu uvicorn[2355349]: ERROR: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8000): address already in use Sep 08 14:16:27 VM-0-16-ubuntu uvicorn[2355349]: INFO: Waiting for application shutdown. Sep 08 14:16:27 VM-0-16-ubuntu uvicorn[2355349]: INFO: Application shutdown complete. Sep 08 14:16:27 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Main process exited, code=exited, status=1/FAILURE Sep 08 14:16:27 VM-0-16-ubuntu systemd[1]: nomadmini-api.service: Failed with result 'exit-code'. --- total 32 drwxrwxr-x 5 ubuntu ubuntu 4096 Sep 8 14:15 . drwxrwxr-x 4 ubuntu ubuntu 4096 Sep 8 14:15 .. -rw-rw-r-- 1 ubuntu ubuntu 1582 Sep 8 13:58 config.py -rw-rw-r-- 1 ubuntu ubuntu 29 Sep 8 14:00 __init__.py -rw-rw-r-- 1 ubuntu ubuntu 3061 Sep 8 14:00 main.py drwxr-xr-x 2 ubuntu ubuntu 4096 Sep 8 14:15 __pycache__ drwxrwxr-x 3 ubuntu ubuntu 4096 Sep 8 14:15 routers drwxrwxr-x 3 ubuntu ubuntu 4096 Sep 8 14:15 services --- --- LISTEN 0 2048 127.0.0.1:8000 0.0.0.0:* --- ---