Apr 20, 2011 2:22 PM
FreeBSD Port
-
Like (0)
Hey all,
I'm in the process of creating a FreeBSD port of zenoss. I have it building and installing fine... however ... when you "build" zenoss, it also installs the software.
FreeBSD ports generally separate the build and install steps. The port I have created is unconventional since it uses the zenoss build scripts and does the build and install in the same step.
Is there an easy way to separate the build and install?
Thanks.
Back with Zenoss 2.8 I looked into creating a FreeBSD port but never got around to doing it. What I had planned on doing was having make config ask for all the options the install.sh ask for and ditching the install.sh all together.
I thought that may be the case... an unconventional port isn't a big deal, but I'd like to get it to conform to standards, if possible.
BTW, your initial documentation on getting Zenoss to build on FreeBSD was very helpful for me. A lof of that stuff still applied to version 3. Thanks .
PR to add Zenoss port to FreeBSD ports tree: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156655
Anyone is more than welcome to test out the port. The only bit I can't get to run is 'zentrap'... but I think this is a good start for now.
I tried out the port the other day and could not get zenoss to run. I am going to try again today with a fresh install of FreeBSD. I will post my results.
Thanks for trying it out .
I've recieved some reports of the port not working (it works on some systems and not on others...). I've been able to reproduce the problem on a VM. I think it has to do with locking issues related to: /usr/local/zenoss/var/Data.fs.lock
(After running the supplied init command, take a look at /usr/local/zenoss/init/zenbuild.log)
zc.lockfile.LockError: Couldn't lock '/usr/local/zenoss/var/Data.fs.lock seems to be the issue. Is there a fix? I tried deleting everything in /usr/local/zenoss/var/ and then running "service zenoss init" and it works but then when I do "service zenoss start"; zenhub, zenjobs, and zentrap do not come up. If I run "service zenoss restart" everything comes up except zopectl
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||