Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Developers

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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2008, 10:05 AM
Active Member
 
Posts: 42
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!
Reply With Quote
  #2 (permalink)  
Old 05-09-2008, 12:51 AM
Active Member
 
Posts: 42
Default

Please help!!!
Reply With Quote
  #3 (permalink)  
Old 05-09-2008, 01:07 AM
Moderator
 
Posts: 1,842
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
Reply With Quote
  #4 (permalink)  
Old 05-09-2008, 01:49 AM
Active Member
 
Posts: 42
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!!!
Reply With Quote
  #5 (permalink)  
Old 05-09-2008, 07:33 AM
Active Member
 
Posts: 42
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?
Reply With Quote
  #6 (permalink)  
Old 05-09-2008, 07:39 AM
Moderator
 
Posts: 5,800
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.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #7 (permalink)  
Old 05-09-2008, 08:22 AM
Active Member
 
Posts: 42
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)
Reply With Quote
  #8 (permalink)  
Old 05-09-2008, 08:28 AM
Moderator
 
Posts: 5,800
Default

Okay it cannot find your servername and MX record. You will need a Split DNS - Zimbra :: Wiki architecture.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #9 (permalink)  
Old 05-09-2008, 09:00 AM
Moderator
 
Posts: 1,842
Default

/etc/hosts is wrong, it should show the real IP of the desktop on the abdelmonam-desktop line, not 127.0.0.1.
Reply With Quote
  #10 (permalink)  
Old 05-09-2008, 09:36 AM
Active Member
 
Posts: 42
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
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0