Announcement

Collapse
No announcement yet.

Trying to register a new Server

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

  • Trying to register a new Server

    Hello

    I'm trying to register a new server on a new installation of debian etch on a virtual server. Following to the how to I tried

    Code:
    /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P admin_master_password
    Then I get

    Code:
    Error occurred during initialization of VM
    CMSMarkStack allocation failure
    Have anyone a clue what I can do?

    Thanks for help

    moe

  • #2
    Hi,

    how many RAM does your virtual server have? What Java version do you use?

    Greetings

    Comment


    • #3
      Hi Martin

      Java version is
      Code:
      java -version
      java version "1.5.0_14"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
      and Ram is
      Code:
      free -m
                   total       used       free     shared    buffers     cached
      Mem:           768        198        569          0          0          0
      -/+ buffers/cache:        198        569
      at the time when no groupware or admin server is started.

      It's a virtual server with 768MB.

      Thanks for help

      moe

      Comment


      • #4
        Hi,

        Java and virtual servers are not the best match since vservers typically don't swap if the assigned java heap space is full. Some vservers are simply incompatible with Java at the guest system. You could try to set the default memory allocation to lower values.:

        /opt/open-xchange/etc/groupware/ox-scriptconf.sh
        /opt/open-xchange/etc/admindaemon/ox-scriptconf.sh

        The interesting settings are -Xmx150M at the admin and -Xmx512M at the groupware, just try to bisect those values and try again. Note, when executing registerserver only the admindaemon needs to run. This way you could save some extra memory. Otherwise, try to search the web for common Java problems on a vserver, there are plenty and some also have solutions.

        Greetings

        Comment


        • #5
          Ok thanks for help.

          I played a little with the values and finaly I got it work with -Xmx50m as only parameter.

          have a nice evening.

          moe

          Comment

          Working...
          X