Results 1 to 7 of 7

Thread: Ubuntu 8.0.4 x64 IO::Socket::INET: error

  1. #1
    clayway's Avatar
    clayway is offline Active Member
    Join Date
    Feb 2007
    Location
    Dallas, TX
    Posts
    39
    Rep Power
    8

    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

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    clayway's Avatar
    clayway is offline Active Member
    Join Date
    Feb 2007
    Location
    Dallas, TX
    Posts
    39
    Rep Power
    8

    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)
    Last edited by clayway; 08-29-2009 at 01:16 PM.
    Clay

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    clayway's Avatar
    clayway is offline Active Member
    Join Date
    Feb 2007
    Location
    Dallas, TX
    Posts
    39
    Rep Power
    8

    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

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    clayway's Avatar
    clayway is offline Active Member
    Join Date
    Feb 2007
    Location
    Dallas, TX
    Posts
    39
    Rep Power
    8

    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Get emails out of zimbra or get it working again?
    By kingfeanor in forum Migration
    Replies: 9
    Last Post: 11-25-2008, 01:02 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 04:58 AM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01: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
  •