Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: zmcontrol status returns "Cannot determine services - exiting"

  1. #11
    TMH
    TMH is offline Junior Member
    Join Date
    Jun 2007
    Posts
    9
    Rep Power
    7

    Default

    [root@bosch zcs]# host `hostname`
    Host bosch not found: 3(NXDOMAIN)

    No idea why it says this, it's in my hosts file.


    [root@bosch zcs]# dig steve.ac

    ; <<>> DiG 9.2.4 <<>> steve.ac
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7640
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;steve.ac. IN A

    ;; ANSWER SECTION:
    steve.ac. 14096 IN A 207.210.111.143

    ;; Query time: 0 msec
    ;; SERVER: 207.210.84.124#53(207.210.84.124)
    ;; WHEN: Mon Jun 11 10:06:12 2007
    ;; MSG SIZE rcvd: 42


    [root@bosch zcs]# dig steve.ac mx

    ; <<>> DiG 9.2.4 <<>> steve.ac mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30292
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;steve.ac. IN MX

    ;; ANSWER SECTION:
    steve.ac. 14073 IN MX 2 bosch.steve.ac.
    steve.ac. 14073 IN MX 1 steve.ac.

    ;; Query time: 3 msec
    ;; SERVER: 207.210.84.124#53(207.210.84.124)
    ;; WHEN: Mon Jun 11 10:06:45 2007
    ;; MSG SIZE rcvd: 64


    The Java errors are still in my zmsetup log. I'm just going to make some calls and see if someone was lying to me about the amount of RAM on this box. If they were, I can probably get a 512mb VPS slot, would that do? This box only has to serve a few users for now.

    free reports this:
    [root@bosch zcs]# free -m
    total used free shared buffers cached
    Mem: 1024 20 1003 0 0 0
    -/+ buffers/cache: 20 1003
    Swap: 0 0 0

    Of course, I doubt this box uses 20mb of RAM, so I suspect free is lying to me.

  2. #12
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    The DNS should be OK. I have a feeling that there's something wrong with the amount of memory you have. As I said, 1GB is more than enough to get Zimbra running - you can get it working on 512MB but more is better.

    You can check the amount of memory in the various settings with 'zmlocalconfig | grep mem' run as the Zimbra user. What's the output from that?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #13
    TMH
    TMH is offline Junior Member
    Join Date
    Jun 2007
    Posts
    9
    Rep Power
    7

    Default

    [zimbra@bosch ~]$ zmlocalconfig | grep mem
    mysql_memory_percent = 30
    tomcat_java_heap_memory_percent = 40


    I haven't received a response back from the server guys yet.

  4. #14
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Looks like this is the problem:
    Code:
    Could not create the Java virtual machine.
    Typically, this type of problem is caused by low RAM/not enough memory.

    You can try to increase the amount allocated to tomcat by running:
    Code:
    zmlocalconfig -e tomcat_java_heap_memory_percent=50
    Also, check top (if free -m is lying) to see what it says the free memory is.
    You can:
    Code:
    ps auxx
    to see what's running and kill anything that you don't need.

    Good luck,
    jh

  5. #15
    TMH
    TMH is offline Junior Member
    Join Date
    Jun 2007
    Posts
    9
    Rep Power
    7

    Default

    Apparently there is 256mb on this VPS. Fantastic. I bet it'll work when I can get them to upgrade it.

    Thanks for your help everyone.

  6. #16
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    VPS probably doesn't give you enough contiguous ram to initialize the JVM ("Could not reserve enough space for object heap").

    "support4.liquidsys.com" is the hostname of the machine here used to compile the build of slapd (and the rest of 32-bit RHEL ZCS I guess) in this release.

    DNS tools (such as dig) and some zimbra services will use DNS exclusively. Some tools (such as ping) will work through the "hosts:" entries in /etc/nsswitch.conf.

  7. #17
    natrixgli's Avatar
    natrixgli is offline Loyal Member
    Join Date
    Jul 2006
    Location
    Milwaukee, Wisconsin
    Posts
    81
    Rep Power
    8

    Default

    Quote Originally Posted by TMH View Post
    Another interesting observation that I have made:

    In my zmsetup.log, there are a number of messages that go along these lines:

    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.

    I asked in ##java on freenode, and apparently this means the virtual machine has a set size of memory that there wasn't enough space for. This is odd, as I have 1gb of memory on this machine.

    Could the above messages mean that the installation did not actually proceed properly? It would make sense, given that it is mentioning modules that I did not select.

    I don't know if anyone helped with this, but I just got Zimbra running on a VPS and had the same problem as you.

    The problem is that Java looks at the total memory in the machine, not just the amount allocated to your VPS/node. So you have to change the maximum memory to a smaller percentage (basically divide by the number of VPS on your node.) To find out the total amount of memory in your VPS use the command:

    Code:
    cat /proc/meminfo
    Chances are you will need to change the java memory limit (and MySQL) to around 10-15% to stay within allowable limits on your VPS.

    I know there's not a lot of help out there for running Zimbra on VPS, I don't think it's quite caught on but I am up and running now at 126 users, all of whom are using the web client. (maybe 30-40 at a time max.)

    I probably should have gone with a dedicated server, but we're non-profit and thus cheaper is better. ($70/mo vs. $200+/mo)



    -n8

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mysql.server is not running
    By Oswald-Kolle in forum Installation
    Replies: 27
    Last Post: 05-01-2007, 08:28 AM
  2. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  3. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 11:01 AM
  4. Upgrade Trouble woooo
    By RobertW in forum Installation
    Replies: 3
    Last Post: 06-15-2006, 05:24 PM
  5. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 05:30 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
  •