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

    Default /opt/open-xchange/sbin/registerserver doesnt work

    Hello,

    I have setup now but it stops working @
    /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password

    with the following message

    /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh: line 7: -Xmx100m: command not found
    /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh: line 12: -Xmx50m: command not found
    server could not be registered:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused

    The complete thing:

    root@server:/var/cache/debconf# /opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a -i
    initializing configdb from scratch... done
    root@server:/var/cache/debconf# /opt/open-xchange/sbin/oxinstaller --servername=oxserver --configdb-pass=db_password \
    > --master-pass=admin_master_password --ajp-bind-port=localhost
    setting up groupware configuration /opt/open-xchange/etc/groupware
    ..................................................
    groupware daemon must now be restarted if already running
    setting up admin daemon configuration /opt/open-xchange/etc/admindaemon
    ......................
    *** RMI authentication is enabled
    using oxadminmaster as master account
    admin daemon must now be restarted if already running
    root@server:/var/cache/debconf# /etc/init.d/open-xchange-admin start
    Starting Open-Xchange Admin Daemon: open-xchange-admin.
    root@server:/var/cache/debconf# /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password
    /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh: line 7: -Xmx100m: command not found
    /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh: line 12: -Xmx50m: command not found
    server could not be registered:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    this looks pretty strange because those scriptconf files only contain startup parameters for the ox applications. I guess you have not touched those files (please post them here) so could it be that you're using another shell than bash?

    Greetings

  3. #3
    danisahne Guest

    Default

    Hi

    I have not touched those files and I use bash

    Thx Bye

  4. #4
    danisahne Guest

    Default

    A I had to use " " but now

    root@server:/home/daniel/# /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password
    server could not be registered:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused

  5. #5
    danisahne Guest

    Default

    works!!!!!

  6. #6
    fibrepunk Guest

    Default

    hmm I am getting this error too.....


    -------------------------------------------------------------------------------------------------
    [root@www ~]# /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password
    /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh: line 8: -Xmx100m: command not found
    /opt/open-xchange/etc/admindaemon/ox-admin-scriptconf.sh: line 9: -Xmx50m: command not found
    server could not be registered:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused

  7. #7
    fibrepunk Guest

    Default

    Thanks to danisahne... on the ox-admin-scriptconf.sh, it needed the quotes! Did the trick..

    vi ox-admin-scriptconf.sh and put in the " "
    ----------------------------------------------------------------------------------------------------------------
    JAVA_XTRAOPTS="-Xms100m -Xmx100m -XX:+UseConcMarkSweepGC -XX:NewSize=50m -XX:MaxNewSize=50m -XX:SurvivorRatio=6"
    JAVA_OXCMD_OPTS="-Xms50m -Xmx50m -XX:+UseConcMarkSweepGC -XX:NewSize=25m -XX:MaxNewSize=25m -XX:SurvivorRatio=6
    -Djava.net.preferIPv4Stack=true"
    -------------------------------------------------------------------------------------------------------------


    Now time to work on this....
    =================================
    server could not be registered:
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused
    =================================

  8. #8
    linux87 Guest

    Default

    I have the issue too. How I can solve this ? I tried to install OX on CentOS 5.4, Sun Java 1.5.0.15.

    Thanks

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
  •