{BBI}Nexus{BBI} Posted February 8, 2008 Report Share Posted February 8, 2008 Info: I'm running Webmin 1.390 (the latest version) on 3 Machines, yet when I try to use the Module Config option on one of the machines I recieve this error: Undefined subroutine &main::ui_table_row called at ./config-lib.pl line 79. I have looked at and compared the offending line with the same line in the other two /usr/libexec/webmin/config-lib.pl files and I see nothing different. I have even ensured they all have exactly the same perl modules installed, still the error remains. :unsure: What's weird is that I'm running Mandriva 2008 free on 2 machines and PClinuxOS 2007 on another, yet it's the Mandriva machine giving me the error. And everything is up to date. Googling comes back with nothing that helps. I'm at a loss as to what to do next. Is there any Perl savvy users out there that can give me any assistance/advice on how to resolve this error? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
scarecrow Posted February 8, 2008 Report Share Posted February 8, 2008 Are you missing any perl modules? If so, install them. Sorry I do not know which... in my distro (Arch Linux) Perl installation is monilithic, and webmin is working right out of the box (although with much fewer modules than Mandriva or a mainstream Linux distro). Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 8, 2008 Report Share Posted February 8, 2008 (edited) subroutine &main::ui_table_row called at ./config-lib.pl line 79. <- that line is not really the error (unless there were differences between the 3 files), the error is that it can't find the subroutine ui_table_row Maybe try comparing the #include lines in the three files, or see if the subroutine is supposed to be in that file and is missing, or see if you can copy a good one over from the other Mandriva box, but it sure does sound like you are missing some Perl module and the error is not really in the file itself. I would go to the Mandriva box that works and do a rpm -qa | grep -i perl and compare it to the same command on the broken box and try to get the same Perl RPMs installed and see if that solves the problem. I know you said "I have even ensured they all have exactly the same perl modules installed", but that's exactly what it sounds like the problem is. You can also try running this repair script: https://mandrivausers.org/index.php?showtopic=10447 Maybe the one machine just somehow is missing some files from a pkg. Edited February 8, 2008 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
{BBI}Nexus{BBI} Posted February 9, 2008 Author Report Share Posted February 9, 2008 Thanks for your input guys. I tried what was suggested. I even took a print out from the output of rpm -qa | grep -i perl from both machines and went through it line by line. I did find 5 perl modules missing and installed them, rebooted the machine but it's still no go unfortunately. It's not a big problem as webmin still functions good enough for everyday use. @Steve: That script is great :) Do you mind if I pass it on (with all due credits of course) to other Mandriva users that I come across? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 10, 2008 Report Share Posted February 10, 2008 Absolutely. That's why it's posted in Tips and Tricks. :D The credit belongs mainly to arusabal...the Lost Bash Guru. Most of the commands in the script I gleamed from him. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.