Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 11:53:30 -0400
From:      Sahil Tandon <sahil@tandon.net>
To:        Brian <bri@brianwhalen.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: webmin
Message-ID:  <20080524155328.GA5459@shepherd>
In-Reply-To: <48383768.5060404@brianwhalen.net>
References:  <alpine.BSF.1.10.0805232035490.91906@numail.brianwhalen.net> <20080524082353.GB4936@shepherd> <48383768.5060404@brianwhalen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Brian <bri@brianwhalen.net> [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 <sahil@tandon.net>



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