Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2007 16:27:34 -0400
From:      "Marc G. Fournier" <freebsd@hub.org>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-isp@freebsd.org
Subject:   Plesk in a FreeBSD Jail: My Experiences
Message-ID:  <BB6FCD54EF80E37D07D3D152@ganymede.hub.org>

next in thread | raw e-mail | index | archive | help
-----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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB6FCD54EF80E37D07D3D152>