ダウンロードして新しいバージョン(9.0から9.2)にアップグレードしようとしたので、この問題に遭遇したため、「kerio-control-vpnclient」を低いバージョンにインストールしました。今はインストールも削除もできません!これは、Sudo dpkg --configure kerio-control-vpnclientの出力です
Setting up kerio-control-vpnclient (9.2.7.2921-1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to start kerio-kvc.service: Unit kerio-kvc.service is not loaded properly: Exec format error.
See system logs and 'systemctl status kerio-kvc.service' for details.
invoke-rc.d: initscript kerio-kvc, action "start" failed.
● kerio-kvc.service - Kerio Control VPN Client
Loaded: error (Reason: Exec format error)
Active: inactive (dead)
Oct 04 22:03:24 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:33 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:33 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:33 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:53 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:53 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:03:53 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:05:54 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:05:54 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
Oct 04 22:05:54 agha-Satellite-P755 systemd[1]: /lib/systemd/system/kerio-kvc.service:13: Executable path is not absolute: pkill -SIGHUP kvpncsvc
dpkg: error processing package kerio-control-vpnclient (--configure):
installed kerio-control-vpnclient package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
kerio-control-vpnclient
これはapt-get install -fの出力です
E: The package kerio-control-vpnclient needs to be reinstalled, but I can't find an archive for it.
これは、pkill
のシステムパスを見つけるためにpkill
を使用して初めて実行した後、/lib/systemd/system/kerio-kvc.service
を編集し、ExecReload
でpkill
のフルパスを使用します。
最後に次のようになります。
[Unit]
Description=Kerio Control VPN Client
After=network.target
[Service]
Type=forking
Restart=always
RestartSec=5
ExecStart=/usr/sbin/kvpncsvc /var/lib/kerio-control-vpn 2>&1 | logger -p daemon.err -t kerio-control-vpnclient 2>/dev/null
ExecReload=/usr/bin/pkill -SIGHUP kvpncsvc
[Install]
Alias=kerio-vpn
Alias=kerio-control-vpn
Alias=kerio-control-vpnclient
WantedBy=multi-user.target