running windows 10 64bit and active perl 32bit verision 5.22.4.
perl setup.pl has the follow error during install.
C:\Webmin>perl setup.pl
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in C:/Webmin ...
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
Undefined subroutine &main::translate_filename called at web-lib-funcs.pl line 1117, <stdin> line 2.</stdin>
C:\Webmin>
noticed that this was an old version so downloaded 1.881.zip and it installed fine, however when I login into webmin I have a blank screen after the login credentails and in the miniserv.error log I see:
[06/Jun/2018:15:32:09 -0400] miniserv.pl started
[06/Jun/2018:15:32:09 -0400] Using MD5 module Digest::MD5
[06/Jun/2018:15:32:09 -0400] Using SHA512 module Crypt::SHA
[06/Jun/2018:15:32:09 -0400] Random number generator file /dev/urandom is not reliable
The getpwnam function is unimplemented at c:/webmin//authentic-theme/authentic-init.pm line 1115.
Last edit: John Beaudoin 2018-06-06
Please refere here:
http://twiki.org/cgi-bin/view/Support/PerlUnimplementedFunctionsOnWindows
I read that as well. I created a test script to see if the if the function worked and it did.
ie:
use Win32;
use Win32::pwent qw(getpwnam getpwent endpwent);
I guess my concern is that if this is indeed a problem with activeperl, then the developers of webmin need to either remove the installation proceedures for windows, update them or fix the code.
re: http://www.webmin.com/windows.html
Last edit: John Beaudoin 2018-06-07
Have a look at the fix. It's very few places where it's really needed by the theme. It should load. Please check it.
You can install it using
theme-update.shscript.Works much better. Thank you. I do see some errors in the log however.
re:
08/Jun/2018:10:18:06 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
'process' is not recognized as an internal or external command,
operable program or batch file.
'process' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
Undefined subroutine &proc::get_memory_info called at C:/Webmin/authentic-theme/stats.cgi line 32.
[08/Jun/2018:10:18:09 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Use of uninitialized value $ip in concatenation (.) or string at C:/Webmin/system-status/system_info.pl line 37.
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
'process' is not recognized as an internal or external command,
operable program or batch file.
'process' is not recognized as an internal or external command,
operable program or batch file.
Use of uninitialized value $lastreboot in numeric gt (>) at C:/Webmin/webmin/webmin-lib.pl line 1075.
'process' is not recognized as an internal or external command,
operable program or batch file.
'process' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
Undefined subroutine &proc::get_memory_info called at C:/Webmin/authentic-theme/stats.cgi line 32.
[08/Jun/2018:10:18:10 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Undefined subroutine &proc::get_memory_info called at C:/Webmin/authentic-theme/stats.cgi line 32.
[08/Jun/2018:10:18:10 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
'process' is not recognized as an internal or external command,
operable program or batch file.
'process' is not recognized as an internal or external command,
operable program or batch file.
Error: You did not enter anything to search for!
Undefined subroutine &proc::get_memory_info called at C:/Webmin/authentic-theme/stats.cgi line 32.
[08/Jun/2018:10:18:15 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
The getpwnam function is unimplemented at ./filemin-lib.pl line 42.
[08/Jun/2018:10:18:52 -0400] [127.0.0.1] /filemin/index.cgi : Missing Content-Type Header
Undefined subroutine &proc::get_memory_info called at C:/Webmin/authentic-theme/stats.cgi line 32.
[08/Jun/2018:10:20:05 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Looks like the theme doesn't handle the case where the OS has no
get_memory_infofunction.Fixed:
https://github.com/authentic-theme/authentic-theme/commit/5759f179653fca0cf5d00c014de7e74690bd08e1
Thar fixed the memory issue. Looks like we just have one more issue.
ie"
Undefined subroutine &proc::get_cpu_io_usage called at C:/Webmin/authentic-theme/stats.cgi line 33.
[10/Jun/2018:17:30:20 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Undefined subroutine &proc::get_cpu_io_usage called at C:/Webmin/authentic-theme/stats.cgi line 33.
[10/Jun/2018:17:30:21 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Undefined subroutine &proc::get_cpu_io_usage called at C:/Webmin/authentic-theme/stats.cgi line 33.
[10/Jun/2018:17:30:29 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Undefined subroutine &proc::get_cpu_io_usage called at C:/Webmin/authentic-theme/stats.cgi line 33.
[10/Jun/2018:17:31:04 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Undefined subroutine &proc::get_cpu_io_usage called at C:/Webmin/authentic-theme/stats.cgi line 33.
[10/Jun/2018:17:31:34 -0400] [127.0.0.1] /stats.cgi : Missing Content-Type Header
Temp file clearing is not done for the custom directory c:/webmintemp
Temp file clearing is not done for the custom directory c:/webmintemp
Temp file clearing is not done for the custom directory c:/webmintemp
Temp file clearing is not done for the custom directory c:/webmintemp
Temp file clearing is not done for the custom directory c:/webmintemp
Temp file clearing is not done for the custom directory c:/webmintemp
Temp file clearing is not done for the custom directory c:/webmintemp
John, did you have a chance to try my latest commit? Does it work for you right now?
The latest commit fixed the memory sub routine issue ie: Undefined
subroutine &proc::get_memory_info called at
C:/Webmin/authentic-theme/stats.cgi line 32.
But there still is an error the the cpu sub ie: Undefined subroutine
&proc::get_cpu_io_usage called at C:/Webmin/authentic-theme/stats.cgi line
33.
John
From: Ilia Rostovtsev qooob@users.sourceforge.net
Sent: Tuesday, June 12, 2018 8:37 AM
To: [webadmin:bugs] 5135@bugs.webadmin.p.re.sourceforge.net
Subject: [webadmin:bugs] #5135 perl error installing on windows 10
John, did you have a chance to try my latest commit? Does it work for you
right now?
[bugs:#5135] https://sourceforge.net/p/webadmin/bugs/5135/ perl error
installing on windows 10
Status: open
Group: 1.880
Created: Wed Jun 06, 2018 06:25 PM UTC by John Beaudoin
Last Updated: Mon Jun 11, 2018 01:37 PM UTC
Owner: nobody
running windows 10 64bit and active perl 32bit verision 5.22.4.
perl setup.pl has the follow error during install.
C:\Webmin>perl setup.pl
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in C:/Webmin ...
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
Undefined subroutine &main::translate_filename called at web-lib-funcs.pl
line 1117, <stdin> line 2.</stdin>
C:\Webmin>
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/webadmin/bugs/5135/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
Related
Bugs: #5135
Yes, I should have looked more patiently. Sorry. Does the Dashboard loads for you without problems?
the dashboard opens fine now.
I have been going through the menu picks. network interfaces activated on
boot does not list any, however they do show up under "active now".
So far the rest of the picks show up fine. Thanks for the work you have
done so far.
On Tue, 12 Jun 2018 at 16:16, Ilia Rostovtsev qooob@users.sourceforge.net
wrote:
Related
Bugs: #5135
Last edit: John Beaudoin 2018-06-13
This is very strange that you have Dashboard working as expected, because as I checked,
proc/windows-lib.plonly contains one sub, wich islist_processes, so I expected it to fail as well.Anyway, I made a patch. Please update the theme and try again. I expect all errors to go away.
You are correct that the "running processes" has some issues, but it does not fail. Here is the latest log FYI...
[13/Jun/2018:08:59:38 -0400] miniserv.pl started
[13/Jun/2018:08:59:38 -0400] Using MD5 module Digest::MD5
[13/Jun/2018:08:59:38 -0400] Using SHA512 module Crypt::SHA
[13/Jun/2018:08:59:38 -0400] Random number generator file /dev/urandom is not reliable
Temp file clearing is not done for the custom directory c:/webmintemp
Use of uninitialized value $settings{"settings_sysinfo_real_time_statu"...} in string ne at C:/Webmin/authentic-theme/stats.cgi line 25.
Use of uninitialized value $settings{"settings_sysinfo_real_time_statu"...} in string ne at C:/Webmin/authentic-theme/stats.cgi line 25.
The system cannot find the path specified.
Use of uninitialized value $settings{"settings_sysinfo_real_time_statu"...} in string ne at C:/Webmin/authentic-theme/stats.cgi line 25.
Use of uninitialized value $ip in concatenation (.) or string at C:/Webmin/system-status/system_info.pl line 37.
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
Use of uninitialized value $lastreboot in numeric gt (>) at C:/Webmin/webmin/webmin-lib.pl line 1075.
The system cannot find the path specified.
'LC_ALL' is not recognized as an internal or external command,
operable program or batch file.
Yes, it's because you haven't saved theme settings yet. It's fixed.