Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-08-2008, 09:05 AM
Abdelmonam Kouka's Avatar
Abdelmonam Kouka Abdelmonam Kouka is offline
Senior Member
 
Join Date: Apr 2008
Location: Tunisia
ZCS Version: ubuntu server 6.06 / zimbra FRANKLIN
Posts: 42
Abdelmonam Kouka is on a distinguished road
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-08-2008, 11:51 PM
Abdelmonam Kouka's Avatar
Abdelmonam Kouka Abdelmonam Kouka is offline
Senior Member
 
Join Date: Apr 2008
Location: Tunisia
ZCS Version: ubuntu server 6.06 / zimbra FRANKLIN
Posts: 42
Abdelmonam Kouka is on a distinguished road
Default

Please help!!!
Reply With Quote
  #3 (permalink)  
Old 05-09-2008, 12:07 AM
Klug's Avatar
Klug Klug is offline
Moderator
 
Join Date: Mar 2006
Location: Beaucaire, France
ZCS Version: Several 4.5.x & 5.0.x (NE and OSS) on RedHat for HSP & customers
Posts: 1,313
Klug is on a distinguished road
Send a message via MSN to Klug Send a message via Skype™ to Klug
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, 12:49 AM
Abdelmonam Kouka's Avatar
Abdelmonam Kouka Abdelmonam Kouka is offline
Senior Member
 
Join Date: Apr 2008
Location: Tunisia
ZCS Version: ubuntu server 6.06 / zimbra FRANKLIN
Posts: 42
Abdelmonam Kouka is on a distinguished road
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, 06:33 AM
Abdelmonam Kouka's Avatar
Abdelmonam Kouka Abdelmonam Kouka is offline
Senior Member
 
Join Date: Apr 2008
Location: Tunisia
ZCS Version: ubuntu server 6.06 / zimbra FRANKLIN
Posts: 42
Abdelmonam Kouka is on a distinguished road
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, 06:39 AM
uxbod's Avatar
uxbod uxbod is offline
Moderator
 
Join Date: Nov 2006
Location: Northampton, UK
ZCS Version: Release 5.0.7_GA_2450.RHEL5_20080630192737 CentOS5 NETWORK edition (Unsupported OS)
Posts: 1,335
uxbod is on a distinguished road
Send a message via MSN to uxbod
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, Don't forget to update your profile so we know which O/S etc.
__________________
Server | CentOS 5.1 | Dual Opteron 250 | Tyan K8W Mobo | 6GB RAM | 3WARE 9550-SX4 | 4 x Samsung 200GB SATA II |
Zimbra | Release Release 5.0.7_GA_2450.RHEL5_20080630192737 NETWORK edition running on Xen 3.2 CentOS 5.2 i386 VM |
Network | Cisco 877 Router - Cisco ASA 5505 FW - Cisco 1131AP |
Reply With Quote
  #7 (permalink)  
Old 05-09-2008, 07:22 AM
Abdelmonam Kouka's Avatar
Abdelmonam Kouka Abdelmonam Kouka is offline
Senior Member
 
Join Date: Apr 2008
Location: Tunisia
ZCS Version: ubuntu server 6.06 / zimbra FRANKLIN
Posts: 42
Abdelmonam Kouka is on a distinguished road
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, 07:28 AM
uxbod's Avatar
uxbod uxbod is offline
Moderator
 
Join Date: Nov 2006
Location: Northampton, UK
ZCS Version: Release 5.0.7_GA_2450.RHEL5_20080630192737 CentOS5 NETWORK edition (Unsupported OS)
Posts: 1,335
uxbod is on a distinguished road
Send a message via MSN to uxbod
Default

Okay it cannot find your servername and MX record. You will need a Split DNS - Zimbra :: Wiki architecture.
__________________
Server | CentOS 5.1 | Dual Opteron 250 | Tyan K8W Mobo | 6GB RAM | 3WARE 9550-SX4 | 4 x Samsung 200GB SATA II |
Zimbra | Release Release 5.0.7_GA_2450.RHEL5_20080630192737 NETWORK edition running on Xen 3.2 CentOS 5.2 i386 VM |
Network | Cisco 877 Router - Cisco ASA 5505 FW - Cisco 1131AP |
Reply With Quote
  #9 (permalink)  
Old 05-09-2008, 08:00 AM
Klug's Avatar
Klug Klug is offline
Moderator
 
Join Date: Mar 2006
Location: Beaucaire, France
ZCS Version: Several 4.5.x & 5.0.x (NE and OSS) on RedHat for HSP & customers
Posts: 1,313
Klug is on a distinguished road
Send a message via MSN to Klug Send a message via Skype™ to Klug
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, 08:36 AM
Abdelmonam Kouka's Avatar
Abdelmonam Kouka Abdelmonam Kouka is offline
Senior Member
 
Join Date: Apr 2008
Location: Tunisia
ZCS Version: ubuntu server 6.06 / zimbra FRANKLIN
Posts: 42
Abdelmonam Kouka is on a distinguished road
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Major Issue - 5.0RC2 NE to 5.0GA NE failed DougWare Installation 7 01-06-2008 08:56 PM
Can't start Zimbra! zibra Administrators 5 03-22-2007 11:34 AM
svn version still won't start kinaole Developers 0 10-04-2006 06:47 AM
Installation succesfful! But problem with zmcontrol start mansuper Installation 16 09-07-2006 06:39 AM
port 7071 not listening OS X install rm* Installation 7 03-21-2006 09:47 AM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0