Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 01-23-2008, 12:25 PM
Member
 
Join Date: Jan 2008
Posts: 18
smurraysb is on a distinguished road
Default DNS Questions and Trouble Installing

Hi, I'm trying to install Zimbra onto a sled 9 distro, but I'm rather new to working with DNS and the sort, and linux in general, so I had a few questions.

So I was reading up in the wiki on how to install on sles 9
(SUSE Linux Enterpise Server 9 NAT HOWTO - Zimbra :: Wiki)

but I'm unclear on some of the information. I have set up a DNS, with host "sbs" and domain "sbstest.com" (not registered), but when installing the Zimbra client, it tells me:

DNS ERROR resolving MX for sbs.sbstests.com
It is suggested that the domain name have and MX configured in the DNS
Change domain name? [Yes]

But I input no because I don't know what to change it too.
With that, I don't think my installation worked because I went to http://ip:7780 and nothing showed up. Any suggestions, or could someone point me in the right direction as how to setup and register my domain on my box?

Also, another question is, does the domain name have to be registered?

Thanks

Last edited by smurraysb : 01-23-2008 at 12:41 PM.
Reply With Quote
  #2 (permalink)  
Old 01-23-2008, 12:41 PM
mmorse's Avatar
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,613
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

Welcome to the forums,

It grabbed the servername as part of the domain from the box.
As you can see you can try just sbstests.com or continue on and make a sbstest.com domain later after the setup finishes.

From the server post the output of:
Code:
 dig any sbstest.com
http://ip:7780 is a little wrong for the admin console...or did you change the web port from 80 > 7780?
Admin console gui is at: https://ip:7071
Make sure you have no firewall or these ports open Ports - Zimbra :: Wiki & Firewall Configuration - Zimbra :: Wiki

This FOSS or NE/NE trial?
You might want to use a different operating system platform though...no sense installing 4.5.x when you can do 5.0.1
List of supported platforms for 5.0.x is here: Zimbra Product Portal -Release 5.0

NE downloads: /products/downloads.html
FOSS downloads: /community/downloads.html

NE Docs: /products/documentation.html
FOSS Docs: /community/documentation.html
Reply With Quote
  #3 (permalink)  
Old 01-23-2008, 02:15 PM
Member
 
Join Date: Jan 2008
Posts: 18
smurraysb is on a distinguished road
Default

Thank you for your reply!

I'm not sure what you mean by servername, but the domain name for the box is sbstests.com (being unexperienced as I am, thats what I put as the domain when setting up the box)

So I tried out that piece of code, and this is what I got in return, I'm not exactly sure what it all means.

Quote:
; <<>> DiG 9.3.4 <<>> any sbstests.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45866
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;sbstests.com. IN ANY

;; ANSWER SECTION:
sbstests.com. 86400 IN SOA sbstests.com. postmaster.sbstests.com. 2008012348 10800 3600 604800 86400
sbstests.com. 86400 IN NS sbstests.com.
sbstests.com. 86400 IN MX 10 sbs.sbstests.com.

;; ADDITIONAL SECTION:
sbs.sbstests.com. 86400 IN A **my ip**

;; Query time: 20 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jan 23 14:25:36 2008
;; MSG SIZE rcvd: 127

Also, I was wondering if the DN needs to be a registered domain name, or is can Zimbra just run off a NAT connection?

I tried that 7071 port, but I think the install didn't work, so that's why it's a no go.

Sadley, I can't change platforms until this server is upgraded to another service pack, so I have to keep it to sled 9, which 4.5 only seems to support.

Last edited by smurraysb : 01-23-2008 at 02:53 PM.
Reply With Quote
  #4 (permalink)  
Old 01-23-2008, 05:01 PM
mmorse's Avatar
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,613
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

It can run behind a NAT though you might need a Split DNS - Zimbra :: Wiki another good article is: /blog/archives/2007/06/making_zimbra_bind_work_together_1.html
To test your domain externally a good utility is Pingability.com - Quick Check : sbstests.com
(Your /etc/hosts file would be good to post)
Reply With Quote
  #5 (permalink)  
Old 01-24-2008, 09:54 AM
Member
 
Join Date: Jan 2008
Posts: 18
smurraysb is on a distinguished road
Default

Thank you again for your reply

I'll read up on those two docs, and I'll post what happens. Until then, I'll post my hosts file

Quote:
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2
**my_ip** sbs.sbstests.com sbs
Reply With Quote
  #6 (permalink)  
Old 01-24-2008, 10:35 AM
mmorse's Avatar
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,613
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

You can comment out everything below the 'special IPv6' with a # symbol if desired.

So the file should look like:
Quote:
127.0.0.1 locahhost.localdomain localhost
serverIPHere server.domain.com server
You can look in /etc/hostname to find server's hostname, or run this command:
Quote:
host `hostname`
(backticks -next to the 1 key- not single quotes)
Reply With Quote
  #7 (permalink)  
Old 01-24-2008, 02:32 PM
Member
 
Join Date: Jan 2008
Posts: 18
smurraysb is on a distinguished road
Default

Thanks, that doc helped a lot, I think I've resolved my DNS issues.
When I type
Code:
host sbstests.com
I get
Quote:
sbstests.com mail is handled by 10 mail.sbstests.com.
and with
Code:
dig any sbstests.com
I get
Quote:
; <<>> DiG 9.3.4 <<>> any sbstests.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42450
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;sbstests.com. IN ANY

;; ANSWER SECTION:
sbstests.com. 86400 IN SOA sbstests.com. postmaster.sbstests.com. 2008012449 10800 3600 604800 86400
sbstests.com. 86400 IN NS sbstests.com.
sbstests.com. 86400 IN MX 10 mail.sbstests.com.

;; ADDITIONAL SECTION:
mail.sbstests.com. 86400 IN A **my ip**

;; Query time: 3 msec
;; SERVER: 192.168.61.131#53(192.168.61.131)
;; WHEN: Thu Jan 24 12:20:28 2008
;; MSG SIZE rcvd: 128
So, now I only have one last problem, and that's a port conflict 25 (zimbra-mta). I've never handled ports before, so I'm not quite sure what to do. Once again, I really appreciate the help!
Reply With Quote
  #8 (permalink)  
Old 01-24-2008, 08:56 PM
mmorse's Avatar
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,613
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

ps aux | grep zimbra (kill -9 pid# of any remaining processes running)
lsof | grep TCP | grep 25
Do you have an existing mailserver like sendmail, exim (or even another postfix) running?
Reply With Quote
  #9 (permalink)  
Old 02-13-2008, 12:09 PM
Member
 
Join Date: Jan 2008
Posts: 18
smurraysb is on a distinguished road
Default

Sorry for the delayed response.

So, I checked, and I do have another postfix already, so I've done several installs, making sure to turn off postfix first, and still am having some troubles getting to the GUI.

The install usually looks like it runs fine, the port conflict for 25 stopped showing up, but another one came up in it's place in port 80. But even after that, it seems to be installing correctly, I assume it's just moving the port numbers, I could (and most likely am) wrong though.

The main problem though is getting to the GUI, I tried the https://ip:7071, but am getting this error.

Quote:
The connection was refused when trying to contact
@myip@:7071
Now, not to dump a whole lot on you, but I figure it's easiest to get an idea of how things are running if I just give you my process. So I wrote a shell script, and here's what it has in it. (Sorry that the sed's are a little messy, overall, they're just editing the zone file so that it looks like that one in that tut).

Quote:
#!/bin/sh

#################################################
# The variable @MYIP@ will represent my IP addr #
#################################################

echo "Turning off firewall"

/etc/init.d/SuSEfirewall2_init stop
/etc/init.d/SuSEfirewall2_final stop
/etc/init.d/SuSEfirewall2_setup stop
SuSEfirewall2 stop

echo "Stopping POSTFIX..."

/etc/init.d/postfix stop

echo "Starting base installs..."

rpm -Uvh php4-4.3.10-14.13.i586.rpm

rpm -Uvh php4-session-4.3.10-14.13.i586.rpm

rug install gmp bind-devel apache2 mysql

rug install apache2-mod_php4 php4-cURL php4-gmp

echo "Starting Services..."

/etc/init.d/mysql start
/etc/init.d/apache2 start

echo "RPM'ing Cache Nameserver..."

rpm -Uvh ~/Desktop/ZimbraComponent/caching-nameserver-7.1-3.noarch.rpm --force

echo "Editing /etc/hosts file..."

sed -i 's/^127.0.0.1\s*\t*localhost/&\.localdomain\tlocalhost/g' /etc/hosts

echo "Copying over and editing zone file..."

cp /var/named/localhost.zone /var/named/sbstests.com.zone

################################################## ############
# These following sed's change the zone file to look just as #
# described in the Zimbra & BIND tut. #
################################################## ############

sed -i 's/\$ORIGIN localhost.//g' /var/named/sbstests.com.zone
sed -i 's/1D IN/IN/g' /var/named/sbstests.com.zone
sed -i 's/root/sbstests\.com\. mail\.sbstests\.com\./g' /var/named/sbstests.com.zone
sed -i 's/^\(\t\+\)IN NS\(\t\+\)@/@\1IN NS\t\tmail\.sbstests\.com\.\n\1IN MX\t10\tmail\.sbstests\.com\./g' /var/named/sbstests.com.zone
sed -i 's/^\(\t\+IN\sA\t\+\).*$/\1@MYIP@\nmail\1@MYIP@\nwww\1@MYIP@/g' /var/named/sbstests.com.zone

chown named:named /var/named/sbstests.com.zone

echo "Setting Nameserver..."

sed -i 's/^nameserver .*$/nameserver @MYIP@/g' /etc/resolv.conf

hostname mail.sbstests.com

/etc/init.d/named reload

echo "Unpacking the Zimbra Files..."

tar -xzf ~/Desktop/ZimbraComponent/zcs-4.5.10_GA_1575.SuSEES9.tgz

exit 0
and after that, I start the install.sh

any suggestions as to why the GUI doesn't seem to work? Or is there a command I can use in the command line just to see if it installed correctly or even at all?

Thanks very much for your time!
Reply With Quote
  #10 (permalink)  
Old 02-13-2008, 12:31 PM
Special Member
 
Join Date: Aug 2007
ZCS Version: 5.0.5 FOSS
Posts: 161
drdre is on a distinguished road
Default

hey check my thread here

[SOLVED] i am tired.. going to sleep.. help with installation

its long.. but i eventually got it to work.. and now i can do installs without any issues
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zimbra Pre-Install Questions dczanik Installation 1 06-13-2007 12:10 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.1.0