From owner-freebsd-ports@FreeBSD.ORG Thu Dec 22 11:10:23 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD7416A41F; Thu, 22 Dec 2005 11:10:23 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from msgmmp-4.gci.net (msgmmp-4.gci.net [209.165.130.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C45B43D46; Thu, 22 Dec 2005 11:10:22 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from stargate.akparadise.com ([209.124.141.64]) by msgmmp-4.gci.net (Sun Java System Messaging Server 6.2-3.03 (built Jun 27 2005)) with ESMTPA id <0IRW00NKXCD70S10@msgmmp-4.gci.net>; Thu, 22 Dec 2005 02:10:20 -0900 (AKST) Received: by stargate.akparadise.com (Postfix, from userid 0) id ADF244673; Thu, 22 Dec 2005 02:10:19 -0900 (AKST) Date: Thu, 22 Dec 2005 02:10:03 -0900 From: Beecher Rintoul In-reply-to: <43AA7E96.9020508@FreeBSD.org> To: Doug Barton Message-id: <200512220210.17907.akbeech@gmail.com> Organization: NorthWind Communications MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1570479.bFZ1nxHNE5; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200512211617.59690.akbeech@gmail.com> <43AA7E96.9020508@FreeBSD.org> User-Agent: KMail/1.8.3 Cc: olgeni@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Bug[?] In new local_startup and webmin3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 11:10:23 -0000 --nextPart1570479.bFZ1nxHNE5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 22 December 2005 01:23 am, Doug Barton wrote: > Beecher Rintoul wrote: > > On Wednesday 21 December 2005 04:08 pm, Doug Barton wrote: > >> Beecher Rintoul wrote: > >>> I have the same problem with webmin.sh. No errors on boot, just doesn= 't > >>> start. /usr/local/etc/rc.d/webmin.sh start works. > >> > >> The webmin script has this line in the script: > >> > >> webmin_enable=3D"NO" > >> > >> which is likely to lead to unpredictable results. Try removing that, a= nd > >> make sure that you have webmin_enable=3D"YES" in /etc/rc.conf[.local] > > > > Thanks, I'll give that a try. > > Ok, I've taken another look at this, and I don't think that part is the > problem. I installed the webmin port, then tried to run the > /usr/local/etc/rc.d/webmin.sh script. It seems that a few bits are missin= g, > at least from what I can see. That script has the following: > > pidfile=3D/var/log/webmin/miniserv.pid > required_dirs=3D${prefix}/etc/webmin > command=3D${prefix}/etc/webmin/start > > The pidfile location looks bogus, but even if /var/log is the right place > for this, I don't have a /var/log/webmin directory after installing the > port. The /usr/local/etc/webmin directory doesn't exist either, and > therefore the listed command doesn't exist. Therefore, there is no way th= at > this boot script could work. > > Now I'm not sure what the right answers are here, and if I'm missing some > important element of the thing, please let me know. > Strange, I have all those directories and there is a pidfile=20 in /var. /usr/local/etc/webmin is the main webmin directory, and there is a= =20 shell script named "start". Running the rc.d script from the command line=20 does start the miniserv.pl process. Removing the webmin_enable=3D"NO" didn'= t=20 change anything, it still doesn't start from boot. Sounds like your install= =20 may not have worked. Anyway, I have a client that uses webmin almost=20 exclusively and she brought it to my attention. I checked a couple of other= =20 machines and it isn't working on any of them. I did a quick cron hack to cu= re=20 the problem for now. I haven't really looked into the new rc.d scripts, but= I=20 guess it's about time. Please let me know if you find an answer. Thanks, Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1570479.bFZ1nxHNE5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDqomZVq19LUoGB+MRAsO3AJ9xcPvlXv36R/uABtTPh/NLp1I+nwCeOq+W 4jYa6/3O97/eAhEJzJxozQA= =VnWK -----END PGP SIGNATURE----- --nextPart1570479.bFZ1nxHNE5--