Announcement

Collapse
No announcement yet.

Total N00b question, regsiter server is going to 0.0.0.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Total N00b question, regsiter server is going to 0.0.0.1

    When i try /opt/open-xchange/sbin# /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P *****

    i get
    server could not be registered:
    Server response:
    Exception creating connection to: 0.0.0.1; nested exception is:
    java.net.SocketException: Invalid argument or cannot assign requested address

    I am not a system admin or a network guy, heck this is the first time i am using ubuntu. so let me know how i can fix this issue. I really want to use Ope-Xchange for my office, if i can prove it to my boss that it works..

  • #2
    Check your /etc/hosts for a line containing
    Code:
    127.0.0.1     localhost
    If it isn't there, please do change it accordingly.

    Regards
    Sven

    Comment


    • #3
      Thank you very much for your quick response.

      I have installed a fresh version of Ubuntu just to try open exchange, no other package is present, even when i tried to install open exhcange it said that the online help package was incorrect, i removed that when i installed.

      Here are the contents of my hosts file
      127.0.0.1 localhost
      127.0.0.1 001

      # 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

      May be i need to configure something else before hand to show that it should take 127.0.0.1 instead of 0.0.0.1...

      Thanks for helping out

      Comment


      • #4
        sudo apt-get install open-xchange-online-help-en
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        Package open-xchange-online-help-en is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or
        is only available from another source
        However the following packages replace it:
        open-xchange-online-help-he-en
        E: Package open-xchange-online-help-en has no installation candidate

        Comment


        • #5
          Hello prashanthk,

          Code:
          Here are the contents of my hosts file
          127.0.0.1 localhost
          127.0.0.1 001
          The content syntax is like
          Code:
          IP-Address  full-hostname hostname
          127.0.0.1  localhost
          The IP-address should be unique in this file and the ip-address 127.0.0.1 is reserved for localhost, which means loopback to itself.
          the second line doesn't make sense, because it would be the second entry for localhost and as your server says
          Exception creating connection to: 0.0.0.1; nested exception is:
          java.net.SocketException: Invalid argument or cannot assign requested address
          it does not exist. So delete the line with 001 or - if you need it - give it a different address (like 127.0.0.2 or 127.0.0.3 whatever you want)

          CU Popeye

          BTW: look for RFC1035, RFC1035 and RFC1178 in the Internet, this will answer your questions in-depth

          Comment


          • #6
            I removed the line from the hosts file

            I still get the same error

            server could not be registered:
            Server response:
            Exception creating connection to: 0.0.0.1; nested exception is:
            java.net.SocketException: Invalid argument or cannot assign requested address

            May be i need to change something else, i followed the quick install guide throughly..


            Is this the proper command
            /opt/open-xchange/sbin/registerserver -n 127.0.0.1 -A oxadminmaster -P admin_master_password

            ?
            Last edited by prashanthk; 11-04-2008, 09:16 AM.

            Comment

            Working...
            X