Servus danke für die Infos,
es laufen das smartmeter und ein modbus am raspi.
Influxdb läuft exten auf einen server.
Mit freundlichen Grüßen,
orfix
======== Start marking the full check here =========
Skript v.2024-05-22
*** BASE SYSTEM ***
Static hostname: raspi-strom-erba
Icon name: computer
Operating System: Raspbian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.21-v8+
Architecture: arm64
Model : Raspberry Pi 4 Model B Rev 1.1
Docker : false
Virtualization : none
Kernel : aarch64
Userland : 32 bit
Systemuptime and Load:
11:26:18 up 17:38, 2 users, load average: 1.37, 1.78, 1.54
CPU threads: 4
*** RASPBERRY THROTTLING ***
Current issues:
No throttling issues detected.
Previously detected issues:
No throttling issues detected.
*** Time and Time Zones ***
Local time: Fri 2024-07-05 11:26:19 BST
Universal time: Fri 2024-07-05 10:26:19 UTC
RTC time: n/a
Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
NTP service: n/a
RTC in local TZ: no
*** Users and Groups ***
User that called 'iob diag':
pi
HOME=/home/pi
GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi
User that is running 'js-controller':
iobroker
HOME=/home/iobroker
GROUPS=iobroker tty dialout audio video bluetooth gpio i2c
*** Display-Server-Setup ***
Display-Server: false
Desktop:
Terminal: tty
Boot Target: graphical.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 4.0G 220M 2.3G 958K 1.5G 3.8G
Swap: 104M 0B 104M
Total: 4.1G 220M 2.4G
Active iob-Instances: 0
3794 M total memory
210 M used memory
194 M active memory
1281 M inactive memory
2189 M free memory
72 M buffer memory
1404 M swap cache
99 M total swap
0 M used swap
99 M free swap
*** top - Table Of Processes ***
top - 11:26:19 up 17:38, 2 users, load average: 1.37, 1.78, 1.54
Tasks: 160 total, 2 running, 158 sleeping, 0 stopped, 0 zombie
%Cpu(s): 33.3 us, 16.7 sy, 0.0 ni, 50.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 3794.3 total, 2188.0 free, 211.4 used, 1477.5 buff/cache
MiB Swap: 100.0 total, 100.0 free, 0.0 used. 3583.0 avail Mem
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 14G 5.8G 7.6G 44% /
devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs tmpfs 759M 884K 759M 1% /run
tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock
tmpfs tmpfs 38M 0 38M 0% /media/ramdisk
/dev/mmcblk0p1 vfat 253M 51M 202M 20% /boot
tmpfs tmpfs 380M 4.0K 380M 1% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Thu Jul 4 17:47:59 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:3F:72:54 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=072c41ac-02 rootfstype=ext4 fsck.repair=yes rootwait
[Thu Jul 4 17:48:00 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[Thu Jul 4 17:48:00 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[Thu Jul 4 17:48:03 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
Show mounted filesystems:
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mmcblk0p2 ext4 rw,noatime
|-/dev devtmpfs devtmpfs rw,relatime,size=1678472k,nr_inodes=419618,mode=755
| |-/dev/shm tmpfs tmpfs rw,nosuid,nodev
| |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
| `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime
|-/proc proc proc rw,relatime
| `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct
| `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime
|-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
| |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
| |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
| |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime
| |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700
| |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime
| |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime
| |-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
| `-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime
|-/run tmpfs tmpfs rw,nosuid,nodev,size=777080k,nr_inodes=819200,mode=755
| |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k
| |-/run/credentials/systemd-sysctl.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| |-/run/credentials/systemd-sysusers.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime
| |-/run/credentials/systemd-tmpfiles-setup.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700
| `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=388536k,nr_inodes=97134,mode=700,uid=1000,gid=1000
|-/media/ramdisk tmpfs tmpfs rw,relatime,size=38856k
`-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
Files in neuralgic directories:
/var:
1.7G /var/
1.3G /var/log/journal/b2e190b62c9547faa1bc39eb2f870777
1.3G /var/log/journal
1.3G /var/log
139M /var/cache
Archived and active journals take up 1.2G in the file system.
/opt/iobroker/backups:
1.7M /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
1.3G /opt/iobroker/iobroker-data/
56M /opt/iobroker/iobroker-data/backup-objects
23M /opt/iobroker/iobroker-data/files
13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static
The five largest files in iobroker-data are:
1.2G /opt/iobroker/iobroker-data/objects.jsonl
6.6M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.8083c40d.js.map
6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
2.8M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
2.6M /opt/iobroker/iobroker-data/objects.json.migrated
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
/dev/serial/by-id/usb-FTDI_USB_Serial_Converter_FTALDJTW-if00-port0
*** NodeJS-Installation ***
/usr/bin/nodejs v18.19.0
/usr/bin/node v18.19.0
npm: N/A
npx: N/A
corepack: N/A
*** nodejs is NOT correctly installed ***
nodejs:
Installed: 18.19.0+dfsg-6~deb12u1+rpi1
Candidate: 18.19.0+dfsg-6~deb12u1+rpi1
Version table:
*** 18.19.0+dfsg-6~deb12u1+rpi1 500
500 http://raspbian.raspberrypi.org/raspbian bookworm/main armhf Packages
100 /var/lib/dpkg/status
14.21.3-deb-1nodesource1 500
500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
Temp directories causing npm8 problem: 0
No problems detected
Errors in npm tree:
*** ioBroker-Installation ***
ioBroker Status
Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
Core adapters versions
js-controller: 4.0.21
admin: 6.3.5
javascript: "javascript" not found
nodejs modules from github: 0
Adapter State
Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
Enabled adapters with bindings
ioBroker-Repositories
Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
Installed ioBroker-Instances
Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
Objects and States
Please stand by - This may take a while
Objects: 1
States: 1
*** OS-Repositories and Updates ***
W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://archive.raspberrypi.org/debian/dists/bullseye/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Hit:1 http://raspbian.raspberrypi.org/raspbian bookworm InRelease
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Get:3 https://deb.nodesource.com/node_14.x bullseye InRelease [4586 B]
Fetched 4586 B in 2s (2897 B/s)
Reading package lists...
W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://archive.raspberrypi.org/debian/dists/bullseye/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Pending Updates: 0
*** Listening Ports ***
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 13069 637/sshd: /usr/sbin
tcp6 0 0 :::6556 :::* LISTEN 0 15719 811/xinetd
tcp6 0 0 :::22 :::* LISTEN 0 13071 637/sshd: /usr/sbin
udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 11913 409/avahi-daemon: r
udp 0 0 0.0.0.0:38966 0.0.0.0:* 108 11915 409/avahi-daemon: r
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 16440 795/dhcpcd
udp 0 0 192.168.2.14:123 0.0.0.0:* 112 15712 606/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 15567 606/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 15563 606/ntpd
udp6 0 0 :::5353 :::* 108 11914 409/avahi-daemon: r
udp6 0 0 :::38317 :::* 108 11916 409/avahi-daemon: r
udp6 0 0 fe80::bfc8:80fe:4fd:123 :::* 112 15675 606/ntpd
udp6 0 0 ::1:123 :::* 0 15569 606/ntpd
udp6 0 0 :::123 :::* 0 15560 606/ntpd
*** Log File - Last 25 Lines ***
2024-07-05 11:26:19.253 - info: host.raspi-strom-erba Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2024-07-05 11:26:19.255 - info: host.raspi-strom-erba hostname: raspi-strom-erba, node: v18.19.0
2024-07-05 11:26:19.257 - info: host.raspi-strom-erba ip addresses: 192.168.2.14 fe80::bfc8:80fe:4fdf:8b23
2024-07-05 11:26:49.320 - error: host.raspi-strom-erba No connection to databases possible, restart
2024-07-05 11:26:49.343 - info: host.raspi-strom-erba iobroker _restart
2024-07-05 11:26:55.645 - info: host.raspi-strom-erba iobroker.js-controller version 4.0.21 js-controller starting
2024-07-05 11:26:55.656 - info: host.raspi-strom-erba Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2024-07-05 11:26:55.658 - info: host.raspi-strom-erba hostname: raspi-strom-erba, node: v18.19.0
2024-07-05 11:26:55.659 - info: host.raspi-strom-erba ip addresses: 192.168.2.14 fe80::bfc8:80fe:4fdf:8b23
2024-07-05 11:27:25.699 - error: host.raspi-strom-erba No connection to databases possible, restart
2024-07-05 11:27:25.724 - info: host.raspi-strom-erba iobroker _restart
2024-07-05 11:27:32.618 - info: host.raspi-strom-erba iobroker.js-controller version 4.0.21 js-controller starting
2024-07-05 11:27:32.635 - info: host.raspi-strom-erba Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2024-07-05 11:27:32.637 - info: host.raspi-strom-erba hostname: raspi-strom-erba, node: v18.19.0
2024-07-05 11:27:32.640 - info: host.raspi-strom-erba ip addresses: 192.168.2.14 fe80::bfc8:80fe:4fdf:8b23
2024-07-05 11:27:34.808 - error: host.raspi-strom-erba-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
2024-07-05 11:27:42.095 - info: host.raspi-strom-erba iobroker.js-controller version 4.0.21 js-controller starting
2024-07-05 11:27:42.109 - info: host.raspi-strom-erba Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2024-07-05 11:27:42.111 - info: host.raspi-strom-erba hostname: raspi-strom-erba, node: v18.19.0
2024-07-05 11:27:42.114 - info: host.raspi-strom-erba ip addresses: 192.168.2.14 fe80::bfc8:80fe:4fdf:8b23
2024-07-05 11:27:44.271 - error: host.raspi-strom-erba-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
2024-07-05 11:27:49.627 - info: host.raspi-strom-erba iobroker.js-controller version 4.0.21 js-controller starting
2024-07-05 11:27:49.639 - info: host.raspi-strom-erba Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2024-07-05 11:27:49.640 - info: host.raspi-strom-erba hostname: raspi-strom-erba, node: v18.19.0
2024-07-05 11:27:49.642 - info: host.raspi-strom-erba ip addresses: 192.168.2.14 fe80::bfc8:80fe:4fdf:8b23
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary