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 08-29-2009, 12:07 PM
Active Member
 
Posts: 37
Default Ubuntu 8.0.4 x64 IO::Socket::INET: error

I have a new install of Ubuntu 8.0.4 with dns resolving correctly but everytime I run the install of zimbra 5.0.18 it errors out with the IO error....any clues?

Code:
Sat Aug 29 13:55:27 2009 done.
Sat Aug 29 13:55:27 2009 checking isEnabled zimbra-ldap
Sat Aug 29 13:55:27 2009 zimbra-ldap is enabled
Sat Aug 29 13:55:27 2009 Initializing ldap...
Sat Aug 29 13:55:27 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 160.
Sat Aug 29 13:56:14 2009 failed. (28416)
Sat Aug 29 13:56:14 2009
Thanks
__________________
Clay
Reply With Quote
  #2 (permalink)  
Old 08-29-2009, 12:29 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by clayway View Post
I have a new install of Ubuntu 8.0.4 with dns resolving correctly
Let's confirm that first with the output of the following commands (run on the zimbra server), please post the output here:

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com any
host `hostname`  <-- use that exact command with backticks not single quotes
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 08-29-2009, 01:02 PM
Active Member
 
Posts: 37
Default

results

Code:
root@webmail:/_download# cat /etc/hosts
127.0.0.1       localhost.localdomain   localhost
10.1.41.2       webmail.hharchitects.com        webmail

root@webmail:/_download# cat /etc/resolv.conf
nameserver 10.1.41.2
root@webmail:/_download# dig hharchitects.com MX

; <<>> DiG 9.4.2-P2 <<>> hharchitects.com MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49791
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;hharchitects.com.              IN      MX

;; ANSWER SECTION:
hharchitects.com.       86400   IN      MX      10 webmail.hharchitects.com.

;; AUTHORITY SECTION:
hharchitects.com.       86400   IN      NS      webmail.hharchitects.com.

;; ADDITIONAL SECTION:
webmail.hharchitects.com. 86400 IN      A       10.1.41.2

;; Query time: 0 msec
;; SERVER: 10.1.41.2#53(10.1.41.2)
;; WHEN: Sat Aug 29 14:58:38 2009
;; MSG SIZE  rcvd: 88

root@webmail:/_download# dig hharchitects.com any

; <<>> DiG 9.4.2-P2 <<>> hharchitects.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11413
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
hharchitects.com.       86400   IN      SOA     webmail.hharchitects.com. root.hharchitects.com. 2009082901 604800 86400 2419200 604800
hharchitects.com.       86400   IN      NS      webmail.hharchitects.com.
hharchitects.com.       86400   IN      MX      10 webmail.hharchitects.com.
hharchitects.com.       86400   IN      A       10.1.41.2

;; ADDITIONAL SECTION:
webmail.hharchitects.com. 86400 IN      A       10.1.41.2

;; Query time: 0 msec
;; SERVER: 10.1.41.2#53(10.1.41.2)
;; WHEN: Sat Aug 29 14:58:42 2009
;; MSG SIZE  rcvd: 145

root@webmail:/_download# host `hostname`
Host webmail not found: 3(NXDOMAIN)
__________________
Clay

Last edited by clayway; 08-29-2009 at 01:16 PM..
Reply With Quote
  #4 (permalink)  
Old 08-30-2009, 12:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Well, the DNS all looks correct with one minor change. The resolv.conf doesn't have a search statement in it:

Quote:
Originally Posted by clayway View Post
root@webmail:/_download# cat /etc/resolv.conf
search hharchitects.com
nameserver 10.1.41.2
The following is of more concern.

Quote:
Originally Posted by clayway View Post
root@webmail:/_download# host `hostname`
Host webmail not found: 3(NXDOMAIN)
[/code]
As the DNS is all correct, this should return the IP of your Zimbra server. I assume you have no firewall on this server and AppArmor is disabled? There was a problem on the forums recently with the BIND configuration files having tabs in them rather than spaces, could you check your BIND config and change any tabs to spaces and see if that makes any difference. There is also this problem, can you check the details of that as well.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 08-31-2009, 08:43 AM
Active Member
 
Posts: 37
Default

Thanks for the help Bill....

I renamed the host from webmail to server1 and fixed all files and rebooted and then all went as expected with the install.

I do have tabs in my bind config file, so I will check it. I plan to uninstall and reinstall again...just to make sure.
__________________
Clay
Reply With Quote
  #6 (permalink)  
Old 08-31-2009, 09:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by clayway View Post
Thanks for the help Bill....

I renamed the host from webmail to server1 and fixed all files and rebooted and then all went as expected with the install.
Glad it's all working for you.

Quote:
Originally Posted by clayway View Post
I do have tabs in my bind config file, so I will check it. I plan to uninstall and reinstall again...just to make sure.
I'm not sure how common this it but it had happened to one forum user, I seem to remember when I used BIND that I had tabs and it didn't cause me any problems. Occasionally there can be problems with unprintable characters in thing like the hosts file, now that does cause a problem. Anyway, enjoy your new install.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 08-31-2009, 09:27 PM
Active Member
 
Posts: 37
Default

Bill,

I figured out what my problem is/was with the IO::Socket error. I am testing ZCS 6 on Ubuntu with a ZFS filesystem. I have been using ZFS in freebsd for most of the year and wondered how zimbra would perform with a ZFS filesystem. I know ZFS is not supported/recommended...and obviously something hickups the installation.

If I do an install with a ext3 and just tonight a jfs filesystem, the install works flawlessly, but as soon as I mount a ZFS pool for the /opt directory, I get the IO::Socket::INET error....I have no clue why a ZFS filesystem would cause that...but it does not do it when /opt is a jfs or ext3 filesystem....I noticed in an earlier post you prefer xfs...which I have not tried either.

Anyway...thanks again for the reply...
__________________
Clay
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.