Jammy
before
root@j:~# tail -f /var/log/syslog | grep snmpd
Mar 17 08:58:56 j snmpd[1647]: systemstats_linux: unexpected header length in
/proc/net/snmp. 237 != 224
Mar 17 08:58:56 j snmpd[1647]: message repeated 2 times: [ systemstats_linux:
unexpected header length in /proc/net/snmp. 237 != 224]
root@j:~# apt policy snmpd
snmpd:
Installed: 5.9.1+dfsg-1ubuntu2.7
Candidate: 5.9.1+dfsg-1ubuntu2.8
Version table:
5.9.1+dfsg-1ubuntu2.8 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
*** 5.9.1+dfsg-1ubuntu2.7 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
5.9.1+dfsg-1ubuntu2.4 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
5.9.1+dfsg-1ubuntu2 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
upgrade
root@j:~# apt install snmpd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libsnmp40
Suggested packages:
snmptrapd
The following packages will be upgraded:
libsnmp40 snmpd
2 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 1130 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 snmpd amd64
5.9.1+dfsg-1ubuntu2.8 [60.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 libsnmp40
amd64 5.9.1+dfsg-1ubuntu2.8 [1070 kB]
Fetched 1130 kB in 0s (3142 kB/s)
Preconfiguring packages ...
(Reading database ... 34214 files and directories currently installed.)
Preparing to unpack .../snmpd_5.9.1+dfsg-1ubuntu2.8_amd64.deb ...
Unpacking snmpd (5.9.1+dfsg-1ubuntu2.8) over (5.9.1+dfsg-1ubuntu2.7) ...
Preparing to unpack .../libsnmp40_5.9.1+dfsg-1ubuntu2.8_amd64.deb ...
Unpacking libsnmp40:amd64 (5.9.1+dfsg-1ubuntu2.8) over (5.9.1+dfsg-1ubuntu2.7)
...
Setting up libsnmp40:amd64 (5.9.1+dfsg-1ubuntu2.8) ...
Setting up snmpd (5.9.1+dfsg-1ubuntu2.8) ...
Processing triggers for libc-bin (2.35-0ubuntu3.9) ...
Processing triggers for man-db (2.10.2-1) ...
root@j:~# systemctl status snmpd
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; vendor preset:
enabled)
Active: active (running) since Mon 2025-03-17 09:08:24 UTC; 9s ago
Main PID: 2417 (snmpd)
Tasks: 1 (limit: 38263)
Memory: 3.7M
CPU: 27ms
CGroup: /system.slice/snmpd.service
└─2417 /usr/sbin/snmpd -LOw -u Debian-snmp -g Debian-snmp -I -smux
mteTrigger mteTriggerConf -f
Mar 17 09:08:24 j systemd[1]: Starting Simple Network Management Protocol
(SNMP) Daemon....
Mar 17 09:08:24 j systemd[1]: Started Simple Network Management Protocol (SNMP)
Daemon..
root@j:~# tail -f /var/log/syslog | grep snmpd
Mar 17 09:06:47 j systemd[1]: snmpd.service: Deactivated successfully.
Mar 17 09:08:24 j systemd[1]: snmpd.service: Deactivated successfully.
no error message anymore
[Do not mind the Deactivated successfully, that is just the one message
that makes it to the log of the restart - status is fine, see above]
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056257
Title:
unexpected header length in /proc/net/snmp
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/2056257/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs