Refresh system information displays error

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

Does it help to restart Webmin?

You can do that with this command:

/etc/init.d/webmin restart

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

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

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

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'

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.

I've tried all the steps above and having the same issue on Ubuntu 14.04

Restarting Webmin has removed the error but I have lost the "Refresh system information" link on 1 of the servers.

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.

The webmin restart worked for me, sorry Jamie nothing to debug here anymore. Getting used to the new layout now... :)

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.

and this is occurring on multiple Debian 7 servers with virtualmin and nginx. whenever you figure it out please email me thanks

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

hi, Nico94, I meet the same problem on Operating system CentOS Linux 6.6

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?

GPL edition if it makes a difference

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.

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.

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.

Francewhoa's picture
Submitted by Francewhoa on Tue, 01/13/2015 - 22:19

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

Dear Sir, after updated to 9.0-2 theme packages, those issues was resolved. thanks!

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!

Hi Jamie

Thanks for your prompt support, this has rectified the issue on all our servers now.

Cheers Greg