Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th August 2010, 01:08
me_chris me_chris is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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"

Last edited by me_chris; 11th August 2010 at 01:22.
Reply With Quote
Sponsored Links
  #2  
Old 11th August 2010, 02:43
me_chris me_chris is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #3  
Old 11th August 2010, 18:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Try
Code:
$myhostname = "localhost";
in your amavisd.conf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
amavisd, centos

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
centos 5.5 + hypervm + xen mariuscotan Technical 3 29th July 2011 07:56
ISPConfig3 install on OpenVZ CentOS 5.5 justintehtech Installation/Configuration 5 22nd July 2010 23:48
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 19:07
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] - Issues Aradan Server Operation 6 11th July 2010 02:38
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22


All times are GMT +2. The time now is 15:32.


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