From owner-freebsd-isp@FreeBSD.ORG Thu Dec 6 20:46:32 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05CFE16A46C for ; Thu, 6 Dec 2007 20:46:32 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id BAC9D13C4DD for ; Thu, 6 Dec 2007 20:46:31 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 668C311FDCE4; Thu, 6 Dec 2007 16:27:44 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 92700-08; Thu, 6 Dec 2007 16:27:43 -0400 (AST) Received: from fserv.hub.org (blk-7-245-234.eastlink.ca [71.7.245.234]) by hub.org (Postfix) with ESMTP id D02DC11FDCD3; Thu, 6 Dec 2007 16:27:43 -0400 (AST) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id 4F0215C23D; Thu, 6 Dec 2007 16:27:45 -0400 (AST) Date: Thu, 06 Dec 2007 16:27:34 -0400 From: "Marc G. Fournier" To: freebsd-questions@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-isp@freebsd.org Subject: Plesk in a FreeBSD Jail: My Experiences X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 20:46:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 First, thanks to all those that have provided some useful pointers on this ... I was finally able to get a working install in place using 8.2.1 ... The main issue I found was that one of the components in the install seems to be calling in Apache 2.2, while Plesk uses Apache 2.0 ... so, somehow its able to get *both* installed at the same time, but when the installer goes to install the 'swsoft/psa' port, it fails because of a conflict ... So, what I ended up doing is reducing the components to install to the 'bare minimal', and then manually added components from /usr/ports/swsoft afterwards ... Everything started up fine ... and *appears* to work ... The one problem that I've not been able to figure out how to surmount is when you actually try and add a domain ... even if the client is set to have no limits on their resources (ie. disk space), adding a domain tries to set (or just check, not 100% certain there) the hardquota on the directory, which, in a jail, of course fails ... With the error being: "ERROR: PleskFatalException Create ShortcutCreate Shortcut Up LevelUp Level Unable to get hardquota state: usermng failed: usermng: No entry found for path /usr/local/www/vhosts in mounted System error 25: Inappropriate ioctl for device 0: /usr/local/psa/admin/plib/class.PHostingManager.php:1399 PHostingForm->assign(object of type PHostingManager, boolean true, boolean true, boolean true, boolean true, boolean true, boolean false) 1: /usr/local/psa/admin/htdocs/domains/hosting/phosting_setup.php:296" Has anyone else tried this in a jail and notice this and/or found a word around? The .php file itself looks to be compiled php, so no way to just comment out code :( - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHWFs24QvfyHIvDvMRAn/CAJ4yaEmO1SBwgv6BPKXIsTbP950CUwCfdMDJ 3Hr7jyrUR4pX02L/jyDdaaY= =anLk -----END PGP SIGNATURE-----