+ id -u + [ 0 != 0 ] + [ -n 1 ] + echo sudo will confuse the results. sudo will confuse the results. + id uid=0(root) gid=0(root) groups=0(root) + uname -a Linux ws002 5.14.0-1034-oem #37-Ubuntu SMP Tue Apr 19 14:13:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux + cat /etc/lsb-release /etc/os-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS" NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.4 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal + command -v gpsd /usr/sbin/gpsd + gpsd -V gpsd: 3.20 (revision 3.20) + gpsd -h + grep ^#.*enabled # Socket export enabled. # Shared memory export enabled. # DBUS export enabled + command -v sockstat + command -v lsof /usr/bin/lsof + lsof -iTCP:2947 -s TCP:LISTEN COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME systemd 1 root 234u IPv6 31593 0t0 TCP ip6-localhost:gpsd (LISTEN) systemd 1 root 250u IPv4 38229 0t0 TCP localhost:gpsd (LISTEN) + lsof -c gpsd + sed -nE 1p;/CHR|LISTEN/p lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/125/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1135/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse file system /run/user/1135/doc Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME gpsdebugi 441446 root 0u CHR 136,0 0t0 3 /dev/pts/0 gpsdebugi 441446 root 1u CHR 136,0 0t0 3 /dev/pts/0 gpsdebugi 441446 root 2u CHR 136,0 0t0 3 /dev/pts/0 + ps ax + sed -nE 1p;/gpsd/p PID TTY STAT TIME COMMAND 441446 pts/0 S+ 0:00 /bin/sh ./bin/gpsdebuginfo 441459 pts/0 S+ 0:00 sed -nE 1p;/gpsd/p + command -v gpspipe /usr/bin/gpspipe + gpspipe -V gpspipe: 3.20 (revision 3.20) + gpspipe -w -n 2 -x 20 {"class":"VERSION","release":"3.20","rev":"3.20","proto_major":3,"proto_minor":14} {"class":"DEVICES","devices":[]} + command -v ipcs /usr/bin/ipcs + ipcs -m + sed -nE /key/p;/KEY/p;/0x4e5450/p key shmid owner perms bytes nattch status 0x4e545030 491531 root 600 96 1 0x4e545031 491533 root 600 96 1 0x4e545032 54 stevenw 666 96 1 0x4e545033 55 stevenw 666 96 1 0x4e545034 56 stevenw 666 96 1 0x4e545035 57 stevenw 666 96 1 0x4e545036 58 stevenw 666 96 1 0x4e545037 59 stevenw 666 96 1 + command -v ntpshmmon /usr/bin/ntpshmmon + ntpshmmon -V ntpshmmon: version 3.20 (revision 3.20) + ntpshmmon -n 6 -t 10 ntpshmmon: version 3.20 # Name Seen@ Clock Real L Prc + ls -l /dev/pps* /dev/ttyS0 /dev/ttyS1 /dev/ttyS10 /dev/ttyS11 /dev/ttyS12 /dev/ttyS13 /dev/ttyS14 /dev/ttyS15 /dev/ttyS16 /dev/ttyS17 /dev/ttyS18 /dev/ttyS19 /dev/ttyS2 /dev/ttyS20 /dev/ttyS21 /dev/ttyS22 /dev/ttyS23 /dev/ttyS24 /dev/ttyS25 /dev/ttyS26 /dev/ttyS27 /dev/ttyS28 /dev/ttyS29 /dev/ttyS3 /dev/ttyS30 /dev/ttyS31 /dev/ttyS4 /dev/ttyS5 /dev/ttyS6 /dev/ttyS7 /dev/ttyS8 /dev/ttyS9 ls: cannot access '/dev/pps*': No such file or directory crw-rw---- 1 root dialout 4, 64 May 16 11:47 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 May 16 11:47 /dev/ttyS1 crw-rw---- 1 root dialout 4, 74 May 16 11:47 /dev/ttyS10 crw-rw---- 1 root dialout 4, 75 May 16 11:47 /dev/ttyS11 crw-rw---- 1 root dialout 4, 76 May 16 11:47 /dev/ttyS12 crw-rw---- 1 root dialout 4, 77 May 16 11:47 /dev/ttyS13 crw-rw---- 1 root dialout 4, 78 May 16 11:47 /dev/ttyS14 crw-rw---- 1 root dialout 4, 79 May 16 11:47 /dev/ttyS15 crw-rw---- 1 root dialout 4, 80 May 16 11:47 /dev/ttyS16 crw-rw---- 1 root dialout 4, 81 May 16 11:47 /dev/ttyS17 crw-rw---- 1 root dialout 4, 82 May 16 11:47 /dev/ttyS18 crw-rw---- 1 root dialout 4, 83 May 16 11:47 /dev/ttyS19 crw-rw---- 1 root dialout 4, 66 May 16 11:47 /dev/ttyS2 crw-rw---- 1 root dialout 4, 84 May 16 11:47 /dev/ttyS20 crw-rw---- 1 root dialout 4, 85 May 16 11:47 /dev/ttyS21 crw-rw---- 1 root dialout 4, 86 May 16 11:47 /dev/ttyS22 crw-rw---- 1 root dialout 4, 87 May 16 11:47 /dev/ttyS23 crw-rw---- 1 root dialout 4, 88 May 16 11:47 /dev/ttyS24 crw-rw---- 1 root dialout 4, 89 May 16 11:47 /dev/ttyS25 crw-rw---- 1 root dialout 4, 90 May 16 11:47 /dev/ttyS26 crw-rw---- 1 root dialout 4, 91 May 16 11:47 /dev/ttyS27 crw-rw---- 1 root dialout 4, 92 May 16 11:47 /dev/ttyS28 crw-rw---- 1 root dialout 4, 93 May 16 11:47 /dev/ttyS29 crw-rw---- 1 root dialout 4, 67 May 16 11:47 /dev/ttyS3 crw-rw---- 1 root dialout 4, 94 May 16 11:47 /dev/ttyS30 crw-rw---- 1 root dialout 4, 95 May 16 11:47 /dev/ttyS31 crw-rw---- 1 root dialout 4, 68 May 16 11:47 /dev/ttyS4 crw-rw---- 1 root dialout 4, 69 May 16 11:47 /dev/ttyS5 crw-rw---- 1 root dialout 4, 70 May 16 11:47 /dev/ttyS6 crw-rw---- 1 root dialout 4, 71 May 16 11:47 /dev/ttyS7 crw-rw---- 1 root dialout 4, 72 May 16 11:47 /dev/ttyS8 crw-rw---- 1 root dialout 4, 73 May 16 11:47 /dev/ttyS9 + command -v lsusb /usr/bin/lsusb + lsusb Bus 002 Device 013: ID 2109:8110 VIA Labs, Inc. Hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 037: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0 Bus 001 Device 036: ID 046d:c31c Logitech, Inc. Keyboard K120 Bus 001 Device 035: ID 2109:2811 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + echo PYTHONPATH PYTHONPATH + command -v gpscat /usr/bin/gpscat + command -v gpscat + head -n 1 /usr/bin/gpscat #! /usr/bin/python3 + command -v python /usr/bin/python + python -V Python 2.7.18 + python -c import gps;print(gps.__version__) Traceback (most recent call last): File "", line 1, in ImportError: No module named gps + command -v python3 /usr/bin/python3 + python3 -V Python 3.8.10 + python3 -c import gps;print(gps.__version__) 3.20 + command -v systemctl /usr/bin/systemctl + cat /etc/default/gpsd # Devices gpsd should collect to at boot time. # They need to be read/writeable, either by user gpsd or the group dialout. DEVICES="" # Other options you want to pass to gpsd GPSD_OPTIONS="" + systemctl cat gpsd.service # /lib/systemd/system/gpsd.service [Unit] Description=GPS (Global Positioning System) Daemon Requires=gpsd.socket # Needed with chrony SOCK refclock After=chronyd.service [Service] Type=forking EnvironmentFile=-/etc/default/gpsd ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $DEVICES [Install] WantedBy=multi-user.target Also=gpsd.socket + systemctl cat gpsd.socket # /lib/systemd/system/gpsd.socket [Unit] Description=GPS (Global Positioning System) Daemon Sockets [Socket] ListenStream=/var/run/gpsd.sock ListenStream=[::1]:2947 ListenStream=127.0.0.1:2947 # To allow gpsd remote access, start gpsd with the -G option and # uncomment the next two lines: # ListenStream=[::1]:2947 # ListenStream=0.0.0.0:2947 SocketMode=0600 [Install] WantedBy=sockets.target + systemctl status gpsd.service ● gpsd.service - GPS (Global Positioning System) Daemon Loaded: loaded (/lib/systemd/system/gpsd.service; disabled; vendor preset: enabled) Active: active (running) since Tue 2022-05-17 15:45:56 ACST; 10s ago TriggeredBy: ● gpsd.socket Process: 441462 ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $DEVICES (code=exited, status=0/SUCCESS) Main PID: 441463 (gpsd) Tasks: 1 (limit: 38318) Memory: 524.0K CGroup: /system.slice/gpsd.service └─441463 /usr/sbin/gpsd May 17 15:45:56 ws002 systemd[1]: Starting GPS (Global Positioning System) Daemon... May 17 15:45:56 ws002 systemd[1]: Started GPS (Global Positioning System) Daemon. + systemctl status gpsd.socket ● gpsd.socket - GPS (Global Positioning System) Daemon Sockets Loaded: loaded (/lib/systemd/system/gpsd.socket; enabled; vendor preset: enabled) Active: active (running) since Mon 2022-05-16 11:47:13 ACST; 1 day 3h ago Triggers: ● gpsd.service Listen: /run/gpsd.sock (Stream) [::1]:2947 (Stream) 127.0.0.1:2947 (Stream) Tasks: 0 (limit: 38318) Memory: 12.0K CGroup: /system.slice/gpsd.socket May 16 11:47:13 ws002 systemd[1]: Listening on GPS (Global Positioning System) Daemon Sockets. + journalctl -u gpsd.service --since today -- Logs begin at Wed 2022-05-11 09:29:25 ACST, end at Tue 2022-05-17 15:46:04 ACST. -- May 17 15:45:56 ws002 systemd[1]: Starting GPS (Global Positioning System) Daemon... May 17 15:45:56 ws002 systemd[1]: Started GPS (Global Positioning System) Daemon. + command -v aa-status /usr/sbin/aa-status + aa-status apparmor module is loaded. 60 profiles are loaded. 56 profiles are in enforce mode. /snap/core/12834/usr/lib/snapd/snap-confine /snap/core/12834/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /snap/snapd/15177/usr/lib/snapd/snap-confine /snap/snapd/15177/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /snap/snapd/15534/usr/lib/snapd/snap-confine /snap/snapd/15534/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/bin/evince /usr/bin/evince-previewer /usr/bin/evince-previewer//sanitized_helper /usr/bin/evince-thumbnailer /usr/bin/evince//sanitized_helper /usr/bin/man /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/cups/backend/cups-pdf /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/sbin/cups-browsed /usr/sbin/cupsd /usr/sbin/cupsd//third_party /usr/sbin/dhcpd /usr/sbin/ntpd /usr/sbin/tcpdump /{,usr/}sbin/dhclient docker-default ippusbxd libreoffice-senddoc libreoffice-soffice//gpg libreoffice-xpdfimport libvirtd libvirtd//qemu_bridge_helper lsb_release man_filter man_groff nvidia_modprobe nvidia_modprobe//kmod snap-update-ns.canonical-livepatch snap-update-ns.chromium snap-update-ns.core snap-update-ns.snap-store snap.canonical-livepatch.canonical-livepatch snap.canonical-livepatch.canonical-livepatchd snap.canonical-livepatch.hook.configure snap.canonical-livepatch.hook.connect-plug-etc-update-motd-d snap.canonical-livepatch.hook.disconnect-plug-etc-update-motd-d snap.canonical-livepatch.hook.remove snap.chromium.chromedriver snap.chromium.chromium snap.chromium.hook.configure snap.core.hook.configure snap.snap-store.hook.configure snap.snap-store.snap-store snap.snap-store.ubuntu-software snap.snap-store.ubuntu-software-local-file virt-aa-helper 4 profiles are in complain mode. /usr/sbin/sssd /usr/sbin/sssd//null-/usr/bin/nsupdate libreoffice-oopslash libreoffice-soffice 12 processes have profiles defined. 9 processes are in enforce mode. /usr/sbin/cups-browsed (214053) /usr/sbin/cupsd (214051) /usr/lib/cups/notifier/dbus (214062) /usr/sbin/cupsd /usr/lib/cups/notifier/dbus (214063) /usr/sbin/cupsd /usr/lib/cups/notifier/dbus (214064) /usr/sbin/cupsd /usr/sbin/ntpd (4137) /usr/sbin/libvirtd (2297) libvirtd /snap/canonical-livepatch/138/canonical-livepatchd (1677) snap.canonical-livepatch.canonical-livepatchd /snap/snap-store/558/usr/bin/snap-store (7183) snap.snap-store.ubuntu-software 3 processes are in complain mode. /usr/sbin/sssd (1599) /usr/libexec/sssd/sssd_be (1679) /usr/sbin/sssd /usr/libexec/sssd/sssd_pac (1854) /usr/sbin/sssd 0 processes are unconfined but have a profile defined. + set +x Please send the entire, untouched output.