Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2671 not showing any modules on OpenBSD 4.0

closed-works-for-me
Jamie Cameron
5
2008-02-13
2006-12-01
Marc P.
No

i've installed webmin on serveral obsd machines. on one machine, which i upgraded from 3.9 to 4.0, webmin shows the perl modules and installs newer modules etc. on a different machine, which i reinstalled 4.0 on and installed webmin, webmin doesn't show any modules for perl (i think in the core-package are some integrated at least) nor installs it any. it fetches the packages and then stalls forever after fetching it. in the action log is no entry, that webmin does anything.
fwiw, here's the perl-related output of 'ps aux':

root 28163 0.0 1.3 3364 3256 ?? Ss 12:06PM 0:00.11 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/min
root 12466 0.0 4.1 9956 10752 ?? I 12:08PM 0:05.21 perl: /root/webmin-1.310/cpan/download.cgi (perl)
root 1051 0.0 0.2 576 440 ?? Is 12:08PM 0:00.03 sh -c sh
root 23574 0.0 1.8 3204 4580 ?? I 12:08PM 0:00.51 /usr/bin/perl Makefile.PL /usr/sbin/openssl --skip

i wanted to install the module Net::SSLeay.

upgraded to webmin 1.310 today. webmin 1.300 didn't work either with the perl modules. it was working on 3.9 before the reinstall.

if more information is needed, i will bring it in.

TIA,
marc

Discussion

  • Marc P.
    Marc P.
    2006-12-01

    Screenshots from the modules-pages.

     
    Attachments
  • Jamie Cameron
    Jamie Cameron
    2006-12-01

    Logged In: YES
    user_id=129364
    Originator: NO

    Does this happen for Perl modules other than Net::SSLeay, such as Net::FTP ? That SSL module does some tests as part of its install process that can be rather slow ..

    Also, where on your system does Perl store it's modules?

     
  • Marc P.
    Marc P.
    2006-12-04

    Logged In: YES
    user_id=1066422
    Originator: YES

    the install of Net::FTP went well. i installed Bundle::CPAN from he cpan shell and it went well, too. i figured out, that the checksum isn't right on Net::SSLeay for whatever reasons. deleting ~/.cpan doesn't solve the problem (downloadscreen hangs - as in the screenshot - and cpan is complaining about the bad checksum).

    the modules are stored in /usr/libdata/perl5/

     
  • Jamie Cameron
    Jamie Cameron
    2006-12-04

    Logged In: YES
    user_id=129364
    Originator: NO

    Do those other modules you install show up OK in Webmin's installed modules list?

     
  • Marc P.
    Marc P.
    2006-12-05

    Logged In: YES
    user_id=1066422
    Originator: YES

    yes, they do.

    can you implement a timeout for the installation, if anything goes wrong, like the checksum check?

     
  • Jamie Cameron
    Jamie Cameron
    2006-12-05

    Logged In: YES
    user_id=129364
    Originator: NO

    A timeout is a good idea .. I believe that for Net::SSLeay, the slow part is the 'test' phase of the install.
    If you just select 'Make and install' when compiling, does it still happen?

     
  • Marc P.
    Marc P.
    2006-12-06

    Logged In: YES
    user_id=1066422
    Originator: YES

    hi jamie,

    webmin doesn't show me the box. it stalls right after the download dialog and doesn't proceed any further. if it were the tests for this module, i would be patient and wait for the tests to end, but webmin doesn't even get there.

    installing this module by hand and without cpan works and webmin does recognize this.

     
  • Jamie Cameron
    Jamie Cameron
    2006-12-06

    Logged In: YES
    user_id=129364
    Originator: NO

    When it hangs, it is using up a lot of CPU time?

     
  • Marc P.
    Marc P.
    2006-12-08

    Logged In: YES
    user_id=1066422
    Originator: YES

    yes, it does (okay, it's not that much, but the process is on the cpu and login is laggy). i uninstalled Net::SSLeay to test it again today.

    now something odd happens, too. webmin does start a lot of processes, where it only had one before:

    ps aux output after a fresh restart of webmin:

    marc 19365 0.0 0.5 3148 1404 ?? S 9:26AM 0:00.09 sshd: marc@ttyp1 (sshd)
    root 14290 0.5 1.1 3524 2888 ?? Ss 9:28AM 0:00.02 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/miniserv.conf
    marc 16692 0.0 0.2 564 472 p1 Is 9:26AM 0:00.01 -ksh (ksh)

    after starting the install, where it stalls after download the file:

    root 19964 24.8 4.4 10556 11464 ?? S 9:29AM 0:05.35 perl: /root/webmin-1.310/cpan/download.cgi (perl)
    root 22021 8.4 1.8 3192 4580 p0 S+ 9:29AM 0:00.50 /usr/bin/perl Makefile.PL /usr/sbin/openssl --skip
    ...
    marc 19365 0.0 0.5 3148 1404 ?? S 9:26AM 0:00.10 sshd: marc@ttyp1 (sshd)
    root 14290 0.0 1.3 3752 3396 ?? Ss 9:28AM 0:00.11 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/miniserv.conf
    root 21912 0.0 1.0 3572 2720 ?? I 9:29AM 0:00.03 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/miniserv.conf
    root 21625 0.0 1.1 3588 2748 ?? I 9:29AM 0:00.02 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/miniserv.conf
    root 23961 0.0 1.1 3592 2736 ?? I 9:29AM 0:00.02 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/miniserv.conf
    root 11327 0.0 1.1 3604 2764 ?? I 9:29AM 0:00.02 /usr/bin/perl /root/webmin-1.310/miniserv.pl /etc/webmin/miniserv.conf
    root 14996 0.0 0.2 464 412 p0 Ss+ 9:29AM 0:00.02 sh -c sh
    marc 16692 0.0 0.2 564 472 p1 Is 9:26AM 0:00.01 -ksh (ksh)

    and there it hangs and the browser still shows me the download windows as you can see from my screenshots i attached earlier.

    marc

     
  • Jamie Cameron
    Jamie Cameron
    2006-12-08

    Logged In: YES
    user_id=129364
    Originator: NO

    Those processes are not really a problem .. Webmin often starts several processes to deal with multiple HTTP connections.
    The odd thing is, on my machine Net::SSLeay installs without any problems. To really debug this, I'd have to login to a box on which it is failing.

     
  • Marc P.
    Marc P.
    2006-12-08

    Logged In: YES
    user_id=1066422
    Originator: YES

    jamie, thanks for your time, but i can't give you access to this box, because this is a system in our office and my employer doesn't want this. i will install the modules by hand as needed and maybe give it a try with a reinstall, when i have time for that, as webmin is working on the other system and it worked on this box before the reinstall :S.

     
  • Jamie Cameron
    Jamie Cameron
    2008-02-13

    • status: open --> closed-works-for-me