From owner-freebsd-ports@FreeBSD.ORG Sat May 24 15:54:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E51551065675 for ; Sat, 24 May 2008 15:54:29 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id DEFBB8FC15 for ; Sat, 24 May 2008 15:54:29 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 8B70D1CD1B; Sat, 24 May 2008 08:54:29 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id nvTpkkKgnKbe; Sat, 24 May 2008 08:53:49 -0700 (PDT) Date: Sat, 24 May 2008 11:53:30 -0400 From: Sahil Tandon To: Brian Message-ID: <20080524155328.GA5459@shepherd> Mail-Followup-To: Brian , freebsd-ports@freebsd.org References: <20080524082353.GB4936@shepherd> <48383768.5060404@brianwhalen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48383768.5060404@brianwhalen.net> Cc: freebsd-ports@freebsd.org Subject: Re: webmin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "sahil@tandon.net" List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 15:54:30 -0000 * Brian [05-24-2008]: You replied only to me; copying the list in this reply. >>> I tried to install the above and got the permission denied errors noted >>> at the bottom, and don't seem to have a server running on the designated >>> port I decided on. Is this bug ports/110536 still unfixed? >>> >> >> According to the author of webmin, you can safely ignore the permission >> denied error. But out of curiosity, do you have apache installed? The >> post-install script calls a series of other Perl scripts, one of which is >> apache-lib.pl. If httpd cannot be found, there is a permission denied >> error; if httpd *does* exist, the error does not appear. >> Did you webmin_enable="YES" in your /etc/rc.conf >> and run the rc.d script to start it? The install script does not >> automatically start webmin because nostart="yes" in setup.sh. >> > I do not have apache installed, I saw the below in the setup.sh about a > mini web server, so I wasn't thinking I needed to install apache. Right, you don't need apache. But one of the post-install scripts references apache, and you see the innocuous permission denied error on systems where httpd is missing. > nostart="yes" This line ensures that the startup sequence below it is never run during setup. You must start webmin via the rc.d script after enabling webmin in /etc/rc.conf. From pkg-install: Since 1.150_2, to run webmin from startup, add webmin_enable="YES" in your /etc/rc.conf. -- Sahil Tandon