ich habe mit apt-get update und upgrade mein System und damit auch pivCCU auf meinem Pi3 mit openhabian aktualisiert.
Danach wurde das pivCCU nicht mehr beim Start mit gestartet
Code: Alles auswählen
sudo systemctl status pivccu.service
● pivccu.service - piVCCU
Loaded: loaded (/lib/systemd/system/pivccu.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Code: Alles auswählen
sudo systemctl start pivccu.service
Außerdem blieb eine Warning:
Code: Alles auswählen
Warning: The unit file, source configuration file or drop-ins of pivccu.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Code: Alles auswählen
systemctl daemon-reload
Hat leider das Ursprungsproblem nicht gelöst.
Ich habe auch /boot/config.txt geprüft, Einträge stimmen.
Nun habe ich
Code: Alles auswählen
sudo dpkg --configure -a
Code: Alles auswählen
sudo apt install --reinstall pivccu-modules-raspberrypi pivccu-modules-dkms
Dabei traten wieder Fehler auf
Code: Alles auswählen
dpkg: error processing archive /var/cache/apt/archives/pivccu3_3.61.7-69_armhf.deb (--unpack):
new pivccu3 package pre-installation script subprocess returned error exit status 2
dpkg: regarding .../pivccu-modules-dkms_1.0.71_all.deb containing pivccu-modules-dkms:
pivccu3 conflicts with pivccu-modules-dkms (>= 1.0.70)
pivccu-modules-dkms (version 1.0.71) is to be installed.
dpkg: error processing archive /var/cache/apt/archives/pivccu-modules-dkms_1.0.71_all.deb (--unpack):
conflicting packages - not installing pivccu-modules-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Alles auswählen
sudo apt-get update
sudo apt-get upgrade --with-new-pkgs
Code: Alles auswählen
sudo systemctl start pivccu.service[/code
Job for pivccu.service failed because the control process exited with error code.
See "systemctl status pivccu.service" and "journalctl -xe" for details.
[code]
systemctl status pivccu.service
● pivccu.service - piVCCU
Loaded: loaded (/lib/systemd/system/pivccu.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-03-15 09:40:59 CET; 32s ago
Process: 22690 ExecStart=/var/lib/piVCCU3/start_container.sh (code=exited, status=203/EXEC)
Mar 15 09:40:59 openhabian systemd[1]: Starting piVCCU...
Mar 15 09:40:59 openhabian systemd[22690]: pivccu.service: Failed to execute command: No such file or directory
Mar 15 09:40:59 openhabian systemd[22690]: pivccu.service: Failed at step EXEC spawning /var/lib/piVCCU3/start_container.sh: No such file or directory
Mar 15 09:40:59 openhabian systemd[1]: pivccu.service: Control process exited, code=exited, status=203/EXEC
Mar 15 09:40:59 openhabian systemd[1]: pivccu.service: Failed with result 'exit-code'.
Mar 15 09:40:59 openhabian systemd[1]: Failed to start piVCCU.