Hello,
The update notification feature of webmin isn't working under FreeBSD. The following error message is generated in the mail it sends:
/usr/local/bin/bash: /usr/local/etc/webmin/package-updates/update.pl: /usr/bin/perl: bad interpreter: No such file or directory
On my FreeBSD server, perl is here: /usr/local/bin/perl
Thanks
What does the /etc/webmin/perl-path file contain on your system?
That file doesn't exist on my server:
$ cat /etc/webmin/perl-path
cat: /etc/webmin/perl-path: No such file or directory
It's here:
$ cat /usr/local/etc/webmin/perl-path
/usr/bin/perl
HTH
Ok, that's a problem - maybe perl was at /usr/bin/perl when Webmin was originally installed?
Anyway, the fix is to edit that file to use the correct path, and also any .pl files under /usr/local/etc/webmin.
Fixed, thanks!
I just checked on another FreeBSD server, and it does have a perl binary here: /usr/bin/perl
I'll ask around, but the first thought that comes to mind is that there a perl interpreter included in the base OS, but if you move to a new perl release (ie, 19 -> 20), it gets installed under the /usr/local/ prefix.
I should have been a little more circumspect in my OP: webmin wasn't broken under FreeBSD, but just on one particular server I have. The update notification function works fine on my other VPSs which all run debian, which is why I kinda jumped the gun, for which my apologies.
Ok, it sounds like the perl move was the cause of this.