Submitted by xkeywee on Mon, 01/12/2015 - 19:58
Hi
I have just installed the latest updates and now when I run "Refresh system information" I get the following error
Error - Perl execution failed
Undefined subroutine &main::right_page_cgi called at /usr/share/webmin/virtual-server-theme/recollect.cgi line 10.
Cheers Greg
Status:
Active
Comments
Submitted by andreychek on Mon, 01/12/2015 - 20:10 Comment #1
Does it help to restart Webmin?
You can do that with this command:
/etc/init.d/webmin restart
Submitted by xkeywee on Mon, 01/12/2015 - 20:22 Comment #2
Hi
Yes it did help restarting Webmin but now one of the servers has lost the "Refresh system information" link at the top of the page and they have all lost the "Virtualmin version" from the system information panel.
Cheers Greg
Submitted by xorax on Mon, 01/12/2015 - 20:48 Comment #3
Same error on debian 7.8
Submitted by JamieCameron on Mon, 01/12/2015 - 20:48 Comment #4
You could be seeing a theme package version mismatch. What output do you get if you run :
dpkg --list webmin-virtual-server
dpkg --list webmin-virtual-server-theme
Submitted by xorax on Mon, 01/12/2015 - 20:50 Comment #5
From my side:
#dpkg --list webmin-virtual-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-================-================-====================================================
ii webmin-virtual-server 4.13.gpl-2 all Webmin module for 'Virtualmin Virtual Servers (GPL)'
#dpkg --list webmin-virtual-server-theme
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-================-================-====================================================
ii webmin-virtual-server-t 9.0 all Webmin theme 'Virtualmin Framed Theme'
Thanks
Submitted by xkeywee on Mon, 01/12/2015 - 20:59 Comment #6
I get the following
dpkg --list webmin-virtual-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-============================-========================================================================
ii webmin-virtual-server 4.13-2 Webmin module for 'Virtualmin Virtual Servers'
dpkg --list webmin-virtual-server-theme
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-============================-========================================================================
ii webmin-virtual-server-theme 9.0 Webmin theme 'Virtualmin Framed Theme'
Submitted by JamieCameron on Mon, 01/12/2015 - 22:18 Comment #7
That is odd, I just updated a test system to the latest versions of all packages but was unable to re-produce this error. Try running
/etc/webmin/restart
, and completely refreshing the page in your browser.Submitted by mvander25 on Mon, 01/12/2015 - 22:51 Comment #8
I've tried all the steps above and having the same issue on Ubuntu 14.04
Submitted by xkeywee on Mon, 01/12/2015 - 23:01 Comment #9
Restarting Webmin has removed the error but I have lost the "Refresh system information" link on 1 of the servers.
Submitted by JamieCameron on Mon, 01/12/2015 - 23:19 Comment #10
If anyone who is seeing this error could grant us remote access to your system to debug it, that would be really useful - email me at jcameron@virtualmin.com if possible.
Submitted by fr1ns on Tue, 01/13/2015 - 00:02 Comment #11
The webmin restart worked for me, sorry Jamie nothing to debug here anymore. Getting used to the new layout now... :)
Submitted by b747fp on Tue, 01/13/2015 - 00:05 Comment #12
restarting webmin did nothing for me. it's not just the refresh system info that is having error it's in Virtualmin Configuration as well
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.730 Date: Tue, 13 Jan 2015 06:01:44 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Error - Perl execution failed
Undefined subroutine &main::right_page_cgi called at /usr/share/webmin/virtual-server-theme/config.cgi line 98.
Submitted by b747fp on Tue, 01/13/2015 - 03:17 Comment #13
and this is occurring on multiple Debian 7 servers with virtualmin and nginx. whenever you figure it out please email me thanks
Submitted by Nico94 on Tue, 01/13/2015 - 05:23 Comment #14
Same here on a fresh install on Debian 7.
Reboot does not help.
"Refresh system information" gives :
Error - Perl execution failed
Undefined subroutine &main::right_page_cgi called at /usr/share/webmin/virtual-server-theme/recollect.cgi line 10.
System Settings > Virtualmin Configuration gives :
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.730 Date: Tue, 13 Jan 2015 11:12:40 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &main::right_page_cgi called at /usr/share/webmin/virtual-server-theme/config.cgi line 98.
I'll send and email to Jamie with the access
Submitted by b2bexpress on Tue, 01/13/2015 - 07:02 Comment #15
hi, Nico94, I meet the same problem on Operating system CentOS Linux 6.6
Submitted by alancolyer on Tue, 01/13/2015 - 07:22 Comment #16
Same issue here on CentOS 6.6, using Virtualmin GPL 4.13.
CentOS release 6.6 (Final) LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch Linux 2.6.32-220.23.1.el6.x86_64
Clicking on Refresh System Information results in the following error:
Error - Perl execution failed
Undefined subroutine &main::right_page_cgi called at /usr/libexec/webmin/virtual-server-theme/recollect.cgi line 10.
Note the difference in line number between Debian and CentOS (or this might be down to the theme). Tried restarting webmin but no change. Unfortunately I can't allow remote access, my apologies. Should I open a seperate bug for this on CentOS?
Submitted by b747fp on Tue, 01/13/2015 - 09:55 Comment #17
GPL edition if it makes a difference
Submitted by lostandfound on Tue, 01/13/2015 - 11:19 Comment #18
Experiencing this too:
Operating system CentOS Linux 7.0.1406 | Virtualmin version 4.13.gpl GPL | Webmin version 1.730 | Theme version 9.0
I have tried restarting (/etc/init.d/webmin restart) but the error persists.
Submitted by Bobd on Tue, 01/13/2015 - 11:21 Comment #19
I am using CentOS 6.6 with the latest updates to virtualmin and on one server I updated all six updates and ran into the perl error. On my second server I updated one item at a time and everything went ok until the virtualmin framed theme then I got this error. I rebooted the server and the Refresh System Information link is still there but using it still produces the perl error.
Submitted by JamieCameron on Tue, 01/13/2015 - 13:32 Comment #20
Ok, the underlying cause of this has been found - oddly it doesn't happen on all systems which is why we missed it. An update to the theme package that includes the fix will be coming soon.
Submitted by JamieCameron on Tue, 01/13/2015 - 18:05 Comment #21
There are now updated 9.0-2 theme packages available for download from http://www.webmin.com/vdownload.html to fix this issue. This will also hit our repositories shortly..
Submitted by Bobd on Tue, 01/13/2015 - 18:40 Comment #22
9.0-2 works great, thank you!
Confirming the following update fixed the bug: webmin-virtual-server-theme all Webmin theme 'Virtualmin Framed Theme' 9.0-2
Confirming this bug with duplicate at http://virtualmin.com/node/35839
Submitted by b2bexpress on Wed, 01/14/2015 - 01:12 Comment #24
Dear Sir, after updated to 9.0-2 theme packages, those issues was resolved. thanks!
Submitted by alancolyer on Wed, 01/14/2015 - 07:47 Comment #25
confirming the update to theme 9.0-2 fixed the issue for me on CentOS 6.6 and Virtualmin GPL 4.13. thanks for the fast fix & all the work behind the scenes!
Submitted by xkeywee on Wed, 01/14/2015 - 16:29 Comment #26
Hi Jamie
Thanks for your prompt support, this has rectified the issue on all our servers now.
Cheers Greg