Date: Thu, 22 Dec 2005 02:10:03 -0900 From: Beecher Rintoul <akbeech@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: olgeni@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Bug[?] In new local_startup and webmin3 Message-ID: <200512220210.17907.akbeech@gmail.com> In-Reply-To: <43AA7E96.9020508@FreeBSD.org> References: <d8a4930a0512211550u76655f3by@mail.gmail.com> <200512211617.59690.akbeech@gmail.com> <43AA7E96.9020508@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512220210.17907.akbeech>