Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: CVS Build Troubles

  1. #21
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    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
    Attached Files Attached Files

  2. #22
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    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
    Attached Files Attached Files

  3. #23
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Might want to try removing the tls/ssl stuff from slapd.conf. Just to see if that will get you going.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  4. #24
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    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?

  5. #25
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    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?

  6. #26
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default 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.

  7. #27
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    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

  8. #28
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    > 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

  9. #29
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default tomcat hanging

    Stop tomcat (tomcat stop)

    THen sh -x bin/tomcat start and post the output.

  10. #30
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    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
    Attached Files Attached Files

Page 3 of 5 FirstFirst 12345 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. CVS updates
    By simonellistonball in forum Developers
    Replies: 3
    Last Post: 06-22-2006, 08:41 AM
  2. Updated cvs build instructions?
    By dijichi2 in forum Developers
    Replies: 2
    Last Post: 06-20-2006, 11:51 AM
  3. GA build from CVS, cannot run
    By vpoorboy in forum Installation
    Replies: 5
    Last Post: 02-21-2006, 08:04 AM
  4. Latest CVS version build trouble
    By graffiti in forum Developers
    Replies: 9
    Last Post: 12-19-2005, 07:14 PM
  5. CentOS 4.2 Build
    By andreychek in forum Developers
    Replies: 2
    Last Post: 12-09-2005, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •