Results 1 to 9 of 9

Thread: [SOLVED] Help for ubuntu newbie.

  1. #1
    Narev is offline Active Member
    Join Date
    Sep 2010
    Location
    Enschede Netherlands
    Posts
    47
    Rep Power
    4

    Default [SOLVED] Help for ubuntu newbie.

    Hi all, first of all i would like to ask you bear with me. I know this question has been asked 1000's of times but still i cannot seem to sole my problem Also the fact that im new to linux does not help me either.

    I am trying to install ZCS 6.08 on Ubuntu 8.04.4 LTS with changing results. When i first tried to install it locally it worked but ever since we plugged the server into the dmz environment i have not even been able to reach the webaccess. In our situation we have a local dns server so there is no need to set up the zimbra server as a DNS.

    Due to me being completly new to Linux i have a hard time to determine where the problem could lie so ill provide you with my config files i think matter:

    /etc/hosts
    127.0.0.1 localhost
    127.0.0.1 zimbraserver.localdomain.dmz zimbraserver
    192.168.200.30 zimbraserver.localdomain.dmz zimbraserver

    # 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

    /etc/resolv.conf
    search localdomain.dmz
    nameserver local.dns.server.ip
    Because i installed zimbra earlier befor the dmz i used
    su - zimbra
    /opt/zimbra/libexec/zmsetservername -n to change the servername to both localdomain.dmz and externaldomain.nl. However, i still am not able to reach my zimbra server. Which one should it be? should the hostname be my forwarded publichostname.publicdomain.nl ? or my hostname.localdomain.dmz??

    It should also be noted that my zmcontrol status also tells me that the logger service is not started and that the ldap services states that it cannot find the ldap service and will use a caches version.

    I am able to ping my server on both its external domain as on its local domain but i cannot reach the webaccess via http://local-ip and neither by http://exeternaldomain.nl or http://localdomain.dmz

    What could this be? I am also pretty sure that the port 80 is forwarded to the server.

    One final note is that we have not set our MX record yet, because we already have an MX record set to this domain that we are still using so we still need to configure it correctly but we figured that it might be a good way to test the webaccess and admin portal.
    Last edited by Narev; 09-22-2010 at 02:51 AM.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Your hosts file is incorrect, go to the Split DNS article and look at the format described there for the hosts file and make yours the same. You should also run the commands in the 'Verify..' section of that article and make sure the rest of your configuration is correct.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Narev is offline Active Member
    Join Date
    Sep 2010
    Location
    Enschede Netherlands
    Posts
    47
    Rep Power
    4

    Default

    Thank you, i changed my host file to the following:

    127.0.0.1 localhost.localdomain localhost
    192.168.200.30 zimbra-test.ourdomain.nl zimbra-test

    # 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 i also changed my /etc/hostname to match the external hostname.

    However after i reset my zmservername with zmsetservername -n zimbra-test.ourdomain.nl and reboot the server with zmcontroll restart i get the following:
    zimbra@zimbra-test:~$ zmcontrol restart
    Host zimbra-test.ourdomain.nl
    Stopping stats...Done.
    Stopping mta...Done.
    Stopping spell...Done.
    Stopping snmp...Done.
    Stopping archiving...Done.
    Stopping antivirus...Done.
    Stopping antispam...Done.
    Stopping imapproxy...Done.
    Stopping memcached...Done.
    Stopping mailbox...Done.
    Stopping convertd...Done.
    Stopping logger...Done.
    Stopping ldap...Done.
    Host zimbra-test.ourdomain.nl
    Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Starting logger...Failed.
    Starting logswatch...ERROR: account.NO_SUCH_SERVER (no such server: zimbra-test.ourdomain.nl)
    zimbra logger service is not enabled! failed.


    Starting convertd...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...Done.
    Starting stats...Done.
    After this i tried to connect with the mail webaccess by http://zimbra-test.ourdomain.nl but this still does not work? So i was wondering could that be any of the errors that are provided in the above log or is there something else wrong?

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Just for confirmation please post the output from the Split DNS/Verify... section so we can check it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Narev is offline Active Member
    Join Date
    Sep 2010
    Location
    Enschede Netherlands
    Posts
    47
    Rep Power
    4

    Default

    dig zimbra.cape-groep.nl mx
    ; <<>> DiG 9.4.2-P2.1 <<>> zimbra.cape-groep.nl mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16800
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;zimbra.cape-groep.nl. IN MX

    ;; ANSWER SECTION:
    zimbra.cape-groep.nl. 6126 IN MX 100 zimbra-test.cape-groep.nl.

    ;; AUTHORITY SECTION:
    cape-groep.nl. 8475 IN NS ns.echelon.nl.
    cape-groep.nl. 8475 IN NS nsx.echelon.nl.

    ;; ADDITIONAL SECTION:
    zimbra-test.cape-groep.nl. 6126 IN A 217.119.233.149
    ns.echelon.nl. 162 IN A 217.119.226.66
    nsx.echelon.nl. 162 IN A 91.190.97.2

    ;; Query time: 2 msec
    ;; SERVER: 192.168.200.1#53(192.168.200.1)
    ;; WHEN: Wed Sep 22 14:30:01 2010
    ;; MSG SIZE rcvd: 157
    dig zimbra.cape-groep.nl any

    ; <<>> DiG 9.4.2-P2.1 <<>> zimbra.cape-groep.nl any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9742
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;zimbra.cape-groep.nl. IN ANY

    ;; ANSWER SECTION:
    zimbra.cape-groep.nl. 6016 IN MX 100 zimbra-test.cape-groep.nl.

    ;; AUTHORITY SECTION:
    cape-groep.nl. 8365 IN NS ns.echelon.nl.
    cape-groep.nl. 8365 IN NS nsx.echelon.nl.

    ;; ADDITIONAL SECTION:
    zimbra-test.cape-groep.nl. 6016 IN A 217.119.233.149
    ns.echelon.nl. 52 IN A 217.119.226.66
    nsx.echelon.nl. 52 IN A 91.190.97.2

    ;; Query time: 2 msec
    ;; SERVER: 192.168.200.1#53(192.168.200.1)
    ;; WHEN: Wed Sep 22 14:31:51 2010
    ;; MSG SIZE rcvd: 157
    host $(hostname)
    zimbra-test has address 192.168.200.30
    /etc/resolv.conf
    search cape-groep.dmz
    nameserver 192.168.200.1
    Last edited by Narev; 09-22-2010 at 05:29 AM.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    There is a problem with those results returned by the dig command, your DNS A record does not point to the LAN IP address (it points, I guess, to the public IP and it should never do that as it can't be resolved from your LAN) of your Zimbra server - it should. Zimbra (actually Postfix) requires that it's IP address can be resolved by a DNS lookup so it can correctly deliver the mail - you need to fix your DNS record.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Narev is offline Active Member
    Join Date
    Sep 2010
    Location
    Enschede Netherlands
    Posts
    47
    Rep Power
    4

    Default

    i have consulted with our network admin and according and based on that it appeared i have been feeding you some wrong info so i updated my above post. We actually do have an MX record set for zimbra which is zimbra.cape-groep.nl, does that mean it will conflict with any of my previous settings? I also noted that if i dig on zimbra.cape-groep.nl it still returns the external ip adress, does that mean our dns is still directing it wrongly?

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Narev View Post
    i have consulted with our network admin and according and based on that it appeared i have been feeding you some wrong info so i updated my above post. We actually do have an MX record set for zimbra which is zimbra.cape-groep.nl, does that mean it will conflict with any of my previous settings? I also noted that if i dig on zimbra.cape-groep.nl it still returns the external ip adress, does that mean our dns is still directing it wrongly?
    You are now using a subdomain for your DNS resolution of the Zimbra server and your hosts file now needs to change to reflect that. In your hosts file you have the FQDN of your server which consists of your hostname and the domain name, as you're now using a subdomain the entry in your hosts file should look like this:

    Code:
    192.168.200.30 mail.zimbra-test.ourdomain.nl mail
    Note that I have added the hostname 'mail' to your entry, that's just an arbitrary choice and can be anything you like. You will also need to modify your DNS records to reflect that change and, as I mentioned above, your IP address should be the LAN IP of the Zimbra server and not your Public IP address. In addition and assuming that you're not trying to run a Split Domain, your domain name on the server should now be "zimbra-test.cape-groep.nl", if you are trying to run a Split Domain then follow the wiki article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Narev is offline Active Member
    Join Date
    Sep 2010
    Location
    Enschede Netherlands
    Posts
    47
    Rep Power
    4

    Default

    Well we finally got it working eventhough many many people have said and stated it befor DNS settings are indeed important The solution for us was the following:

    /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.200.30 zimbraserver.ourdomain.nl zimbraserver

    /etc/hostname
    zimbraserver

    /etc/resolv.conf
    search cape-groep.dmz
    nameserver 192.168.200.1

    Then also importat were our zimbrasettings.

    our servername was:

    zimbra-test.ourdomain.nl

    our domainname was:

    zimbra.ourdomain.nl

    The last part was also were we went wrong, because we used a subdomain our domain actually was different then the suffix from our servername. This is probebly also why it didn't work with the setservername command. I bet that this command actually tries to retrieve the domain from the servername, hench why it would not work.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 05-14-2010, 12:22 PM
  2. [SOLVED] newbie 101: what OS to install...
    By carboncow in forum Installation
    Replies: 9
    Last Post: 04-15-2009, 06:04 PM
  3. Zimbra Calendar API - newbie questions
    By saki in forum Developers
    Replies: 2
    Last Post: 01-16-2009, 10:45 AM
  4. newbie question: use zimbra without mail functionality
    By muehlibane in forum Administrators
    Replies: 5
    Last Post: 06-15-2007, 12:16 AM
  5. Newbie: Server configuration
    By bytehunter in forum Installation
    Replies: 3
    Last Post: 06-20-2006, 11:02 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
  •