Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-01-2009, 09:38 PM
Senior Member
 
Posts: 59
Default [SOLVED] ERROR LOG: Name or service not known

Sir;


If the error below appears, does it mean that I have configured my Zimbra wrong or that it's lacking some support for the said service?

How do I fix it?

Quote:
( tail -f /var/log/zimbra.log )

Mar 2 13:27:13 mail2 postfix/smtpd[4242]: warning: 159.177.14.95: hostname company1.com verification failed: Name or service not known
Reply With Quote
  #2 (permalink)  
Old 03-01-2009, 10:21 PM
Advanced Member
 
Posts: 193
Default

which ZImbra version you are using and OS?
__________________
Abhiz
http://abhishekamralkar.blogspot.com
Reply With Quote
  #3 (permalink)  
Old 03-01-2009, 10:54 PM
Senior Member
 
Posts: 59
Default

zimbra@mail2:/home/boss$ zmcontrol -v


Release 5.0.12_GA_2789.UBUNTU8 UBUNTU8 FOSS edition
Reply With Quote
  #4 (permalink)  
Old 03-02-2009, 01:05 AM
Moderator
 
Posts: 7,928
Default

You have something wrong with your system configuration so please post
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #5 (permalink)  
Old 03-02-2009, 08:44 PM
Senior Member
 
Posts: 59
Default

Quote:
Originally Posted by uxbod View Post
You have something wrong with your system configuration so please post
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
hosts, resolv.conf and DIG tests are okay now.

but what could be reason for this "hostname company1.com verification failed: Name or service not known"?
Reply With Quote
  #6 (permalink)  
Old 03-02-2009, 11:52 PM
Moderator
 
Posts: 7,928
Default

Please post the information I asked for so that we can validate it for you
__________________
Reply With Quote
  #7 (permalink)  
Old 03-03-2009, 02:19 AM
Senior Member
 
Posts: 59
Default

only this failed;

Quote:

admin@mail2:~$ host `hostname`
Host mail2 not found: 3(NXDOMAIN)
i tried adding an entry in the Reverse Lookup on the local DNS but same thing.

where am i wrong here?

this is the whole test result;

Quote:
admin@mail2:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.253 mail2.mydomain.net mail2 mail2.mydomain.net


# 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

================================================== ==============================

admin@mail2:~$ cat /etc/resolv.conf
nameserver 192.168.1.250


================================================== ===============================

admin@mail2:~$ dig mail2.mydomain.net mx

; <<>> DiG 9.4.2 <<>> mail2.mydomain.net mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39199
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;mail2.mydomain.net. IN MX

;; ANSWER SECTION:
mail2.mydomain.net. 3600 IN MX 12 mail2.mydomain.net.

;; ADDITIONAL SECTION:
mail2.mydomain.net. 3600 IN A 192.168.1.253

;; Query time: 0 msec
;; SERVER: 192.168.1.250#53(192.168.1.250)
;; WHEN: Tue Mar 3 17:37:24 2009
;; MSG SIZE rcvd: 70

================================================== ===============================

admin@mail2:~$ dig mail2.mydomain.net any

; <<>> DiG 9.4.2 <<>> mail2.mydomain.net any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31141
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;mail2.mydomain.net. IN ANY

;; ANSWER SECTION:
mail2.mydomain.net. 3600 IN A 192.168.1.253
mail2.mydomain.net. 3600 IN MX 12 mail2.mydomain.net.

;; ADDITIONAL SECTION:
mail2.mydomain.net. 3600 IN A 192.168.1.253

;; Query time: 0 msec
;; SERVER: 192.168.1.250#53(192.168.1.250)
;; WHEN: Tue Mar 3 17:37:27 2009
;; MSG SIZE rcvd: 86

===============================
Reply With Quote
  #8 (permalink)  
Old 03-03-2009, 02:44 AM
Moderator
 
Posts: 7,928
Default

Add to the top of /etc/resolv.conf
Code:
search mydomain.net
And change your /etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.253 mail2.mydomain.net mail2
__________________
Reply With Quote
  #9 (permalink)  
Old 03-03-2009, 03:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your DNS results are not correct. You should do a dig on the domain name not the FQDN of your server, like this:

Code:
dig mydomain.net mx
dig mydomain.net any
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 03-03-2009, 03:19 AM
Moderator
 
Posts: 7,928
Default

Doh! Missed that again Phoenix
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.