Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: [SOLVED] Build Zimbra..a little problem...

  1. #1
    Abdelmonam Kouka's Avatar
    Abdelmonam Kouka is offline Active Member
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    49
    Rep Power
    7

    Question [SOLVED] Build Zimbra..a little problem...

    Hello,

    I tried to install Zimbra FRANKLIN using p4, I run buildThirdParty.sh all is done with succes (only clamav failed), I continue the process by executing make dev-install under ZimbraBuild, also all is good but..I have got at the end:

    BUILD SUCCESSFUL
    Total time: 7 minutes 15 seconds
    rm -rf zimbraConf
    mkdir zimbraConf
    cp /home/public/p4/FRANKLIN/ZimbraBuild/../ZimbraWebClient/build/web.xml zimbraConf
    *** Installing tomcat
    (cd /opt/zimbra; tar xzf /home/public/p4/FRANKLIN/ZimbraBuild/../ThirdParty/jakarta-tomcat/apache-tomcat-5.5.15.tar.gz
    tar: /home/public/p4/FRANKLIN/ZimbraBuild/../ThirdParty/jakarta-tomcat/apache-tomcat-5.5.15.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    make: *** [/opt/zimbra/apache-tomcat-5.5.15] Error 2


    This means that it is trying to install Tomcat instead of jetty, I search the script that do this job and I find it in this file /home/public/p4/FRANKLIN/ZimbraBuild/defs/devtargets.def
    and this is the code

    $(DEV_INSTALL_ROOT)/$(TOMCAT_DIR): $(DEV_INSTALL_ROOT) $(SERVICE_DIR)/$(WEBAPP_BUILD_DIR)/service.war $(CONSOLE_DIR)/$(WEBAPP_BUILD_DIR)/zimbra.war
    @echo "*** Installing tomcat"
    (cd $(DEV_INSTALL_ROOT); tar xzf $(TOMCAT_SOURCE).tar.gz
    cp -f $(SERVICE_DIR)/conf/tomcat-5.5/server.xml $@/conf/server.xml
    cp -f $(SERVICE_DIR)/conf/zimbra.xml $@/conf/Catalina/localhost/zimbra.xml
    mkdir -p $@/conf/AdminService/localhost
    cp -f $(SERVICE_DIR)/conf/zimbraAdmin.xml $@/conf/AdminService/localhost/zimbraAdmin.xml
    cp -f $(SERVICE_DIR)/conf/tomcat-5.5/tomcat-users.xml $@/conf
    cp -f $(SERVICE_DIR)/build/dist/conf/log4j.properties.production $@/conf/log4j.properties
    mkdir -p $@/temp
    touch $@/temp/.emptyfile

    I dont know how to modify it in the aim to install jetty instead of tomcat?
    Please help!

  2. #2
    Abdelmonam Kouka's Avatar
    Abdelmonam Kouka is offline Active Member
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    49
    Rep Power
    7

    Default

    Please help!!!

  3. #3
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    Default

    Also opened on the french forum.
    I suggested to check he was not using FRANK's tools to compile FRANKLIN : Building Zimbra using Perforce - Zimbra :: Wiki

  4. #4
    Abdelmonam Kouka's Avatar
    Abdelmonam Kouka is offline Active Member
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    49
    Rep Power
    7

    Default

    As Klug said, the problem is in the file version, but I make a look on the some file "devtargets.def" under FRANK, FRANKLIN & main and I find the same problem, they tried to install tomcat instead of jetty!!!

  5. #5
    Abdelmonam Kouka's Avatar
    Abdelmonam Kouka is offline Active Member
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    49
    Rep Power
    7

    Default

    looooooooooooooooooooool
    Finally I have got Zimbra installed in developement environnement, I have got:
    *** Installation complete
    But..when I logged as zimbra user and executed
    ./zmcontrol status
    I have got:
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    and when I executed:
    ./zmcontrol start
    I have got:
    Host abdelmonam-desktop
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    It seems like an ldap problem of configuration and starting..any idea?

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Maybe a DNS issue. Please post the following
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com MX
    dig yourdomain.com NS
    host `hostname` <- note backticks and not double quotes
    are you sat behind a firewall ? have you disable SELinux ?

    Also, http://www.zimbra.com/forums/announc...r-profile.html so we know which O/S etc.

  7. #7
    Abdelmonam Kouka's Avatar
    Abdelmonam Kouka is offline Active Member
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    49
    Rep Power
    7

    Default

    OK, done for my profile.
    I am building Zimbra FRANKLIN under ubuntu 7.10 using virtual box.

    This is what you ask:

    Code:
    # cat /etc/hosts
    127.0.0.1       localhost
    127.0.1.1       abdelmonam-desktop
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    Code:
    cat /etc/resolv.conf
    # generated by NetworkManager, do not edit!
    
    search lan
    
    
    nameserver 10.0.2.3
    Code:
    p# dig example.com MX
    ; <<>> DiG 9.4.1-P1 <<>> example.com MX
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55934
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;example.com.                   IN      MX
    
    ;; Query time: 3 msec
    ;; SERVER: 10.0.2.3#53(10.0.2.3)
    ;; WHEN: Fri May  9 16:02:07 2008
    ;; MSG SIZE  rcvd: 29
    Code:
    # dig example.com NS
    
    ; <<>> DiG 9.4.1-P1 <<>> example.com NS
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 47531
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;example.com.                   IN      NS
    
    ;; Query time: 5 msec
    ;; SERVER: 10.0.2.3#53(10.0.2.3)
    ;; WHEN: Fri May  9 16:20:57 2008
    ;; MSG SIZE  rcvd: 29
    Code:
    # host `hostname`
    Host abdelmonam-desktop not found: 3(NXDOMAIN)

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Okay it cannot find your servername and MX record. You will need a Split DNS - Zimbra :: Wiki architecture.

  9. #9
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    Default

    /etc/hosts is wrong, it should show the real IP of the desktop on the abdelmonam-desktop line, not 127.0.0.1.

  10. #10
    Abdelmonam Kouka's Avatar
    Abdelmonam Kouka is offline Active Member
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    49
    Rep Power
    7

    Default

    Quote Originally Posted by Klug View Post
    /etc/hosts is wrong, it should show the real IP of the desktop on the abdelmonam-desktop line, not 127.0.0.1.
    What should be the IP of the guest machine under virtual box? when I execute ifconfig I find it 10.0.2.15 but my IP adresse in the LAN in which I am connected is 192.168.1.39

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  4. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  5. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 10:47 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
  •