Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 44

Thread: Fresh Installation (Continued)

  1. #11
    Amin Kardan's Avatar
    Amin Kardan is offline Senior Member
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

    When you say type that command exactly, I thought you meant EXACTLY lol So, I'm assuming I'm suppose to put host `zimbra` in there? Well, here are the outputs I got for two different commands:
    Code:
    root@zimbra:/etc# host `zimbra`
    bash: zimbra: command not found
    Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
                [-R number] hostname [server]
           -a is equivalent to -v -t *
           -c specifies query class for non-IN data
           -C compares SOA records on authoritative nameservers
           -d is equivalent to -v
           -l lists all hosts in a domain, using AXFR
           -i IP6.INT reverse lookups
           -N changes the number of dots allowed before root lookup is done
           -r disables recursive processing
           -R specifies number of retries for UDP packets
           -t specifies the query type
           -T enables TCP/IP mode
           -v enables verbose output
           -w specifies to wait forever for a reply
           -W specifies how long to wait for a reply
           -4 use IPv4 query transport only
           -6 use IPv6 query transport only
    root@zimbra:/etc# host `hostname`
    Host zimbra not found: 2(SERVFAIL)
    root@zimbra:/etc#

  2. #12
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    He did mean exactly that command . When you use backticks like that on the Linux command line it will use the output from the command "hostname" and use them as input on the command "host". In essence, you are actually running "host zimbra" as the command once the hostname command finishes. That way you don't have to find out what the actual hostname is and then do the lookup, you do it all with one command.

    Anyway, can you run the last two commands Bill asked for? It appears that either the /etc/resolv.conf file is wrong or your DNS server still isn't working properly as indicated by "Host zimbra not found".

  3. #13
    Amin Kardan's Avatar
    Amin Kardan is offline Senior Member
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

    Ok, here's what I got for you guys:
    Code:
    root@zimbra:/etc# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0A:5E:1B:0F:B9
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::20a:5eff:fe1b:fb9/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:250823 errors:0 dropped:0 overruns:0 frame:0
              TX packets:68510 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:37618330 (35.8 MiB)  TX bytes:12636590 (12.0 MiB)
              Interrupt:177
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2076379 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2076379 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:690726112 (658.7 MiB)  TX bytes:690726112 (658.7 MiB)
    
    root@zimbra:/etc# host `hostname`
    Host zimbra not found: 2(SERVFAIL)
    root@zimbra:/etc# dig pdadmin.com mx
    
    ; <<>> DiG 9.3.2-P2.1 <<>> pdadmin.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61710
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;pdadmin.com.                   IN      MX
    
    ;; ANSWER SECTION:
    pdadmin.com.            1231    IN      MX      2 mail2.pdadmin.com.
    pdadmin.com.            1231    IN      MX      1 mail.pdadmin.com.
    
    ;; ADDITIONAL SECTION:
    mail2.pdadmin.com.      917     IN      A       216.249.3.126
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.1.4#53(192.168.1.4)
    ;; WHEN: Tue Jul 15 14:55:01 2008
    ;; MSG SIZE  rcvd: 88
    
    root@zimbra:/etc# dig pdadmin.com any
    
    ; <<>> DiG 9.3.2-P2.1 <<>> pdadmin.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60206
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 4, ADDITIONAL: 6
    
    ;; QUESTION SECTION:
    ;pdadmin.com.                   IN      ANY
    
    ;; ANSWER SECTION:
    pdadmin.com.            2304    IN      A       209.250.128.16
    pdadmin.com.            1227    IN      MX      2 mail2.pdadmin.com.
    pdadmin.com.            1227    IN      MX      1 mail.pdadmin.com.
    pdadmin.com.            81909   IN      NS      ns2.everydns.net.
    pdadmin.com.            81909   IN      NS      ns3.everydns.net.
    pdadmin.com.            81909   IN      NS      ns4.everydns.net.
    pdadmin.com.            81909   IN      NS      ns1.everydns.net.
    
    ;; AUTHORITY SECTION:
    pdadmin.com.            81909   IN      NS      ns1.everydns.net.
    pdadmin.com.            81909   IN      NS      ns2.everydns.net.
    pdadmin.com.            81909   IN      NS      ns3.everydns.net.
    pdadmin.com.            81909   IN      NS      ns4.everydns.net.
    
    ;; ADDITIONAL SECTION:
    mail.pdadmin.com.       1227    IN      A       216.249.3.98
    mail2.pdadmin.com.      913     IN      A       216.249.3.126
    ns1.everydns.net.       145912  IN      A       208.76.56.56
    ns2.everydns.net.       49982   IN      A       204.152.184.150
    ns3.everydns.net.       27761   IN      A       208.96.6.134
    ns4.everydns.net.       3020    IN      A       64.158.219.3
    
    ;; Query time: 7 msec
    ;; SERVER: 192.168.1.4#53(192.168.1.4)
    ;; WHEN: Tue Jul 15 14:55:05 2008
    ;; MSG SIZE  rcvd: 324
    
    root@zimbra:/etc#
    Just so you know, mail2.pdadmin.com has the IP 216.249.3.126 on the outside world. 192.168.1.2 is obviously the internal IP.
    Last edited by Amin Kardan; 07-15-2008 at 12:01 PM.

  4. #14
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Ok, there's probably a few things happening here..

    First, take a look at your /etc/resolv.conf file to make sure you'll doing DNS lookups using the DNS server you setup on the first page of this thread. You'll also want to make sure you have the internal IPs in your DNS server that you setup rather than the external IPs. If you need help, post your /etc/resolv.conf file here.

  5. #15
    Amin Kardan's Avatar
    Amin Kardan is offline Senior Member
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

    Code:
    root@zimbra:/etc# cat /etc/resolv.conf
    search pdadmin.com
    nameserver 192.168.1.4
    nameserver 192.168.1.1
    root@zimbra:/etc#
    1.4 is our primary DNS and 1.1 is our gateway/2nd DNS

    I'm starting to think that my supervisor has thrown me off with the settings he put in our DNS server. Our DNS service is through Free DNS, Static DNS, Dynamic DNS, URL Redirection, and more from EveryDNS! I have access to change it if need be.

  6. #16
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Ok, so this pdadmin.com domain is a test environment? Take a look at the Split DNS document from the first page. You'll need a separate view for the internal IPs of your servers than the external IPs. Your supervisor should be able to help you with this if he setup the DNS server for you in the first place.

  7. #17
    Amin Kardan's Avatar
    Amin Kardan is offline Senior Member
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

    Well, I'm actually alone for the week because my supervisor is away on vacation. pdadmin.com is a real domain. We're just testing the email server in a test enviroment before we implement it. It's not like I'm trying to get someone else to do the work for me. I'm trying to figure out this stuff out, and learn something while doing it. I haven't used Linux this way since my 3rd semester of College. Please, excuse me for being a noob I'll take a look at the Split DNS info, and get back to you guys tomorrow. I'm done for the day. Have a nice evening.

  8. #18
    Amin Kardan's Avatar
    Amin Kardan is offline Senior Member
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

    I've completely reinstalled everything, and I took at look at that Split DNS document, and it seems that that's for Red Hat, and I'm running Ubuntu. So, some of the stuff isn't matching up. I tried installing bind-devel and a few other things it needed, but no luck. I'm just look for a basic configuration manual or something. Also, one that has information on how to setup the Split DNS. Any help is appreciated.

  9. #19
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Ok, the concepts of the split DNS setup are going to be the same no matter what distro you are using. Have you setup BIND on your Ubuntu Zimbra server then?

  10. #20
    Amin Kardan's Avatar
    Amin Kardan is offline Senior Member
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

    Yes, I've done everything. When I got to the step in the ZCS installation where it asks me the FQDN, I typed in mail2.pdadmin.com and then it said would you like to create it, after saying yes, I type pdadmin.com and it said there was no MX record found. These are my configurations:

    Code:
    root@zimbra:~# cat /etc/bind/named.conf.options
    options {
            directory "/var/cache/bind";
    
            // from bind 9:
            //      [fetch-glue] is obsolete. In BIND 8, fetch-glue yes caused the
            //      server to attempt to fetch glue resource records it didn't have
            //      when constructing the additional data section of a response.
            //      This is now considered a bad idea and BIND 9 never does it.
    
            fetch-glue no;
    
            // If there is a firewall between you and nameservers you want
            // to talk to, you might need to uncomment the query-source
            // directive below.  Previous versions of BIND always asked
            // questions using port 53, but BIND 8.1 and later use an unprivileged
            // port by default.
    
            query-source address * port 53;
    
            // If your ISP provided one or more IP addresses for stable
            // nameservers, you probably want to use them as forwarders.
            // Uncomment the following block, and insert the addresses replacing
            // the all-0's placeholder.
    
            forwarders {
                    192.168.1.1;
            };
            auth-nxdomain no;       # conform to RFC1035
    };
    root@zimbra:~# cat /etc/resolv.conf
    search pdadmin.com
    nameserver 192.168.1.4
    nameserver 192.168.1.2
    nameserver 192.168.1.1
    nameserver 216.249.3.126
    root@zimbra:~#  cat /etc/bind/named.conf.local
    //
    // Add local zone definitions here.
    zome "pdadmin.com"  {
            type master;
            file "/etc/bind/db.pdadmin.com";
    };
    root@zimbra:~# cat /etc/bind/db.pdadmin.com
    ;
    ; BIND data file for pdadmin.com
    ;
    $TTL    604800
    @       IN      SOA     pdadmin.com. admin.pdadmin.com. (
                             070616         ; Serial
                             604800         ; Refresh
                              86400         ; Retry
                            2419200         ; Expire
                             604800 )       ; Negative Cache TTL
    ;
    @       IN      NS      mail
            IN      MX      10 mail
            IN      A       192.168.1.2
    mail    IN      A       192.168.1.2
    
    root@zimbra:~# cat /etc/hosts
    127.0.0.1       localhost.localdomain   localhost
    192.168.1.2     zimbra.pdadmin.com      zimbra
    
    # 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
    
    root@zimbra:~# host `hostname`
    Host zimbra not found: 2(SERVFAIL)
    root@zimbra:~# dig pdadmin.com mx
    
    ; <<>> DiG 9.3.2-P2.1 <<>> pdadmin.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7499
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 5
    
    ;; QUESTION SECTION:
    ;pdadmin.com.                   IN      MX
    
    ;; ANSWER SECTION:
    pdadmin.com.            3600    IN      MX      2 mail2.pdadmin.com.
    pdadmin.com.            3600    IN      MX      1 mail.pdadmin.com.
    
    ;; AUTHORITY SECTION:
    pdadmin.com.            85341   IN      NS      ns3.everydns.net.
    pdadmin.com.            85341   IN      NS      ns4.everydns.net.
    pdadmin.com.            85341   IN      NS      ns1.everydns.net.
    pdadmin.com.            85341   IN      NS      ns2.everydns.net.
    
    ;; ADDITIONAL SECTION:
    mail.pdadmin.com.       3600    IN      A       216.249.3.98
    mail2.pdadmin.com.      1800    IN      A       216.249.3.126
    ns1.everydns.net.       1919    IN      A       208.76.56.56
    ns3.everydns.net.       106514  IN      A       208.96.6.134
    ns4.everydns.net.       2607    IN      A       64.158.219.3
    
    ;; Query time: 88 msec
    ;; SERVER: 192.168.1.4#53(192.168.1.4)
    ;; WHEN: Thu Jul 17 08:56:20 2008
    ;; MSG SIZE  rcvd: 236
    
    root@zimbra:~# dig pdadmin.com any
    
    ; <<>> DiG 9.3.2-P2.1 <<>> pdadmin.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2393
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 4, ADDITIONAL: 5
    
    ;; QUESTION SECTION:
    ;pdadmin.com.                   IN      ANY
    
    ;; ANSWER SECTION:
    pdadmin.com.            3596    IN      MX      1 mail.pdadmin.com.
    pdadmin.com.            3596    IN      MX      2 mail2.pdadmin.com.
    pdadmin.com.            2537    IN      A       209.250.128.16
    pdadmin.com.            85337   IN      NS      ns4.everydns.net.
    pdadmin.com.            85337   IN      NS      ns1.everydns.net.
    pdadmin.com.            85337   IN      NS      ns2.everydns.net.
    pdadmin.com.            85337   IN      NS      ns3.everydns.net.
    
    ;; AUTHORITY SECTION:
    pdadmin.com.            85337   IN      NS      ns1.everydns.net.
    pdadmin.com.            85337   IN      NS      ns2.everydns.net.
    pdadmin.com.            85337   IN      NS      ns3.everydns.net.
    pdadmin.com.            85337   IN      NS      ns4.everydns.net.
    
    ;; ADDITIONAL SECTION:
    mail.pdadmin.com.       3596    IN      A       216.249.3.98
    mail2.pdadmin.com.      1796    IN      A       216.249.3.126
    ns1.everydns.net.       1915    IN      A       208.76.56.56
    ns3.everydns.net.       106510  IN      A       208.96.6.134
    ns4.everydns.net.       2603    IN      A       64.158.219.3
    
    ;; Query time: 7 msec
    ;; SERVER: 192.168.1.4#53(192.168.1.4)
    ;; WHEN: Thu Jul 17 08:56:24 2008
    ;; MSG SIZE  rcvd: 308
    
    root@zimbra:~#
    During the installation, I'm not quite sure what to do here, or what the conflict is:
    Code:
     zimbra-core......zimbra-core_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-ldap......zimbra-ldap_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-logger......zimbra-logger_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-mta......zimbra-mta_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-snmp......zimbra-snmp_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-store......zimbra-store_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-apache......zimbra-apache_5.0.7_GA_2444.UBUNTU6_i386.deb...done
        zimbra-spell......zimbra-spell_5.0.7_GA_2444.UBUNTU6_i386.deb...done
    Operations logged to /tmp/zmsetup.01001900-0000139163496.log
    Setting defaults...No results returned for A lookup of zimbra.pdadmin.com
    Checked nameservers:
            192.168.1.4
            192.168.1.2
            192.168.1.1
            216.249.3.126
    
    
    DNS ERROR resolving zimbra.pdadmin.com
    It is suggested that the hostname be resolveable via DNS
    Change hostname [Yes] yes
    Please enter the logical hostname for this host [zimbra.pdadmin.com] pdadmin.com
            MX: mail.pdadmin.com (192.168.1.27)
            MX: mail2.pdadmin.com (216.249.3.126)
    
            Interface: 192.168.1.2
            Interface: 127.0.0.1
                    192.168.1.27
                    192.168.1.27
                    216.249.3.126
                    216.249.3.126
    
    
    DNS ERROR - none of the MX records for pdadmin.com
    resolve to this host
    Change domain name? [Yes] yes
    Create Domain: [pdadmin.com] mail2.pdadmin.com
    
            Interface: 192.168.1.2
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for mail2.pdadmin.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes] yes
    Create Domain: [pdadmin.com] pdadmin.com
            MX: mail2.pdadmin.com (216.249.3.126)
            MX: mail.pdadmin.com (192.168.1.27)
    
            Interface: 192.168.1.2
            Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for pdadmin.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes]
    This is the way our DNS is setup:


Page 2 of 5 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Fresh installation on Ubuntu 6.06
    By m477au in forum Installation
    Replies: 8
    Last Post: 07-07-2008, 05:12 PM
  2. error installation on fresh Ubuntu 606
    By pieter96 in forum Installation
    Replies: 14
    Last Post: 11-27-2007, 09:16 AM
  3. Replies: 16
    Last Post: 01-05-2006, 09:55 AM
  4. Problems with fresh open source installation
    By alohrer in forum Installation
    Replies: 4
    Last Post: 11-18-2005, 11:49 AM
  5. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •