View Single Post
Old 19th September 2008, 16:35
almeister9 almeister9 is offline
Join Date: Sep 2008
Posts: 36
Thanks: 6
Thanked 3 Times in 3 Posts
Unhappy started again. got as far as page 2

I decided to start again from scratch. reformat. fresh install. pages 1 to 3 of The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) then page 1 of Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS)
I omitted installing postfix-tls because it cannot find a source for it and I have read in other threads that it is not needed as it is included in the latest postfix.
New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword
Create directories for web-based administration? <-- No
General type of mail configuration: <-- Internet Site
System mail name: <-- (changed to my fqdn <omitted the server1. part becasue the instructions on the screen said to>
SSL certificate required <-- Ok
Web server to reconfigure automatically: <-- apache2
I skipped section 3 Apply The Quota Patch To Postfix
I completed section 4 Create The MySQL Database For Postfix/Courier
I checked to see that I could log into phpmyadmin and I could.

On to page 2

section 5 Configure Postfix

/etc/mysql/my.cnf already had:
bind-address =
I restarted MySql anyway.
/etc/init.d/mysql restart

netstat -tap | grep mysql
and got:
root@smail:~# netstat -tap | grep mysql
getnameinfo failed
tcp 0 0 localhost.localdo:mysql *:* LISTEN 4972/mysqld
I dont understand what I could be doing wrong, this early in the piece.
my hosts file looks like this:
vi /etc/hosts localhost.localdomain localhost servername.myfqdn servername

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
and my network interfaces file looks like this:
vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

there isnt anything else. I havent even gotten as far as creating the six text files. I dont understand what I could have done wrong. can anybody please help me understand this?

Last edited by almeister9; 21st September 2008 at 13:06.
Reply With Quote