centos 5.5 x86_64 + amavisd ERROR (need help)

Discussion in 'Installation/Configuration' started by me_chris, Aug 11, 2010.

  1. me_chris

    me_chris New Member

    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="[email protected]"

    ### These are other defaults.
    #AMAVIS_ACCOUNT="amavis"
    #CONFIG_FILE="/etc/amavisd.conf"
    #MILTER_FLAGS=""
    CONFIG_FILE="/etc/amavisd/amavisd.conf"
     
    Last edited: Aug 11, 2010
  2. me_chris

    me_chris New Member

    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?
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Try
    Code:
    $myhostname = "localhost";
    in your amavisd.conf.
     
: amavisd, centos

Share This Page