Page 4 of 5

Solaris10 TEST6 Build

Posted: Fri Jul 20, 2007 7:01 pm
by hillman
I've also managed to get a version of 4.5.x running under Solaris. I think I've got 4.5.4_754, so a build from earlier this spring.
I'm running a multi-server configuration on Solaris 10 in a two zone environment - one Zimbra server in each zone, each loaded up with 25,000 users. This was strictly done as a "proof of concept", as we will only run Zimbra in production if we can run it on Solaris.
The third-party build was somewhat painful - I think it took me about 15 hours in total, and that was with notes from Dijich2 (he posted a link to his Solaris build notes on another Solaris thread). I also had to patch Perdition, because it expects a system call that doesn't (yet) exist in Solaris. I haven't had a chance to test the patch yet, but when I do, I'll submit it to the Perdition team
However, as dijich2 pointed out above, the real fun comes when trying to modify the Zimbra application itself to work on Solaris. Although the core application is Java, many of the "helper" programs are scripts (perl or shell) that make assumptions about paths and commands. These had to be changed to install on Solaris, and those are the patches that he's referring to.
It looks like development on 4.5.x has ended and all effort is going into 5.0, so it would seem to make sense to push to get Solaris support in there. Once it's included, keeping it up to date between releases should be relatively easy.

Solaris10 TEST6 Build

Posted: Fri Jul 20, 2007 8:04 pm
by 14319KevinH
Thanks guys for keeping this alive. Our build team is working on a few things at the moment getting out 4.5.X patches and working on the various 5.0 betas. Thanks for your patience and as mention a few times the best way to get this as an official port is show interest to purchase zimbra. A simple email with you and your company's contact info and the number of seats will do. sales@zimbra.com keeps a list of these which we use to evaluate new platforms periodically.
Many of us at Zimbra (including myself) came from 100% past. So it's not new to us. Just haven't seen the commercial interest yet to move to a supported option. Unlike adding a new linux distro which we can run on VM's and our same hardware at least for a Sparc based port it'd be a healthy hardware investment for Dev/QA/Support/Sales Eng.

Solaris10 TEST6 Build

Posted: Sat Jul 21, 2007 10:08 am
by dijichi2
Hi Kevin
We're not talking NE here, but is there a possibilty that a community port will make it in to the proper opensource tree? In other words is it worth submitting patches through bugzilla, or should we keep it a seperate community project?
Any idea on dropdate of 5.0b2? pm.zimbra.com shows it a few weeks ago and you're already running b3, no fair ;)

Solaris10 TEST6 Build

Posted: Tue Sep 18, 2007 1:42 am
by serivo
[quote user="dijichi2"]This port has been postponed temporarily until source tree is reopened.[/QUOTE]

What is it - postponed until source tree is repopened? What source tree? Is it about svn? Svn seems to be open now. Is there some notes, or patches for building zimbra on Solaris? I'd prefer 4.5 version in hope that it may be upgraded to network edition from opensource.
I'm trying to set up zimbra 5.0 beta3 to work at solaris. In zone, but this does not matter, Solaris-10 x86_64.

According with remarks on build, posted at VarLogMessages » Zimbra 5.0b2 Solaris ThirdParty Howto, I have managed to compile and install all ThirdParty components. Then I'm trying to run gmake in /opt/build.zimbra/ZimbraBuild directory and I'm getting:

---

(cd /opt/build.zimbra/ZimbraBuild/../ZimbraServer; /opt/csw/bin/ant

-Dplat.tag=SOLARIS10

-Dis-production=1

-Dzimbra.buildinfo.version=5.0.0_BETA3_1276.SOLARIS10

-Dzimbra.buildinfo.type=FOSS

-Dzimbra.buildinfo.release=20070918023525 -Dzimbra.buildinfo.date=20070918023525

-Dzimbra.buildinfo.host=mail dev-dist ; )

Buildfile: build.xml
build-init:
make-dirs:

[echo] Creating dirs under /opt/build.zimbra/ZimbraServer/build/dist
compile:
build-init:
compile:

[javac] Compiling 85 source files to /opt/build.zimbra/ZimbraCommon/build/classes

Segmentation Fault - core dumped

gmake: *** [/opt/build.zimbra/ZimbraBuild/../ZimbraServer/build/dist/jetty/webapps/service.war] Error 139

---

I will appreciate any help.

-- Sergey.

Solaris10 TEST6 Build

Posted: Tue Sep 18, 2007 10:21 am
by jlim0930
so where can we get this test3 build from ?

Solaris10 TEST6 Build

Posted: Tue Sep 18, 2007 10:35 am
by dijichi2
i pulled test3 from public view because it was built from 4.5.4 and zimbra had known security holes at that stage. i'm starting work on 5.0b3 today, hopefully we can put something out soon.

Solaris10 TEST6 Build

Posted: Tue Sep 18, 2007 10:45 pm
by seriv
[quote user="serivo"]

I'm trying to set up zimbra 5.0 beta3 to work at solaris. In zone, but this does not matter, Solaris-10 x86_64.

[/QUOTE]

Now I got almost everything compiled in /opt/zimbra, but not configured.

I've started httpd, mysqld and logger/mysqld, openldap, swatch. Now at the attempt to start java mailboxd I'm getting the errors:

---

log4j:WARN No appenders could be found for logger (org.mortbay.log).

log4j:WARN Please initialize the log4j system properly.

---

Please, help me, where can I fix this log4j system properties?

-- Sergey Ivanov

Solaris10 TEST6 Build

Posted: Mon Sep 24, 2007 11:10 am
by serivo
[quote user="dijichi2"]This port has been postponed temporarily until source tree is reopened.[/QUOTE]

All thanks to dijichi2, with his build of zcs-4.5.4_GA_754 for Solaris it's now possible to have network edition 4.5.7 running on Solaris just in few minutes.

Everything you need - just download, for example, zcs-NETWORK-4.5.7_GA_1319.RHEL5_64.tgz for Redhat EL5, unpack it, and then overwrite the following directories and files of the /opt/zimbra of the dijichi2's build by the ones from unpacked rhel5 rpms.



zimbra/apache-tomcat-5.5.23/webapps/

zimbra/bin/zmlicense

zimbra/conf/ZCSLicense.xml

zimbra/conf/com.zimbra.zcs.plist

zimbra/convertd/cnvcache/

zimbra/lib/ext-common/

zimbra/lib/ext/backup/

zimbra/lib/ext/clamscanner/

zimbra/lib/ext/convertd/

zimbra/lib/ext/network/

zimbra/lib/ext/zimbra-archive/

zimbra/lib/ext/zimbra-license/

zimbra/lib/ext/zimbrahsm/

zimbra/lib/ext/zimbraldaputils/

zimbra/lib/ext/zimbrasync/

zimbra/lib/jars/


I have Centos5 so instead of unpacking I've just installed temporarily network edition there. But I think it may be done in Solaris by cpio of these rpm files.
About overwriting: I've completely erased all these 13 directories and them copied them from network edition installation tree.
I have tested synchronizing Mac's Calendar and Address Book, I had problems with instalation of Outlook Connector, but I saw the same problems reported here, so it's not a Solaris' specific.
-- Sergey.

Solaris10 TEST6 Build

Posted: Mon Sep 24, 2007 2:41 pm
by dijichi2
that's awesome sergey!
erm, what about the licensing?
i've started work on the 5.0b port, hopefully it won't take too long. certain things have change substantially since 4.5.x so remains to be seen.

Solaris10 TEST6 Build

Posted: Tue Sep 25, 2007 5:29 pm
by nate.wheeler
is there any way I can get your port to try what serivo did dijichi2?