刘小圳 发表于 2024-8-22 18:20:09

【待反馈】我无法修复我的邮局环境

我无法修复我的邮局环境修复按钮无作用,执行过bt 16 和更新软件列表后仍然无效。在我尝试使用SSH安装Rspamd出现了以下错误:root@zit ~]# sudo dnf install
rspamd
Last metadata expiration check: 2:39:51 ago on Thu 22 Aug 2824 03:29:16 PM CST
Error:
Problem:conflicting requestsnothing provides libcrypto.so.18()(64bit) needed by rspamd-3.8.4-1.e17.x86_64 from rspamdnothing provides libcrypto.so.18(0PENSSL 1.0.1_EC)(64bit) needed by rspamd-3.8.4-1.e17.x86 _64 from rspamdprovides libcrypto.so.10(libcrypto.so.18)(64bit) needed by rspamd-3.8.4-1.e17.x86_64 from rspamdnothingnothing provides libssl.so.18()(64bit) needed by rspamd-3.8.4-1.e17.x86_64 from rspamdlibssl.so.10(libssl.so.10)(64bit)needed by rspamd-3.8.4-1.e17.x86_64 from rspamdnothingprovidesnothing provides libjemalloc.so.1()(64bit) needed by rspamd-3.8.4-1.e17.x86_64 from rspamd(try to add:'--nobest'to use not only best candidate packages'--skip-broken'to skip uninstallable packages or#
我尝试过许多修复安装方法,但均未成功。

运维技术阿闯 发表于 2024-8-22 18:24:18

您好,您这边是什么操纵系统
可以先卸载yum remove rspamd -y
rm -rf /usr/share/rspamd/www/rspamd

然后再安装
bash /www/server/panel/plugin/mail_sys/install.sh install_rspamd

刘小圳 发表于 2024-8-22 18:27:12

运维技术阿闯 发表于 2024-8-22 18:24
您好,您这边是什么操纵系统
可以先卸载yum remove rspamd -y
rm -rf /usr/share/rspamd/www/rspamd


我的操作系统是Rocky 9

运维技术阿闯 发表于 2024-8-22 18:31:11

宝塔用户_suzsmi 发表于 2024-8-22 18:27
我的操作系统是Rocky 9

您好,按照我发的操作,命令yum可以换成dnf
然后执行
bash /www/server/panel/plugin/mail_sys/install.sh install

刘小圳 发表于 2024-8-22 18:36:17

运维技术阿闯 发表于 2024-8-22 18:31
您好,按照我发的操作,命令yum可以换成dnf
然后执行
bash /www/server/panel/plugin/mail_sys/install.s ...

# bash /www/server/panel/plugin/mail_sys/install.sh install
postconf: fatal: open /etc/postfix/main.cf: No such file or directory
/www/server/panel/plugin/mail_sys/install.sh: line 114: apt-get: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 115: lsb_release: command not found
--2024-08-22 18:34:40--https://rspamd.com/apt-stable/gpg.key
Resolving rspamd.com (rspamd.com)... 135.181.136.158
Connecting to rspamd.com (rspamd.com)|135.181.136.158|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4036 (3.9K)
Saving to: ‘STDOUT’

-                                  100%[================================================================>]   3.94K--.-KB/s    in 0s      

2024-08-22 18:34:42 (78.1 MB/s) - written to stdout

tee: /etc/apt/sources.list.d/rspamd.list: No such file or directory
deb http://rspamd.com/apt-stable/main
tee: /etc/apt/sources.list.d/rspamd.list: No such file or directory
deb-src http://rspamd.com/apt-stable/main
/www/server/panel/plugin/mail_sys/install.sh: line 120: apt-get: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 121: apt-get: command not found
/usr/share/rspamd/www/rspamd.zip: No such file or directory
/www/server/panel/plugin/mail_sys/install.sh: line 124: cd: /usr/share/rspamd/www: No such file or directory
unzip:cannot find or open rspamd.zip, rspamd.zip.zip or rspamd.zip.ZIP.
--2024-08-22 18:34:42--https://download.bt.cn/install/public.sh
Resolving download.bt.cn (download.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to download.bt.cn (download.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5086 (5.0K)
Saving to: ‘Tpublic.sh’

Tpublic.sh                         100%[================================================================>]   4.97K--.-KB/s    in 0s      

2024-08-22 18:34:42 (42.5 MB/s) - ‘Tpublic.sh’ saved

正在选择下载节点...
/www/server/panel/plugin/mail_sys/install.sh: line 165: debconf-set-selections: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 166: debconf-set-selections: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 167: apt: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 168: apt: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 169: apt: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 171: apt: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 84: [: =: unary operator expected
/www/server/panel/plugin/mail_sys/install.sh: line 90: apt-get: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 91: lsb_release: command not found
--2024-08-22 18:34:43--https://rspamd.com/apt-stable/gpg.key
Resolving rspamd.com (rspamd.com)... 135.181.136.158
Connecting to rspamd.com (rspamd.com)|135.181.136.158|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4036 (3.9K)
Saving to: ‘STDOUT’

-                                  100%[================================================================>]   3.94K--.-KB/s    in 0s      

2024-08-22 18:34:44 (57.1 MB/s) - written to stdout

tee: /etc/apt/sources.list.d/rspamd.list: No such file or directory
deb http://rspamd.com/apt-stable/main
tee: /etc/apt/sources.list.d/rspamd.list: No such file or directory
deb-src http://rspamd.com/apt-stable/main
/www/server/panel/plugin/mail_sys/install.sh: line 96: apt-get: command not found
/www/server/panel/plugin/mail_sys/install.sh: line 97: apt-get: command not found
/usr/share/rspamd/www/rspamd.zip: No such file or directory
/www/server/panel/plugin/mail_sys/install.sh: line 100: cd: /usr/share/rspamd/www: No such file or directory
unzip:cannot find or open rspamd.zip, rspamd.zip.zip or rspamd.zip.ZIP.
/www/server/panel/plugin/mail_sys/install.sh: line 179: apt: command not found
424
{'status': False, 'msg': 'Postfix配置失败!'}
Successify
配置失败了

运维技术阿闯 发表于 2024-8-23 09:27:10

宝塔用户_suzsmi 发表于 2024-8-22 18:36
配置失败了

可能是系统上不太兼容吧,目前支持的系统仅有Rocky 8

刘小圳 发表于 2024-11-25 00:23:00

运维技术阿闯 发表于 2024-8-23 09:27
可能是系统上不太兼容吧,目前支持的系统仅有Rocky 8

问题已解决,请结题
页: [1]
查看完整版本: 【待反馈】我无法修复我的邮局环境