Error install on Mac OS X

Ask questions about your setup or get help installing ZCS server (ZD section below).
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Error install on Mac OS X

Postby marcmac » Sun Nov 20, 2005 2:35 pm

Anything in /var/log/zimbra.log after that?


fozzy
Posts: 7
Joined: Fri Sep 12, 2014 10:00 pm

Error install on Mac OS X

Postby fozzy » Sun Nov 20, 2005 6:28 pm

I'm having the exact same issues as pcoleman. There's a lot in zimbra.log, but nothing related to tomcat. When I run status, all services are running except mailbox.
I also noticed that tomcat was running for maybe half a minute and stopped shortly after zmcontrol start was completed.
Here's an excerpt from zimbra.log. The last 100 lines or so are just related to amavis, and no errors seem present there.
Any ideas? Thanks much.
Nov 20 18:20:43 macmini clamd[15901]: Self checking every 1800 seconds.
Nov 20 18:20:57 macmini postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.2.3/conf/main.cf

Nov 20 18:20:57 macmini postfix/postfix-script: starting the Postfix mail system

Nov 20 18:20:57 macmini postfix/master[16017]: daemon started -- version 2.2.3, configuration /opt/zimbra/postfix-2.2.3/conf

Nov 20 18:20:58 macmini zimbramon[15705]: 15705:info: Starting snmp

marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Error install on Mac OS X

Postby marcmac » Sun Nov 20, 2005 6:39 pm

Which java version? Anything in /opt/zimbra/tomcat/log/catalina.out?
939pcoleman
Posts: 37
Joined: Fri Sep 12, 2014 10:00 pm

Error install on Mac OS X

Postby 939pcoleman » Sun Nov 20, 2005 6:43 pm

Hi again,
Like fozzy I have nothing much in the log file. This has repeated for the last 4 hours over and over....
Nov 20 19:30:07 patrick-colemans-powerbook zimbramon[7735]: 7735:info: 2005-11-20 19:30:01, QUEUE: 0 0
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS:patrick-colemans-powerbook.local: antispam: Running
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: antivirus: Running
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: ldap: Running
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: logger: Stopped
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: mailbox: Stopped
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: mta: Running
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: snmp: Running
Nov 20 19:30:22 patrick-colemans-powerbook zimbramon[7737]: 7737:info: 2005-11-20 19:30:02, STATUS: patrick-colemans-powerbook.local: spell: Running
Nov 20 19:30:22 patrick-colemans-powerbook postfix/postdrop[7835]: warning: unable to look up public/pickup: No such file or directory
What does that last line mean?
Thanks.
Pat.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Error install on Mac OS X

Postby marcmac » Sun Nov 20, 2005 7:32 pm

Anything in /opt/zimbra/tomcat/logs/catalina.out? If tomcat won't start, it's probably a java version problem.
939pcoleman
Posts: 37
Joined: Fri Sep 12, 2014 10:00 pm

Error install on Mac OS X

Postby 939pcoleman » Sun Nov 20, 2005 7:45 pm

Well there was nothing there right after the last attempt to start.

These were the last few lines..at 2:32pm
Nov 20, 2005 2:32:18 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive service.war

log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).

log4j:WARN Please initialize the log4j system properly.

Zimbra server reserving server socket port=110 bindaddr=null

Zimbra server reserving server socket port=995 bindaddr=null

Zimbra server reserving server socket port=143 bindaddr=null

Zimbra server reserving server socket port=993 bindaddr=null

Zimbra server process is running as root, changing to user=zimbra uid=502 gid502

Zimbra server process, after change, is running with uid=502 euid=502 gid=502 egid=502


Now I looked again and see..at 2:57pm
Nov 20, 2005 2:57:17 PM org.apache.coyote.http11.Http11Protocol init

SEVERE: Error initializing endpoint

java.net.BindException: Permission denied:80

at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)

at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)

at org.apache.catalina.connector.Connector.initialize(Connector.java:918)

at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)

at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)

at org.apache.catalina.startup.Catalina.load(Catalina.java:490)

at org.apache.catalina.startup.Catalina.load(Catalina.java:509)

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:585)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)

Nov 20, 2005 2:57:17 PM org.apache.catalina.startup.Catalina load

SEVERE: Catalina.start
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Error install on Mac OS X

Postby marcmac » Sun Nov 20, 2005 8:00 pm

Looks like we're having trouble binding to port 80 for some reason.
Is there another web server running on this box? If so, shut it down.
If there's no other web server running, try to telnet to port 80 - you should get connection refused. If you don't launchd is probably in the way, and listening to something on port 80. If that's the case, let me know what's in /System/Library/LaunchDaemons.
fozzy
Posts: 7
Joined: Fri Sep 12, 2014 10:00 pm

Error install on Mac OS X

Postby fozzy » Sun Nov 20, 2005 8:04 pm

to answer Marc's questions. I upgraded to java 1.5 and fixed the currentjdk soft link. Here's the end of my catalina.out:
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7

Nov 20, 2005 6:20:48 PM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Nov 20, 2005 6:20:53 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive service.war

log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).

log4j:WARN Please initialize the log4j system properly.

Zimbra server reserving server socket port=110 bindaddr=null

Zimbra server reserving server socket port=995 bindaddr=null

Zimbra server reserving server socket port=143 bindaddr=null

Zimbra server reserving server socket port=993 bindaddr=null

Zimbra server process is running as root, changing to user=zimbra uid=502 gid502

Zimbra server process, after change, is running with uid=502 euid=502 gid=502 egid=502


Thanks.
939pcoleman
Posts: 37
Joined: Fri Sep 12, 2014 10:00 pm

Error install on Mac OS X

Postby 939pcoleman » Sun Nov 20, 2005 8:41 pm

There is no other server running. Can't telnet to port 80.

and the contents of..

ls -l /System/Library/LaunchDaemons

total 240

-rw-r--r-- 1 root wheel 678 Mar 24 2005 bootps.plist

-rw-r--r-- 1 root wheel 495 Mar 20 2005 com.apple.KernelEventAgent.plist

-rw-r--r-- 1 root wheel 445 Mar 20 2005 com.apple.atrun.plist

-rw-r--r-- 1 root wheel 447 Mar 20 2005 com.apple.mDNSResponder.plist

-rw-r--r-- 1 root wheel 437 Mar 20 2005 com.apple.nibindd.plist

-rw-r--r-- 1 root wheel 579 Mar 20 2005 com.apple.periodic-daily.plist

-rw-r--r-- 1 root wheel 623 Mar 20 2005 com.apple.periodic-monthly.plist

-rw-r--r-- 1 root wheel 625 Mar 20 2005 com.apple.periodic-weekly.plist

-rw-r--r-- 1 root wheel 524 Mar 26 2005 com.apple.portmap.plist

-rw-r--r-- 1 root wheel 516 Mar 20 2005 com.apple.syslogd.plist

-rw-r--r-- 1 root wheel 574 Mar 20 2005 com.apple.xgridagentd.plist

-rw-r--r-- 1 root wheel 594 Mar 20 2005 com.apple.xgridcontrollerd.plist

-rw-r--r-- 1 root wheel 516 Mar 20 2005 com.vix.cron.plist

-rw-r--r-- 1 root wheel 628 Mar 26 2005 comsat.plist

-rw-r--r-- 1 root wheel 1052 Mar 20 2005 eppc.plist

-rw-r--r-- 1 root wheel 578 Mar 20 2005 exec.plist

-rw-r--r-- 1 root wheel 682 Mar 20 2005 finger.plist

-rw-r--r-- 1 root wheel 671 Mar 20 2005 ftp.plist

-rw-r--r-- 1 root wheel 581 Mar 20 2005 login.plist

-rw-r--r-- 1 root wheel 675 Mar 24 2005 nmbd.plist

-rw-r--r-- 1 root wheel 627 Mar 20 2005 ntalk.plist

-rw-r--r-- 1 root wheel 446 Mar 20 2005 org.isc.named.plist

-rw-r--r-- 1 root wheel 566 Mar 20 2005 org.xinetd.xinetd.plist

-rw-r--r-- 1 root wheel 729 Mar 20 2005 printer.plist

-rw-r--r-- 1 root wheel 575 Mar 20 2005 shell.plist

-rw-r--r-- 1 root wheel 778 Mar 24 2005 smbd.plist

-rw-r--r-- 1 root wheel 858 Mar 20 2005 ssh.plist

-rw-r--r-- 1 root wheel 692 Mar 24 2005 swat.plist

-rw-r--r-- 1 root wheel 615 Mar 20 2005 telnet.plist

-rw-r--r-- 1 root wheel 715 Jul 17 07:25 tftp.plist
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Error install on Mac OS X

Postby marcmac » Mon Nov 21, 2005 9:17 am

Ok, so port 80 isn't being used.
Does this error appear if you start tomcat this way?
su - zimbra

/opt/zimbra/bin/tomcat start


And there's a zmtomcatstart entry in /etc/sudoers?

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: Baidu [Spider] and 8 guests