启动 ZNC,错误:“发现来自 ZNC

启动 ZNC,错误:“发现来自 ZNC

当我启动 ZNC 时,我尝试了所有可能的设置,但没有任何帮助,并且出现了致命错误:

sudo systemctl status znc.service
jun 14 01:50:33 user-desktop systemd[1]: Started ZNC, an advanced IRC bouncer.
jun 14 01:50:34 user-desktop znc[1305]: Checking for list of available modules...
jun 14 01:50:34 user-desktop znc[1305]: Opening config [/var/lib/znc/configs/znc.conf]... [ ZNC is already running on this config. ]
jun 14 01:50:34 user-desktop znc[1200]: Found old config from ZNC < 0.203. Saving a backup of it.
jun 14 01:50:34 user-desktop znc[1200]: Creating a config backup... [ File exists ]
jun 14 01:50:34 user-desktop znc[1200]: You must define at least one user in your config.
jun 14 01:50:34 user-desktop znc[1200]: Unrecoverable config error.

有谁知道如何解决这一问题?

答案1

您的软件包已损坏,请尝试root使用以下命令从用户重新安装 znc:

sudo apt remove znc ; reboot

# apt install znc

# apt upgrade ; reboot

sudo systemctl status znc.service

我认为这是解决这个问题的唯一方法。

相关内容