You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
输入
zjunet user add
出现xl2tpd无法启动的问题
username XXXXXXXX
password: XXX
[INFO] Disconnect VPN
[INFO] Try to start xl2tpd if not
[INFO] Starting xl2tpd
Job for xl2tpd.service failed because the control process exited with error code.
See "systemctl status xl2tpd.service" and "journalctl -xe" for details.
Fail to start xl2tpd
[INFO] try disconnecting zju-l2tp-xxxxxXXX
[INFO] xl2tpd-control done
xl2tpd-control: Unable to open /var/run/xl2tpd/l2tp-control for writing: No such file or directory
[INFO] Setting up ip route.
default via 10.72.126.1 dev enp8s0
default via 10.72.126.1 dev enp8s0 proto static metric 100
10.72.126.0/24 dev enp8s0 proto kernel scope link src 10.72.126.187 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
[INFO] Write to xl2tpd.conf
/usr/lib/zjunet/xl2tpd.sh: line 87: /etc/ppp/peers/zju-l2tp-XXXX: No such file or directory
chmod: cannot access '/etc/ppp/peers/zju-l2tp-XXXX': No such file or directory
[INFO] Restart xl2tpd
[INFO] Stopping xl2tpd
[INFO] Starting xl2tpd
Job for xl2tpd.service failed because the control process exited with error code.
See "systemctl status xl2tpd.service" and "journalctl -xe" for details.
Fail to start xl2tpd
Environment
Please complete the following information:
其他情况:
安装时候的warning:Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/qsc.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Transaction的时候的error
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: ppp-2.4.7-26.el8_1.x86_64 1/4
Installing : ppp-2.4.7-26.el8_1.x86_64 1/4
Running scriptlet: ppp-2.4.7-26.el8_1.x86_64 1/4
Installing : kernel-modules-extra-4.18.0-372.32.1.el8_6.x86_64 2/4
Running scriptlet: kernel-modules-extra-4.18.0-372.32.1.el8_6.x86_64 2/4
Installing : xl2tpd-1.3.15-1.el8.x86_64 3/4
Running scriptlet: xl2tpd-1.3.15-1.el8.x86_64 3/4
Installing : zjunet-0.3.3-4.noarch 4/4
Running scriptlet: zjunet-0.3.3-4.noarch 4/4
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66: key 1 import failed.
Added yum repo.
Bug description
在成功安装之后,尝试添加user。
Output
输入
zjunet user add
出现xl2tpd无法启动的问题
username XXXXXXXX
password: XXX
[INFO] Disconnect VPN
[INFO] Try to start xl2tpd if not
[INFO] Starting xl2tpd
Job for xl2tpd.service failed because the control process exited with error code.
See "systemctl status xl2tpd.service" and "journalctl -xe" for details.
Fail to start xl2tpd
[INFO] try disconnecting zju-l2tp-xxxxxXXX
[INFO] xl2tpd-control done
xl2tpd-control: Unable to open /var/run/xl2tpd/l2tp-control for writing: No such file or directory
[INFO] Setting up ip route.
default via 10.72.126.1 dev enp8s0
default via 10.72.126.1 dev enp8s0 proto static metric 100
10.72.126.0/24 dev enp8s0 proto kernel scope link src 10.72.126.187 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
[INFO] Write to xl2tpd.conf
/usr/lib/zjunet/xl2tpd.sh: line 87: /etc/ppp/peers/zju-l2tp-XXXX: No such file or directory
chmod: cannot access '/etc/ppp/peers/zju-l2tp-XXXX': No such file or directory
[INFO] Restart xl2tpd
[INFO] Stopping xl2tpd
[INFO] Starting xl2tpd
Job for xl2tpd.service failed because the control process exited with error code.
See "systemctl status xl2tpd.service" and "journalctl -xe" for details.
Fail to start xl2tpd
根据提示
systemctl status xl2tpd
输出如下:
● xl2tpd.service - Level 2 Tunnel Protocol Daemon (L2TP)
Loaded: loaded (/usr/lib/systemd/system/xl2tpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2022-11-01 07:39:24 EDT; 1min 11s ago
Process: 252195 ExecStartPre=/sbin/modprobe -q l2tp_ppp (code=exited, status=1/FAILURE)
Nov 01 07:39:24 Saturn systemd[1]: Starting Level 2 Tunnel Protocol Daemon (L2TP)...
Nov 01 07:39:24 Saturn systemd[1]: xl2tpd.service: Control process exited, code=exited status=1
Nov 01 07:39:24 Saturn systemd[1]: xl2tpd.service: Failed with result 'exit-code'.
Nov 01 07:39:24 Saturn systemd[1]: Failed to start Level 2 Tunnel Protocol Daemon (L2TP).
顺便试了下ExecStartPre中的命令,去掉quiet选项,输出如下:
modprobe l2tp_ppp
modprobe: FATAL: Module l2tp_ppp not found in directory /lib/modules/4.18.0-372.9.1.el8.x86_64
The text was updated successfully, but these errors were encountered: