Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-25-2007, 11:43 AM
Loyal Member
 
Posts: 88
Default [SOLVED] 5.0 rc1 admin interface fails to start on RHEL5

Hi:

Trying to get 5.0 up for eval here on RHEL 5.

The install went cleanly, but the admin interface (port 7071) doesn't start.

Not sure where to start debugging.

zmcontrol status
Host zstore.usg.tufts.edu
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running
mta Running
snmp Running
spell Running
stats Stopped

Is this noteworthy:

[root@zstore log]# more zmmailboxd.out
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Reply With Quote
  #2 (permalink)  
Old 10-25-2007, 11:44 AM
Former Zimbran
 
Posts: 5,606
Default

What does:
[zimbra@jhtest ~]$ zmlocalconfig | grep heap

and how much memory do you have?
Reply With Quote
  #3 (permalink)  
Old 10-25-2007, 12:00 PM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by jholder View Post
What does:
[zimbra@jhtest ~]$ zmlocalconfig | grep heap

and how much memory do you have?
mailboxd_java_heap_memory_percent = 52

we've got 4GB:
MemTotal: 4025192 kB

I also noticed there's nothing listening on port 80. I assume it's all related?
Reply With Quote
  #4 (permalink)  
Old 10-25-2007, 12:07 PM
Former Zimbran
 
Posts: 5,606
Default

Yeah, if mailbox can't start, then nothing will bind to any ports.

Try
zmlocalconfig -e mailboxd_java_heap_memory_percent=65
Reply With Quote
  #5 (permalink)  
Old 10-25-2007, 12:12 PM
Loyal Member
 
Posts: 88
Default

no luck.

zmlocalconfig | grep heap
mailboxd_java_heap_memory_percent = 65


Host zstore.usg.tufts.edu
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running
mta Running
snmp Running
spell Running
stats Stopped

Last edited by jeffw; 10-25-2007 at 12:15 PM..
Reply With Quote
  #6 (permalink)  
Old 10-25-2007, 12:13 PM
Former Zimbran
 
Posts: 5,606
Default

did you try starting the mailbox service?

zmmailboxdctl start

Is there anything you're leaving out? odd installation, OS, RAM, HD, etc?
Reply With Quote
  #7 (permalink)  
Old 10-25-2007, 12:16 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Is this server a real machine or a VM?
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 10-25-2007, 12:18 PM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by jholder View Post
did you try starting the mailbox service?

zmmailboxdctl start

Is there anything you're leaving out? odd installation, OS, RAM, HD, etc?
I tried a full stop/start and that didn't seem to help. zmmailboxdctl start
also failed to start it.

I didn't install the OS, but AFAIK it's pretty vanilla.

Only odd thing I see is that it looks like mysql is using a good amount of VM:

Code:
top - 15:17:20 up  5:12,  2 users,  load average: 0.19, 0.25, 0.26
Tasks: 134 total,   1 running, 133 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.1%sy,  0.0%ni, 99.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   4025192k total,  2969280k used,  1055912k free,    95976k buffers
Swap:  4192880k total,        0k used,  4192880k free,  2463340k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                       
13646 zimbra    18   0 1775m 149m 2536 S    2  3.8   0:01.60 mysqld
Reply With Quote
  #9 (permalink)  
Old 10-25-2007, 01:26 PM
Loyal Member
 
Posts: 88
Default

Setting mailboxd_java_heap_memory_percent=30 will allow it to start and top looks like this now:

Code:
top - 16:21:52 up  6:17,  2 users,  load average: 0.30, 0.28, 0.27
Tasks: 136 total,   1 running, 135 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   4025192k total,  3082476k used,   942716k free,   106420k buffers
Swap:  4192880k total,        0k used,  4192880k free,  2463752k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                       
13646 zimbra    18   0 1775m 150m 3512 S    0  3.8   0:01.86 mysqld                                        
28767 zimbra    18   0 1417m 104m 7124 S    0  2.7   0:05.76 java                                          
13540 zimbra    18   0  114m  14m 3560 S    0  0.4   0:00.67 mysqld                                        
13357 zimbra    25   0  113m  14m 3000 S    0  0.4   0:00.53 slapd
It will also start at 35% but not 40%. At 35% it's java is using 1614m.
This feels like hitting the 2GB limit on a 32-bit binary. Could that be it?

-j
Reply With Quote
  #10 (permalink)  
Old 10-25-2007, 01:28 PM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by phoenix View Post
Is this server a real machine or a VM?
It's real.

I'm guessing it's a 32-bit memory limit (see below). Perhaps a bug in whatever is picking a value for mailboxd_java_heap_memory_percent ?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.