| Welcome to the Zimbra - Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
01-23-2008, 01:25 PM
| | Intermediate Member | |
Posts: 18
| | 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 01:41 PM.
| 
01-23-2008, 03:15 PM
| | Intermediate Member | |
Posts: 18
| | 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 03:53 PM.
| 
01-24-2008, 10:54 AM
| | Intermediate Member | |
Posts: 18
| | 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
| | 
01-24-2008, 11:35 AM
| | Zimbra Consultant | |
Posts: 5,814
| | 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: (backticks -next to the 1 key- not single quotes) | 
01-24-2008, 03:32 PM
| | Intermediate Member | |
Posts: 18
| | Thanks, that doc helped a lot, I think I've resolved my DNS issues.
When I type 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! | 
01-24-2008, 09:56 PM
| | Zimbra Consultant | |
Posts: 5,814
| | 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? | 
02-13-2008, 01:09 PM
| | Intermediate Member | |
Posts: 18
| | 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! | | Thread Tools | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |