Sm-nvidia issues

root@ubuntuserver18:~# Nvidia-smi

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

nvidia-persistenced was disable. System failed to start NVIDIA Persistence Daemon in the boot.log.

nvidia-persistenced.service - NVIDIA Persistence Daemon

Loaded: loaded (/lib/systemd/system/nvidia-persistenced.service; enabled; vendor preset: enabled)

Active: failed (Result: exit-code) since Wed 2020-10-28 19:14:56 PDT; 3min 43s ago

Process: 1298 ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced/* (code=exited, status=0/SUCCESS)

Process: 1293 ExecStart=/usr/bin/nvidia-persistenced --verbose (code=exited, status=1/FAILURE)

Oct 28 19:14:56 ubuntuserver18 systemd[1]: nvidia-persistenced.service: Service hold-off time over, scheduling restart.

Oct 28 19:14:56 ubuntuserver18 systemd[1]: nvidia-persistenced.service: Scheduled restart job, restart counter is at 5.

Oct 28 19:14:56 ubuntuserver18 systemd[1]: Stopped NVIDIA Persistence Daemon.

Oct 28 19:14:56 ubuntuserver18 systemd[1]: nvidia-persistenced.service: Start request repeated too quickly.

Oct 28 19:14:56 ubuntuserver18 systemd[1]: nvidia-persistenced.service: Failed with result ‘exit-code’.

Oct 28 19:14:56 ubuntuserver18 systemd[1]: Failed to start NVIDIA Persistence Daemon.

root@ubuntuserver18:~# nvidia-smi

NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

root@ubuntuserver18:~# mv /lib/systemd/system/nvidia-persistenced.service /lib/systemd/system/nv-persistenced.service

root@ubuntuserver18:~# systemctl daemon-reload

root@ubuntuserver18:~# systemctl start nv-persistenced

Job for nv-persistenced.service failed because the control process exited with error code.

See “systemctl status nv-persistenced.service” and “journalctl -xe” for details.

root@ubuntuserver18:/home/ctoler/serverfix# systemctl status nv-persistenced.service

● nv-persistenced.service - NVIDIA Persistence Daemon

Loaded: loaded (/lib/systemd/system/nv-persistenced.service; disabled; vendor preset: enabled)

Active: failed (Result: exit-code) since Tue 2020-11-03 11:56:47 PST; 10min ago

Process: 3970 ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced/* (code=exited, status=0/SUCCESS)

Process: 3966 ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced --persistence-mode --verbose (code=exited, status=1/FAILURE)

Nov 03 11:56:47 ubuntuserver18 systemd[1]: nv-persistenced.service: Service hold-off time over, scheduling restart.

Nov 03 11:56:47 ubuntuserver18 systemd[1]: nv-persistenced.service: Scheduled restart job, restart counter is at 5.

Nov 03 11:56:47 ubuntuserver18 systemd[1]: Stopped NVIDIA Persistence Daemon.

Nov 03 11:56:47 ubuntuserver18 systemd[1]: nv-persistenced.service: Start request repeated too quickly.

Nov 03 11:56:47 ubuntuserver18 systemd[1]: nv-persistenced.service: Failed with result ‘exit-code’.

Nov 03 11:56:47 ubuntuserver18 systemd[1]: Failed to start NVIDIA Persistence Daemon.

root@ubuntuserver18:/home/ctoler/serverfix#

root@ubuntuserver18:/home/ctoler/serverfix# journalctl -xe

– Support: http://www.ubuntu.com/support

– Unit nv-persistenced.service has failed.

– The result is RESULT.

Nov 03 12:01:59 ubuntuserver18 sshd[5193]: Accepted password for ctoler from 10.228.0.193 port 58540 ssh2

Nov 03 12:01:59 ubuntuserver18 sshd[5193]: pam_unix(sshd:session): session opened for user ctoler by (uid=0)

Nov 03 12:01:59 ubuntuserver18 systemd-logind[1180]: New session 139 of user ctoler.

– Subject: A new session 139 has been created for user ctoler

– Defined-By: systemd

– Support: http://www.ubuntu.com/support

– Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat

– A new session with the ID 139 has been created for the user ctoler.

– The leading process of the session is 5193.

Nov 03 12:01:59 ubuntuserver18 systemd[1]: Started Session 139 of user ctoler.

– Subject: Unit session-139.scope has finished start-up

– Defined-By: systemd

– Support: http://www.ubuntu.com/support

– Unit session-139.scope has finished starting up.

– The start-up result is RESULT.

Nov 03 12:02:00 ubuntuserver18 sshd[5230]: Received disconnect from 10.228.0.193 port 58540:11: disconnected by user

Nov 03 12:02:00 ubuntuserver18 sshd[5230]: Disconnected from user ctoler 10.228.0.193 port 58540

Nov 03 12:02:00 ubuntuserver18 sshd[5193]: pam_unix(sshd:session): session closed for user ctoler

Nov 03 12:02:00 ubuntuserver18 systemd-logind[1180]: Removed session 139.

– Subject: Session 139 has been terminated

– Defined-By: systemd

– Support: http://www.ubuntu.com/support

– Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat

– A session with the ID 139 has been terminated.

Nov 03 12:02:59 ubuntuserver18 systemd-timesyncd[1130]: Network configuration changed, trying to establish connection.

Nov 03 12:02:59 ubuntuserver18 systemd-networkd[769]: enp129s0f0: Configured

Nov 03 12:02:59 ubuntuserver18 systemd-timesyncd[1130]: Synchronized to time server 128.227.205.196:123 (128.227.205.196).

lines 1717-1753/1753 (END)