首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu 16.10上安装amavisd

无法在Ubuntu 16.10上安装amavisd
EN

Ask Ubuntu用户
提问于 2016-11-14 14:52:06
回答 1查看 12.7K关注 0票数 3

我正在运行Ubuntu16.10并试图设置postfix。但我的amavis安装并不顺利。

代码语言:javascript
复制
apt upgrade

给出

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up amavisd-new (1:2.10.1-4ubuntu1) ...
Creating/updating amavis user account...
Job for amavis.service failed because the control process exited with error code.
See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis; generated; vendor preset: enabled
Active: failed (Result: exit-code) since Mon 2016-11-14 19:56:05 IST; 9ms ago
Docs: man:systemd-sysv-generator(8)
Process: 5465 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)
Nov 14 19:56:05 lenovo amavis[5465]:   The value of variable $myhostname is...en
Nov 14 19:56:05 lenovo amavis[5465]:   a fully qualified domain name; perha...h.
Nov 14 19:56:05 lenovo amavis[5465]:   You must explicitly assign a FQDN of...me
Nov 14 19:56:05 lenovo amavis[5465]:   in /etc/amavis/conf.d/05-node_id, or...'s
Nov 14 19:56:05 lenovo amavis[5465]:   network name!
Nov 14 19:56:05 lenovo amavis[5465]: (failed).
Nov 14 19:56:05 lenovo systemd[1]: amavis.service: Control process exited, ...=1
Nov 14 19:56:05 lenovo systemd[1]: Failed to start LSB: Starts amavisd-new ...r.
Nov 14 19:56:05 lenovo systemd[1]: amavis.service: Unit entered failed state.
Nov 14 19:56:05 lenovo systemd[1]: amavis.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package amavisd-new (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)

我怎么才能解决这个问题?

EN

回答 1

Ask Ubuntu用户

发布于 2017-01-06 05:55:28

我有这个问题,与服务器的FQDN有关。

我修改了/etc/amavis/conf.d/05-node_id文件。

我取消了注释(在此之前删除了# ) $myhostname = "....."并插入了FQDN。

票数 8
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/849369

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档