hi to all.....

Excuseme by my poor english, but we work in this problem more than 10 hours. We search in google, zimbra forums and zimbra wiki and we can't resolve this problem....

We have a Zimbra with little space of hard disk (the hard drive now is broken), and we have a backup with WinSCP (we belive that is the problem) to a machine with Windows. We remove the hard drive with opt and add a new hard drive. We copy all data to new hard drive, but when start zimbra don't start.

Code:
zimbra@opensource:~$ zmcontrol stop && zmcontrol start && zmcontrol status
Host opensource.antonio-oliver.com
	Stopping stats...Done.
	Stopping mta...Done.
	Stopping spell...Done.
	Stopping snmp...Done.
	Stopping cbpolicyd...Done.
	Stopping archiving...Done.
	Stopping antivirus...Done.
	Stopping antispam...Done.
	Stopping imapproxy...Done.
	Stopping memcached...Done.
	Stopping mailbox...Done.
	Stopping logger...Done.
	Stopping zmconfigd...Done.
	Stopping ldap...Done.
Host opensource.antonio-oliver.com
	Starting ldap...Done.
	Starting zmconfigd...Done.
	Starting logger...Done.
	Starting mailbox...Done.
	Starting snmp...Done.
	Starting spell...Done.
	Starting mta...Done.
	Starting stats...Done.
Host opensource.antonio-oliver.com
	ldap                    Running
	logger                  Running
	mailbox                 Stopped
		mysql.server is not running.
	mta                     Running
	snmp                    Running
	spell                   Running
	stats                   Stopped
	zmconfigd               Stopped
		zmconfigd is not running.
We serarch in the log and only found this error in

Code:
zimbra@opensource:~/log$ tail -f zmmailboxd.out

CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Total time for which application threads were stopped: 0.0000720 seconds
Total time for which application threads were stopped: 0.0000850 seconds
Zimbra server reserving server socket port=143 bindaddr=null ssl=false
Zimbra server reserving server socket port=993 bindaddr=null ssl=true
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
Total time for which application threads were stopped: 0.0123930 seconds
JettyMonitor monitoring thread pool org.mortbay.thread.BoundedThreadPool@30296f76
2055 INFO  [main] log - Setting umask=027
2056 INFO  [main] log - Current rlimit_nofiles (soft=524288, hard=524288)
2056 INFO  [main] log - Set rlimit_nofiles (soft=65536, hard=65536)
2056 INFO  [main] log - Setting GID=1001
2057 INFO  [main] log - Setting UID=1001
2057 INFO  [main] log - jetty-6.1.22.z6
2411 INFO  [main] log - No Transaction manager found - if your webapp requires one, please configure one.
Total time for which application threads were stopped: 0.0026710 seconds
### Excluding compile: org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher::dispatch
Zimbra server process is running as uid=1001 euid=1001 gid=1001 egid=1001
3404 FATAL [main] system - Unable to initialize servlet ExtensionDispatcherServlet; halting
javax.servlet.ServletException: Invalid port number "%%zimbraMailPort%%" in allowed.ports parameter
	at com.zimbra.cs.servlet.ZimbraServlet.init(ZimbraServlet.java:138)
	at javax.servlet.GenericServlet.init(GenericServlet.java:241)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1254)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:471)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.handler.DebugHandler.doStart(DebugHandler.java:127)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServer.java:158)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.mortbay.start.Main.invokeMain(Main.java:194)
	at org.mortbay.start.Main.start(Main.java:534)
	at org.mortbay.start.Main.start(Main.java:441)
	at org.mortbay.start.Main.main(Main.java:119)
Total time for which application threads were stopped: 0.0002320 seconds
Heap
 def new generation   total 288512K, used 51757K [0x00000000a9a00000, 0x00000000bd300000, 0x00000000bd300000)
  eden space 256512K,  20% used [0x00000000a9a00000, 0x00000000acc8b790, 0x00000000b9480000)
  from space 32000K,   0% used [0x00000000b9480000, 0x00000000b9480000, 0x00000000bb3c0000)
  to   space 32000K,   0% used [0x00000000bb3c0000, 0x00000000bb3c0000, 0x00000000bd300000)
 concurrent mark-sweep generation total 963584K, used 0K [0x00000000bd300000, 0x00000000f8000000, 0x00000000f8000000)
 concurrent-mark-sweep perm gen total 131072K, used 17124K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Total time for which application threads were stopped: 0.0000720 seconds
Total time for which application threads were stopped: 0.0000860 seconds
Zimbra server reserving server socket port=143 bindaddr=null ssl=false
Zimbra server reserving server socket port=993 bindaddr=null ssl=true
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
Total time for which application threads were stopped: 0.0310700 seconds
JettyMonitor monitoring thread pool org.mortbay.thread.BoundedThreadPool@7455d93d
2040 INFO  [main] log - Setting umask=027
2041 INFO  [main] log - Current rlimit_nofiles (soft=524288, hard=524288)
2041 INFO  [main] log - Set rlimit_nofiles (soft=65536, hard=65536)
2041 INFO  [main] log - Setting GID=1001
2046 INFO  [main] log - Setting UID=1001
2046 INFO  [main] log - jetty-6.1.22.z6
2389 INFO  [main] log - No Transaction manager found - if your webapp requires one, please configure one.
Total time for which application threads were stopped: 0.0187960 seconds
### Excluding compile: org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher::dispatch
Total time for which application threads were stopped: 0.0002200 seconds
Total time for which application threads were stopped: 0.0001330 seconds
Zimbra server process is running as uid=1001 euid=1001 gid=1001 egid=1001
62979 FATAL [main] system - Unable to initialize servlet ExtensionDispatcherServlet; halting
javax.servlet.ServletException: Invalid port number "%%zimbraMailPort%%" in allowed.ports parameter
	at com.zimbra.cs.servlet.ZimbraServlet.init(ZimbraServlet.java:138)
	at javax.servlet.GenericServlet.init(GenericServlet.java:241)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1254)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:471)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.handler.DebugHandler.doStart(DebugHandler.java:127)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServer.java:158)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.mortbay.start.Main.invokeMain(Main.java:194)
	at org.mortbay.start.Main.start(Main.java:534)
	at org.mortbay.start.Main.start(Main.java:441)
	at org.mortbay.start.Main.main(Main.java:119)
Total time for which application threads were stopped: 0.0026030 seconds
Heap
 def new generation   total 288512K, used 51748K [0x00000000a9a00000, 0x00000000bd300000, 0x00000000bd300000)
  eden space 256512K,  20% used [0x00000000a9a00000, 0x00000000acc89330, 0x00000000b9480000)
  from space 32000K,   0% used [0x00000000b9480000, 0x00000000b9480000, 0x00000000bb3c0000)
  to   space 32000K,   0% used [0x00000000bb3c0000, 0x00000000bb3c0000, 0x00000000bd300000)
 concurrent mark-sweep generation total 963584K, used 0K [0x00000000bd300000, 0x00000000f8000000, 0x00000000f8000000)
 concurrent-mark-sweep perm gen total 131072K, used 17116K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000)
CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Total time for which application threads were stopped: 0.0000730 seconds
Total time for which application threads were stopped: 0.0000670 seconds
Zimbra server reserving server socket port=143 bindaddr=null ssl=false
Zimbra server reserving server socket port=993 bindaddr=null ssl=true
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
JettyMonitor monitoring thread pool org.mortbay.thread.BoundedThreadPool@7455d93d
1277 INFO  [main] log - Setting umask=027
1278 INFO  [main] log - Current rlimit_nofiles (soft=524288, hard=524288)
1278 INFO  [main] log - Set rlimit_nofiles (soft=65536, hard=65536)
1278 INFO  [main] log - Setting GID=1001
1278 INFO  [main] log - Setting UID=1001
1278 INFO  [main] log - jetty-6.1.22.z6
Total time for which application threads were stopped: 0.0074450 seconds
1487 INFO  [main] log - No Transaction manager found - if your webapp requires one, please configure one.
### Excluding compile: org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher::dispatch
Total time for which application threads were stopped: 0.0000930 seconds
Total time for which application threads were stopped: 0.0002040 seconds
Total time for which application threads were stopped: 0.0002020 seconds
Zimbra server process is running as uid=1001 euid=1001 gid=1001 egid=1001
15618 FATAL [main] system - Unable to initialize servlet ExtensionDispatcherServlet; halting
javax.servlet.ServletException: Invalid port number "%%zimbraMailPort%%" in allowed.ports parameter
	at com.zimbra.cs.servlet.ZimbraServlet.init(ZimbraServlet.java:138)
	at javax.servlet.GenericServlet.init(GenericServlet.java:241)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
	at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1254)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:471)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.handler.DebugHandler.doStart(DebugHandler.java:127)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServer.java:158)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.mortbay.start.Main.invokeMain(Main.java:194)
	at org.mortbay.start.Main.start(Main.java:534)
	at org.mortbay.start.Main.start(Main.java:441)
	at org.mortbay.start.Main.main(Main.java:119)
Total time for which application threads were stopped: 0.0026020 seconds
Heap
 def new generation   total 288512K, used 51757K [0x00000000a9a00000, 0x00000000bd300000, 0x00000000bd300000)
  eden space 256512K,  20% used [0x00000000a9a00000, 0x00000000acc8b740, 0x00000000b9480000)
  from space 32000K,   0% used [0x00000000b9480000, 0x00000000b9480000, 0x00000000bb3c0000)
  to   space 32000K,   0% used [0x00000000bb3c0000, 0x00000000bb3c0000, 0x00000000bd300000)
 concurrent mark-sweep generation total 963584K, used 0K [0x00000000bd300000, 0x00000000f8000000, 0x00000000f8000000)
 concurrent-mark-sweep perm gen total 131072K, used 17120K [0x00000000f8000000, 0x0000000100000000, 0x0000000100000000
We show the same problem in the post: http://www.zimbra.com/forums/adminis...-brazil-2.html

We reinstall Zimbra two times and reboot the server..... we launch zmfixperms and postfix set-permissions, but not solved the problem... and we check the hosts, hostname, dns, etc.... and all is OK