| 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.
|  | | 
12-04-2005, 08:37 PM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | little feedback so far on a couple of things i've noticed:
--
amavisd.patch produces hunk failure:
patching file amavisd
Hunk #2 succeeded at 262 (offset 2 lines).
Hunk #3 succeeded at 1029 with fuzz 1 (offset 1 line).
Hunk #4 succeeded at 6337 (offset 179 lines).
Hunk #5 FAILED at 7955.
Hunk #6 succeeded at 12829 (offset 475 lines).
1 out of 6 hunks FAILED -- saving rejects to file amavisd.rej (attached)
--
lots of symlinks fail because the link already exists - this sometimes doesnt matter, but sometimes does when version numbers change. we could use 'ln -sf' instead of 'ln -s' but i find that unreliable - better to use 'rm && ln -s'
--
Thirdparty/Postfix/Postfix-2.2.3 currently exists but install scripts expect 2.2.5
--
when running instal.sh
Checking for prerequisites...
NPTL...MISSING
NPTL is mostly a redhat-ism, although i'm sure more linux distros will use it in the future, nevertheless it's not useful for a portable source install. i disable this check by commenting out line 254 in ZimbraBuild/zcs/util/utilfunc.sh | 
12-04-2005, 10:08 PM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | Right, i guess java is important then
install process went better this time, although i had to change 'dpkg -i' to 'dpkg --force-overwrite -i' in util/utilfunc.sh because aspell package had some conflicts with apache package.
setup is now failing with tls error. if i start by hand with -d 1 , slapd says this:
TLS: could not load client CA list (file:`/opt/zimbra/conf/ca/ca.pem',dir:`').
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:644
main: TLS init def ctx failed: -1
logs attached | 
12-04-2005, 10:19 PM
| | Zimbra Employee | |
Posts: 4,792
| | Might want to try removing the tls/ssl stuff from slapd.conf. Just to see if that will get you going. | 
12-04-2005, 11:06 PM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | Thanks, that helped.
One problem, one request
request: mysql version currently mysql-standard-4.1.10a-pc-linux-gnu-i686. trouble is, this is a platform specific version which is not great for portable source install. further, this particular version is almost impossible to find on mysql.com, thus i've had to download 4.1.15, unpack, rename directory to 4.1.10a, repack and place where zimbra expects to find it. this version number is hardwired in several places through the build procedure.
problem: the source build of apache-httpd runs from the makefile in Thirdparty/apache-httpd, compiles, then packs the builds/ /httpd-2.0.54.tgz file. unfortunately this doesnt have the php module in it, so much later on after installation and setup you find this problem in the log files. its possible to build httpd, then build php, then rebuild httpd, but easier just postpone the packing until after php is built? | 
12-05-2005, 06:48 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | right, i have the installer and setup going seemingly without problem. as far as i can see all the processes are running, however looking at the box with a web browser on ports 80 and 7071 just hang, waiting for response. /opt/zimbra/bin/zimbra status reports some of the services not running:
antispam Stopped
antivirus Running
ldap Running
logger Stopped
mailbox Running
mta Stopped
snmp Stopped
spell Running
although both postfix and the mysql logger processes are running (amavis is not). is the status thingee maybe looking for specific version strings?
i've looked through all the logs in can find in various places, particularly /tmp and /var/log and /opt/zimbra/logs but can't see any obvious errors.
what now?  | 
12-05-2005, 09:10 AM
| | Zimbra Employee | |
Posts: 2,103
| | What's not running In general:
sh -x zmctl status will tell you what's not running.
If amavis isn't running, mta, antispam will show up as down.
If swatch is failing, logger and snmp will show as down (check /tmp/swatch.out or /tmp/logswatch.out.)
For the hang - check zimbra/log/zimbra.log or zimbra/tomcat/logs/catalina.out for stack traces. | 
12-05-2005, 10:01 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | ah, right. turns out default perl on debian is;
This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
so i had to add: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi to the end of PERLLIB in /opt/zimbra/.bashrc
fixed a whole bunch of perl thingees
cheers | 
12-05-2005, 10:19 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | > For the hang - check zimbra/log/zimbra.log or zimbra/tomcat/logs/catalina.out for stack traces.
zimbra/log/zimbra.log doesnt exist, catalina.out doesnt show anything untowards, except a warning. there a few stack files but they're empty. all services now running, things look like they're all installed and running ok, processes and logs ticking away in the background. i can talk to the apache aspell interface. just tomcat is hanging!
willow:/opt/zimbra/tomcat/logs# ls -l
total 4
-rw-r--r-- 1 zimbra zimbra 1523 2005-12-05 17:03 catalina.out
-rw-r--r-- 1 zimbra zimbra 0 2005-12-05 16:52 stacktrace.10496
-rw-r--r-- 1 zimbra zimbra 0 2005-12-05 17:01 stacktrace.15135
-rw-r--r-- 1 zimbra zimbra 0 2005-12-05 13:04 stacktrace.30648
-rw-r--r-- 1 zimbra zimbra 0 2005-12-05 13:50 stacktrace.8069
willow:/opt/zimbra/tomcat/logs# more catalina.out
zmtomcatstart: info: stale pid 11036 in pid file: No such process
05-Dec-2005 17:02:58 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
05-Dec-2005 17:03:00 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-7071
05-Dec-2005 17:03:00 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6918 ms
05-Dec-2005 17:03:01 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
05-Dec-2005 17:03:01 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
05-Dec-2005 17:03:01 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
05-Dec-2005 17:03:06 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive zimbraAdmin.war
05-Dec-2005 17:03:06 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=1005 gid=113
Zimbra server process, after change, is running with uid=1005 euid=1005 gid=113 egid=113 | 
12-05-2005, 10:45 AM
| | Zimbra Employee | |
Posts: 2,103
| | tomcat hanging Stop tomcat (tomcat stop)
THen sh -x bin/tomcat start and post the output. | 
12-05-2005, 12:50 PM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | tomcat stop gives this:
--
zimbra@willow:~/tomcat$ tomcat stop
Using CATALINA_BASE: /opt/zimbra/tomcat
Using CATALINA_HOME: /opt/zimbra/tomcat
Using CATALINA_TMPDIR: /opt/zimbra/tomcat/temp
Using JRE_HOME: /opt/zimbra/java
05-Dec-2005 19:44:22 org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.(Socket.java:365)
at java.net.Socket.(Socket.java:178)
at org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:320)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:411)
Waiting ..... trying again
--
and repeats forever..
so, kill the master process by hand, and start sh -x bin/tomcat start (output attached).
then i get lots of processes like this:
zimbra 13675 1 12 19:49 pts/1 00:00:06 /opt/zimbra/jdk1.5.0_05/bin/java -Xms265m -Xmx265m -client -XX:NewRatio=2 -Dcatalina.base=/opt/zimbra/jakarta-tomcat-5.5.7 -Dcatalina.home=/opt/zimbra/jakarta-tomcat-5.5.7 -Djava.io.tmpdir=/opt/zimbra/jakarta-tomcat-5.5.7/temp -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/jakarta-tomcat-5.5.7/common/endorsed -classpath /opt/zimbra/jakarta-tomcat-5.5.7/bin/bootstrap.jar:/opt/zimbra/jakarta-tomcat-5.5.7/bin/commons-logging-api.jar org.apache.catalina.startup.Bootstrap start | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |