These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Blocked Hosts and Users Error after update on the new forum.
Hi,
After the latest aupdates I get a error when I click "Blocked Hosts and Users" in Webmin and Usermin. It give me this error:
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.556 Date: Sun, 24 Jul 2011 17:32:27 GMT Content-type: text/html Connection: close
Error - Perl execution failed Can't use an undefined value as a symbol reference at ./webmin-lib.pl line 1763.
Should I report this as a bug???
The box is running: CentOS Linux 5.6 Virtualmin version 3.87 Pro Webmin version 1.556
Best regards, Leffe
Hmm, I don't seem to be able to reproduce that problem.
Here's something to try --
First, stop Webmin using "/etc/init.d/webmin stop".
After doing that -- do you receive any output when running this command:
ps auxw | grep miniserv | grep webmin
If so, try killing that process, then starting Webmin back up with "/etc/init.d/webmin start".
-Eric
Hi Eric,
I did stop webmin and run the command but no output.
/Leffe
Hi,
I dont know if this is of any help but here is the output from miniserv.error:
Use of uninitialized value in split at /usr/libexec/webmin/webmin/index.cgi line 60.
Use of uninitialized value in <HANDLE> at ./webmin-lib.pl line 1755.
readline() on unopened filehandle at ./webmin-lib.pl line 1755.
[24/Jul/2011:23:28:13 +0200] [x.x.x.x] /webmin/edit_blocked.cgi : Perl execution failed : Can't use an undefined value as a symbol reference at ./webmin-lib.pl line 1763.
/Leffe
I found some more issues.
I now added this as a "bug" in issues.
Best regards, Leffe
I know, issues not for GPL users, but just so you know the exactly same error comes on GPL version too. Stopping Webmin and running the above-mentioned command does not produce any output.
I have the same issue: Error - Perl execution failed
Can't use an undefined value as a symbol reference at ./webmin-lib.pl line 1763.
The fix for that should be out soon, but you can always reset the block list by restarting Webmin with this command
/etc/init.d/webmin restart
Eric, I'm having the same issues. Was there ever a fix for this?
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.560 Date: Fri, 26 Aug 2011 07:06:14 GMT Content-type: text/html Connection: close Error - Perl execution failed
Can't use an undefined value as a symbol reference at ./webmin-lib.pl line 1763.
Here is my server info. Operating system Debian Linux 6.0 Webmin version 1.560
Virtualmin version 3.87.gpl GPL Theme version 8.1
Kernel and CPU Linux 2.6.32-5-amd64 on x86_64
Was there ever a fix for this issue?
It's fixed in the next Webmin version, but that's not out yet... I'll talk to Jamie about a way to resolve that in the meantime.
-Eric
I'm having this problem on Webmin 1.561 / Virtualmin 3.87.gpl GPL.
I'm not sure if this is how I created the error, but I clicked on Webmin > Webmin Users and then selected one of the users from the list and then when the message "This Webmin user should not be edited as it is managed by the Virtualmin Virtual Servers (GPL) module. Click here to bypass this warning and edit the user anyway - but beware that any manual changes may be over-written!" came up, I clicked on the link but didn't make any changes.
I have restarted webmin with no effect. There were no errors, however it echo the following:
$ /etc/init.d/webmin restart
Stopping Webmin server in /usr/libexec/webmin
Starting Webmin server in /usr/libexec/webmin
Pre-loaded virtual-server/virtual-server-lib-funcs.pl in virtual_server
Pre-loaded virtual-server/feature-unix.pl in virtual_server
Pre-loaded virtual-server/feature-dir.pl in virtual_server
Pre-loaded virtual-server/feature-dns.pl in virtual_server
Pre-loaded virtual-server/feature-mail.pl in virtual_server
Pre-loaded virtual-server/feature-web.pl in virtual_server
Pre-loaded virtual-server/feature-webalizer.pl in virtual_server
Pre-loaded virtual-server/feature-ssl.pl in virtual_server
Pre-loaded virtual-server/feature-logrotate.pl in virtual_server
Pre-loaded virtual-server/feature-mysql.pl in virtual_server
Pre-loaded virtual-server/feature-postgres.pl in virtual_server
Pre-loaded virtual-server/feature-ftp.pl in virtual_server
Pre-loaded virtual-server/feature-spam.pl in virtual_server
Pre-loaded virtual-server/feature-virus.pl in virtual_server
Pre-loaded virtual-server/feature-webmin.pl in virtual_server
Pre-loaded virtual-server/feature-virt.pl in virtual_server
Pre-loaded virtual-server/feature-virt6.pl in virtual_server
Pre-loaded WebminCore
When I try to access Blocked Hosts and Users, I get:
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.561 Date: Sat, 3 Sep 2011 21:37:49 GMT Content-type: text/html Connection: close
Error - Perl execution failed
Can't use an undefined value as a symbol reference at ./webmin-lib.pl line 1763.
Looking in the /usr/libexec/webmin/webmin/webmin-lib.pl file, if you edit line 1763
close($fh);
and replace that with
if ($fh) { close($fh); }
it at least suppresses the error message. The file being read is /var/webmin/blocked, which in my case is empty, so I am not sure if this messed anything up (I doubt it), but it would appear to me that the script is having some sort of problem reading this file. Here are the permissions:
-rwx------ 1 root bin 0 Sep 3 17:50 /var/webmin/blocked
Edit: I'm not sure what the regular behavior of that module is supposed to be, but after adding this "fix", there is no way to actually ADD a blocked username or whatever.