[SOLVED] Webmin perl execution fails

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Webmin perl execution fails

Postby mark9117 » Dec 16th, '12, 04:19

Brand new Mageia 2 install. I've got webmin installed and updated, but attempting to access modules like Cron, Scheduled Commands, produces:
Code: Select all
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.610 Date: Sun, 16 Dec 2012 02:16:38 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed

Undefined subroutine &proc::list_processes called at /usr/libexec/webmin/cron/index.cgi line 44.



I've also noticed that trying to create a new user with the Users and Groups module yields this:

Code: Select all
Failed to save user : Missing file to open at WebminCore::/usr/libexec/webmin/web-lib-funcs.pl line 3018


I've uninstalled and reinstalled Webmin, updated it, reinstlled the Webmincron module, checked the config of that module.

I'm kind of stumped here. Any suggestions?

Thanks.

Mark
Last edited by mark9117 on Dec 18th, '12, 00:05, edited 1 time in total.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby djennings » Dec 16th, '12, 11:06

webmin is broken in mageia 2
As it happens a fixed version is just out for QA testing. If you enable the Core/Updates_Testing repository in MageiaControlCentre you can install the new version. Delete the /etc/webmin directory first to ensure the current configuration is not used.

Do not forget to disable the core/updates_testing repository after you have installed webmin or else you could end up installing all sorts of experimental stuff.

Let us know if you find any bugs in the new version.
https://bugs.mageia.org/show_bug.cgi?id=7803
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Webmin perl execution fails

Postby mark9117 » Dec 16th, '12, 20:09

Awesome djennings. Thanks much for the info.


Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby doktor5000 » Dec 17th, '12, 22:16

So did this solve your problem?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Webmin perl execution fails

Postby mark9117 » Dec 17th, '12, 22:19

doktor5000 wrote:So did this solve your problem?


Don't know yet. Haven't had the chance to try it.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby mark9117 » Dec 17th, '12, 22:32

doktor5000 wrote:So did this solve your problem?


Nope:

Code: Select all
# webmin
Starting webmin (via systemctl):  Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended.
Job failed. See system journal and 'systemctl status' for details.
                                                                                                                        [FAILED]
Installation problem. Please reinstall.


Trying again now.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby mark9117 » Dec 17th, '12, 22:38

Reinstalled. Got this:

Code: Select all
# service webmin restart
Restarting webmin (via systemctl):  Failed to issue method call: Unit webmin.service failed to load: No such file or directory. See system logs and 'systemctl status webmin.service' for details.


Logs don't seem to say anything about it.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby alf » Dec 17th, '12, 23:08

mark9117 wrote:Reinstalled
Restarting webmin (via systemctl): Failed to issue method call: Unit webmin.service failed to load: No such file or directory.

plz show output of
Code: Select all
updatedb && locate webmin


just installed, works fine here. no probs neither in Cauldron nor MGA2.

ps. i simply used
Code: Select all
webmin
as root in console to start the service.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Webmin perl execution fails

Postby mark9117 » Dec 17th, '12, 23:20

I tried that too.

Code: Select all
# webmin
Starting webmin (via systemctl):  Failed to issue method call: Unit webmin.service failed to load: No such file or directory. See system logs and 'systemctl status webmin.service' for details.
                                                                                                                        [FAILED]
Installation problem. Please reinstall.


And I did updatedb. Webmin is found at /usr/bin/webmin.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby alf » Dec 17th, '12, 23:55

hum, that's weird, no idea atm. :(

ps. if you start the service via MCC and reboot?
Last edited by alf on Dec 17th, '12, 23:57, edited 1 time in total.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Webmin perl execution fails

Postby mark9117 » Dec 17th, '12, 23:57

On a hunch I did a full service restart (# service -R) and I saw webmin shutdown, which was not happening when I tried cycling it individually. I tried to open it up, opted for the security exception and as I logged in, KDE restarted.

I'm not totally sure what the relationship was because I'm doing several other things at the same time. At any rate, I updated Webmin (again) and it installed with this:

Code: Select all
Webmin install complete. You can now login to https://spike:10000/
as root with your root password.
Re-creating /var/webmin directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or director


I assume this is the breakage mentioned by djennings above.

I logged on and did the same things I've been doing and got the same things I've been getting:

Code: Select all
The Cron jobs directory does not exist. Maybe the module's configuration is incorrect, or Cron is not installed?


I could go in and configure that module, but I'm pretty sure I'll get the same things I've been getting.

I'm going to try installing the version from testing again.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Webmin perl execution fails

Postby mark9117 » Dec 18th, '12, 00:05

Stand down - issue resolved.

I installed the version of Webmin referenced by djennings above and this time it worked. I was able to get logged in, change the theme to something I can work with and access the Cron module, etc.

We're good here. Thanks for the assist. Well done.

Take $20 out of petty cash and go home early.

Mark

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: [SOLVED] Webmin perl execution fails

Postby djennings » Dec 18th, '12, 00:21

Glad to hear it Mark.
If you could take a moment to update the Bug report at https://bugs.mageia.org/show_bug.cgi?id=7803 with a note of what you tested and the architecture you are using it would save someone else covering the same ground
Thanks
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron