HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   centos 5.5 x86_64 + amavisd ERROR (need help) (http://www.howtoforge.com/forums/showthread.php?t=47877)

me_chris 11th August 2010 01:08

centos 5.5 x86_64 + amavisd ERROR (need help)
 
after installing almost everything i got this errors at the end, I need to know what they mean by uname(3) and if possible how to fix the problem.

Configuring DBServer
Installing Crontab
no crontab for root
no crontab for getmail
Restarting services ...
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Stopping saslauthd: [FAILED]
Starting saslauthd: [ OK ]
Shutting down Mail Virus Scanner (amavisd): [FAILED]
The value of variable $myhostname is "server01", but should have been
a fully qualified domain name; perhaps uname(3) did not provide such.
You must explicitly assign a FQDN of this host to variable $myhostname
in amavisd.conf, or fix what uname(3) provides as a host's network nam e!
Starting Mail Virus Scanner (amavisd): [FAILED]
Stopping Dovecot Imap: [FAILED]

Stopping httpd: [ OK ]
[Tue Aug 10 23:45:18 2010] [warn] NameVirtualHost *:443 has no VirtualHo sts
[Tue Aug 10 23:45:18 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
Starting httpd: [ OK ]


----> /etc/hosts:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
216.238.177.20 server01.mytruewebsite.co.uk server01

----> # hostname:
server01

----> # hostname -d:
mytruewebsite.co.uk


----> # vi /etc/sysconfig/amavisd
### Uncomment this if you want to use amavis with sendmail milter interface.
### See README.milter for details.
#
#MILTER_SOCKET="local:/var/amavis/amavis-milter.sock"
#MILTER_SOCKET="10024@127.0.0.1"

### These are other defaults.
#AMAVIS_ACCOUNT="amavis"
#CONFIG_FILE="/etc/amavisd.conf"
#MILTER_FLAGS=""
CONFIG_FILE="/etc/amavisd/amavisd.conf"

me_chris 11th August 2010 02:43

I add this to help you;

[root@web47 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=server01
GATEWAY=216.238.177.1

[root@web47 ~]# sysctl kernel.hostname
kernel.hostname = server01

[root@web47 ~]# hostname
server01

[root@web47 ~]# hostname -f
server01.mytruewebsite.co.uk


what shoud I do now?

falko 11th August 2010 18:11

Try
Code:

$myhostname = "localhost";
in your amavisd.conf.


All times are GMT +2. The time now is 22:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.