Solaris10 TEST6 Build

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
User avatar
hillman
Advanced member
Advanced member
Posts: 76
Joined: Fri Sep 12, 2014 10:34 pm

Solaris10 TEST6 Build

Postby hillman » Fri Jul 20, 2007 7:01 pm

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.


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Solaris10 TEST6 Build

Postby 14319KevinH » Fri Jul 20, 2007 8:04 pm

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.
dijichi2
Elite member
Elite member
Posts: 1133
Joined: Fri Sep 12, 2014 10:00 pm

Solaris10 TEST6 Build

Postby dijichi2 » Sat Jul 21, 2007 10:08 am

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 ;)
serivo
Posts: 46
Joined: Fri Sep 12, 2014 10:45 pm

Solaris10 TEST6 Build

Postby serivo » Tue Sep 18, 2007 1:42 am

[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.
jlim0930
Posts: 2
Joined: Fri Sep 12, 2014 10:23 pm

Solaris10 TEST6 Build

Postby jlim0930 » Tue Sep 18, 2007 10:21 am

so where can we get this test3 build from ?
dijichi2
Elite member
Elite member
Posts: 1133
Joined: Fri Sep 12, 2014 10:00 pm

Solaris10 TEST6 Build

Postby dijichi2 » Tue Sep 18, 2007 10:35 am

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.
seriv
Posts: 6
Joined: Fri Sep 12, 2014 10:16 pm

Solaris10 TEST6 Build

Postby seriv » Tue Sep 18, 2007 10:45 pm

[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
serivo
Posts: 46
Joined: Fri Sep 12, 2014 10:45 pm

Solaris10 TEST6 Build

Postby serivo » Mon Sep 24, 2007 11:10 am

[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.
dijichi2
Elite member
Elite member
Posts: 1133
Joined: Fri Sep 12, 2014 10:00 pm

Solaris10 TEST6 Build

Postby dijichi2 » Mon Sep 24, 2007 2:41 pm

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.
nate.wheeler
Posts: 16
Joined: Fri Sep 12, 2014 10:46 pm

Solaris10 TEST6 Build

Postby nate.wheeler » Tue Sep 25, 2007 5:29 pm

is there any way I can get your port to try what serivo did dijichi2?

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests