From owner-freebsd-questions@FreeBSD.ORG Wed Jul 14 19:49:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EDFF1065674 for ; Wed, 14 Jul 2010 19:49:14 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 472358FC1B for ; Wed, 14 Jul 2010 19:49:13 +0000 (UTC) Received: by iwn35 with SMTP id 35so152403iwn.13 for ; Wed, 14 Jul 2010 12:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kGapKEyZM0xcnAvZ9bR0KzAiooDcp9EnlNyGw1b31wU=; b=USOl+C0qogLRK26XKbt8wtyc5mBl+RDcOzaNtL0I7dCRD79/KHkFg3l+7zr0vfcxQB ofwb93WzKnHp9IvH24pkDWQGq/0Ia4Q6SHcvJQuLkqnIqd2srhC5mKjTYRC1mtYDSE+J jA0Fyi2FMkdhObo+bwxGjW35OZBcrrjF0ngHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BNcfabMDhBMxoOmAd4GMbWbLZRisRpsf3wwTve7gUR6lhxx67ynNTZ0sOwfjNIRkot 1CTLvZU7FgWQP+MWLZzVelKWaTg8jKfFdgS4q7Dige7jlxWeiMYF+UzeAgDxxJ3P3fyV bocp4f0KV+TQMT6fCWO5MB7q8Uv2XGbQyOok4= MIME-Version: 1.0 Received: by 10.231.184.1 with SMTP id ci1mr18581106ibb.39.1279136953466; Wed, 14 Jul 2010 12:49:13 -0700 (PDT) Received: by 10.231.118.98 with HTTP; Wed, 14 Jul 2010 12:49:13 -0700 (PDT) Date: Wed, 14 Jul 2010 12:49:13 -0700 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Help with "ezjail-admin create" command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 19:49:14 -0000 Hi folks, I've found a website ( http://wiki.freebsd.org/AppserverJailsHOWTO ) with a tutorial that steps me through most if what I'm trying to set-up; I'm trying to use ezjail to set up the latest version of Apache with my website. I've carefully followed the steps, and the only step that I've found that seems to be wrong is the author's reference to "default" which doesn't seem to exist; it's actually "example" so I've changed my commands accordingly. I'm confused about the "ezjail-admin create" command. When I installed FreeBSD, I set up a partition called "www", because I thought it might be easier for me to backup all of my web sites, etc., and it's easier for me to remember where I installed Apache. I've modified my ezjail.conf file and the ezjail_jaildir line to read: ezjail_jaildir=/www/jails When I issue this command: ezjail-admin create -f example apache 192.168.225.128 I get this error: find: /www/jails/apache/pkg/: no such file or directory Note: Shell scripts for flavour example installed, flavourizing on jails first startup. It also throws an error about "some services already seem to be listening on IP 192.168.225.128" 1.) What did I screw up? This isn't normal, is it? 2.) When using the "ezjail-admin create" command, the IP address that I'm passing is supposed to be the IP address of the HOST machine (because it has the "basejail", right?), isn't it? 3.) When I type: find / -name apache I get: /usr/local/etc/ezjail/apache and /www/jails/apache Does the ezjail program create TWO instances of what will be my "jailed" Apache? Why does it do that? Did I goof something else up, or is that "normal"? Suggestions??? Thank you, Ed