From owner-freebsd-ports@FreeBSD.ORG Wed Jun 6 11:31:48 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50F1B1065672 for ; Wed, 6 Jun 2012 11:31:48 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 22B218FC15 for ; Wed, 6 Jun 2012 11:31:48 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so9408667pbb.13 for ; Wed, 06 Jun 2012 04:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=qhYKSSebuZEcblzKCmQmxQS9cw10QPNLrR3qVljZH3E=; b=vgI7wUe2YgyLDBCsyHZy7mPgJLDyrd4NOn1m5sEzJ0S1+EL82drLzYWWmmHS9RL1Sj hq/PnGi6ho6HgR0Kr5e9o8oS6HKggA5bLtWlgkNKQgEFvYY8ziCyQFi9HRLNDHk3opJ/ VG3lqJ2mpIXv+T/Vy/z9ficnrVeFcyIyqRL2LWSfpBFoZkKi9m0fnAQVJDgLfq+E1+hV v9UBAu3bkdjbYrMkhR7tfSvVdIMmS6G3416qFaaTpii4BPtC7l6rMPuEhKtrGCeYfFw2 9QUHUQecaOpevE2wBv/99CYJ4m6xaHcyks/XTtMNfbZ8bVWkofTbFrxuflscrW1Fnz/U DghA== MIME-Version: 1.0 Received: by 10.68.227.197 with SMTP id sc5mr59558267pbc.58.1338982307724; Wed, 06 Jun 2012 04:31:47 -0700 (PDT) Received: by 10.143.161.6 with HTTP; Wed, 6 Jun 2012 04:31:47 -0700 (PDT) In-Reply-To: <4FCF3D62.60409@yandex.ru> References: <4FCF36C7.5030204@yandex.ru> <4FCF3D62.60409@yandex.ru> Date: Wed, 6 Jun 2012 12:31:47 +0100 Message-ID: From: Kaya Saman To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports Subject: Re: Zenoss Port Web-UI seems incomplete X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2012 11:31:48 -0000 On Wed, Jun 6, 2012 at 12:22 PM, Ruslan Mahmatkhanov wr= ote: > Kaya Saman wrote on 06.06.2012 15:02: > >> On Wed, Jun 6, 2012 at 11:53 AM, Ruslan Mahmatkhanov >> =A0wrote: >>> >>> Hi Kaya, >>> >>> Kaya Saman wrote on 06.06.2012 14:30: >>> >>>> >>>> Can someone suggest anything or am I stuck with Linux for Zenoss? >>>> >>> >>> Would you disclose some details like what the exact problem is, which >>> error >>> messages you are seeing, what isn't works as expected? From which versi= on >>> you are migrating (which version you have installed on a Linux boxes)? >>> FreeBSD port of Zenoss seems slightly outdated. >>> >>> -- >>> Regards, >>> Ruslan >>> >>> Tinderboxing kills... the drives. >> >> >> Sorry for the non-existant information...... >> >> FreeBSD version is 3.1.0 built fresh from ports - clean install >> >> CentOS 6.2 version is 3.2.1 - I think I got directly from zenoss >> homepage though can't quite remember now! Again clean install >> >> >> Unfortunatley the version in FreeBSD seems to be missing a few >> bits.... I am unable to get the Web-UI (Zope) running. >> >> >> Changing the /usr/local/zenoss/etc/zope.conf file was the easy part >> but there are many inconsistancies.... >> >> >> This is what the tty gives on a restart: >> >> >> Daemon: zopectl exec: /usr/local/zenoss/python/bin/zopectl: not found >> Daemon: zeoctl Error: no program specified; use -p or -C >> For help, use /usr/local/zenoss/bin/zeoctl -h >> Daemon: zeoctl Error: no program specified; use -p or -C >> For help, use /usr/local/zenoss/bin/zeoctl -h >> Daemon: zopectl exec: /usr/local/zenoss/python/bin/zopectl: not found >> >> >> >> This error is after I copied over zopectl from the Linux version! >> >> >> I didn't find zopectl on the system at all, unless I looked in the wrong >> place? >> >> >> Regards, >> >> Kaya > > > Did you initialize zenoss instance? zopectl should be copied after that. > > [rm@smeshariki3 ~]> cat /usr/ports/net-mgmt/zenoss/pkg-message > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > > Add the following line to /etc/rc.conf to enable zenoss: > zenoss_enable=3D"YES" > > To initialize zenoss, you can run the following (as root): > service zenoss init > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > > After this will be done, just do `service zenoss start` and it should sta= rt. > > > -- > Regards, > Ruslan > > Tinderboxing kills... the drives. Ah thanks :-) Now that we've got a handle on the setup here's an error: mv: /usr/local/zenoss/etc/zope.conf: set owner/group (was: 949/0): Operation not permitted mv: /usr/local/zenoss/etc/zope.conf: set owner/group (was: 949/0): Operation not permitted mv: /usr/local/zenoss/etc/zeo.conf: set owner/group (was: 949/0): Operation not permitted Starting Zope Object Database . daemon process started, pid=3D91120 Loading initial Zenoss objects into the Zeo database (this can take a few minutes) Unable to create the initial Zenoss object database is the Zenoss objects database within MySQL? The user is root with no password for now as this system is a simple throw-away sandbox for testing. Regards, Kaya