How to fix error " processing package amavisd-new " in Ubuntu Server 16.04 LTS


Assalamualaikum Wr.Wb..
dengan diberikan nikmat dan rezeki dari Allah SWT, saya Mr.GagalTotal666 akan
share cara bagaimana mengatasi error/failed " processing package amavisd-new "
di Ubuntu server 16.04 LTS.

mungkin anda yang pertama belajar tentang server atau istilah nya masih awam
diserver seperti saya ini masih awam di server ^_^
terus anda menemukan masalah seperti ini :

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)

tenang cara mengatasi error nya sudah di temukan,
langsung saja ikuti langkah berikut buka terminal/console anda
lalu masuk ke file 05-node_id kemudian edit di dalam nya
$ sudo nano /etc/amavis/conf.d/05-node_id
cari dan temukan " #$myhostname = '........' ", terus hapus tanda # dan save



jika anda masih kurang mengerti anda bisa lihat di forum Ubuntu [disini]
cukup sekian dan semoga bermanfaat ^_^

Wassalamualaikum Wr.Wb..
Previous
Next Post »