Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 6 of 6
  1. #1
    prashanthk Guest

    Default 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. #2
    Join Date
    Jul 2008
    Location
    Hamburg, Germany
    Posts
    50

    Default

    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

  3. #3
    prashanthk Guest

    Default

    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

  4. #4
    prashanthk Guest

    Default

    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

  5. #5
    Join Date
    Jul 2007
    Location
    Bern - Switzerland
    Posts
    27

    Default

    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

  6. #6
    prashanthk Guest

    Default

    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 at 09:16 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •