LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-28-2009, 04:11 PM   #1
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Rep: Reputation: 21
Mandriva 2010 and perl 5.10.1


I upgraded from 2009.1 to 2010 Thursday by adding the 2010 sorces and removing the 2009.1 ones then running urpmi --auto-update -a and let it run. During this upgrade perl 5.10.1 was installed however it appears that not all modules were installed in the 5.10.1 folders for instance:

/usr/lib/perl5/site_perl/5.10.0/AppConfig.pm
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Net/SSLeay.pm

was not installed in the new 5.10.1 folder while some others were, for instance:

/usr/lib/perl5/vendor_perl/5.10.1/Authen/SASL.pm

Since I'm having a problem logging into webmin using https://localhost:10000 which results in:

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

I've been advised that the problem is probably the Net::SSLeay module being in the incorrect place.

Any ideas on how to correct the modules that were not installed in the new perl version? I tried installing the Net::SSLeay module and some others again but was informed that they were already installed in 5.10.0. I copied over all the Net::SSLeay files over to the correct place in 5.10.1 howver that hasn't seemed to correct the problem either.

Thanks for any advice/assistance.

Chris
 
Old 11-28-2009, 05:26 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Perl keeps track of the installed modules.
( Using the hidden pack lists may be ? )

Suggest : Use the cpan shell to install the missing files.

# cpan
> cpan install Xxxx::Yyyy

The cpan shell will download and install dependencies
too, and also suggest updates.
.....

Last edited by knudfl; 11-28-2009 at 05:29 PM.
 
Old 11-28-2009, 07:47 PM   #3
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
I see gross differences between what's installed in 5.10.0 and 5.10.1. For instance in /usr/lib/perl5/5.10.0 I have

Code:
drwxr-xr-x 3 root root 4096 2009-05-02 18:48 App/
drwxr-xr-x 3 root root 4096 2009-05-02 06:59 Archive/
drwxr-xr-x 3 root root 4096 2009-11-26 11:02 CPAN/
drwxr-xr-x 2 root root 4096 2009-11-26 11:02 ExtUtils/
drwxr-xr-x 3 root root 4096 2009-11-26 11:02 i386-linux-thread-multi/
drwxr-xr-x 4 root root 4096 2009-05-02 18:48 TAP/
drwxr-xr-x 2 root root 4096 2009-11-26 11:02 Test/
drwxr-xr-x 4 root root 4096 2009-11-26 11:02 unicore/
while in /usr/lib/perl5/5.10.1 I have:

Code:
-r--r--r--  1 root root    838 2009-09-27 17:11 abbrev.pl
-r--r--r--  1 root root   2594 2009-09-27 17:11 AnyDBM_File.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 App/
-r--r--r--  1 root root   1298 2009-09-27 17:11 assert.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Attribute/
-r--r--r--  1 root root  14877 2009-09-27 17:11 attributes.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:02 autodie/
-r--r--r--  1 root root  11763 2009-09-27 17:11 autodie.pm
-r--r--r--  1 root root  14997 2009-09-27 17:11 AutoLoader.pm
-r--r--r--  1 root root  19637 2009-09-27 17:11 AutoSplit.pm
-r--r--r--  1 root root   4238 2009-09-27 17:11 autouse.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 B/
-r--r--r--  1 root root   6986 2009-09-27 17:11 base.pm
-r--r--r--  1 root root  28530 2009-09-27 17:11 Benchmark.pm
-r--r--r--  1 root root   7368 2009-09-27 17:11 bigfloat.pl
-r--r--r--  1 root root   8959 2009-09-27 17:11 bigint.pl
-r--r--r--  1 root root  17852 2009-09-27 17:11 bigint.pm
-r--r--r--  1 root root  18673 2009-09-27 17:11 bignum.pm
-r--r--r--  1 root root   4476 2009-09-27 17:11 bigrat.pl
-r--r--r--  1 root root  14442 2009-09-27 17:11 bigrat.pm
-r--r--r--  1 root root   2106 2009-09-27 17:11 blib.pm
-r--r--r--  1 root root    758 2009-09-27 17:11 bytes_heavy.pl
-r--r--r--  1 root root   2384 2009-09-27 17:11 bytes.pm
-r--r--r--  1 root root   1122 2009-09-27 17:11 cacheout.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Carp/
-r--r--r--  1 root root   7611 2009-09-27 17:11 Carp.pm
-r--r--r--  1 root root  15670 2009-09-27 17:11 charnames.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Class/
-r--r--r--  1 root root   3191 2009-09-27 17:11 complete.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Config/
-r--r--r--  1 root root  12528 2009-09-27 17:11 constant.pm
drwxr-xr-x  7 root root   4096 2009-11-28 17:38 CPAN/
-r--r--r--  1 root root 130907 2009-09-27 17:11 CPAN.pm
-r--r--r--  1 root root   1993 2009-09-27 17:11 ctime.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 DBM_Filter/
-r--r--r--  1 root root  14415 2009-09-27 17:11 DBM_Filter.pm
-r--r--r--  1 root root  19202 2009-09-27 17:11 DB.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Devel/
-r--r--r--  1 root root  17380 2009-09-27 17:11 diagnostics.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Digest/
-r--r--r--  1 root root  10354 2009-09-27 17:11 Digest.pm
-r--r--r--  1 root root   1937 2009-09-27 17:11 DirHandle.pm
-r--r--r--  1 root root   2175 2009-09-27 17:11 dotsh.pl
-r--r--r--  1 root root  16899 2009-09-27 17:11 Dumpvalue.pm
-r--r--r--  1 root root  15275 2009-09-27 17:11 dumpvar.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Encode/
drwxr-xr-x  2 root root   4096 2009-11-26 11:02 encoding/
-r--r--r--  1 root root   4488 2009-09-27 17:11 English.pm
-r--r--r--  1 root root   5170 2009-09-27 17:11 Env.pm
-r--r--r--  1 root root   1736 2009-09-27 17:11 exceptions.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Exporter/
-r--r--r--  1 root root  18595 2009-09-27 17:11 Exporter.pm
drwxr-xr-x  7 root root   4096 2009-11-26 11:01 ExtUtils/
-r--r--r--  1 root root   1019 2009-09-27 17:11 fastcwd.pl
-r--r--r--  1 root root  40966 2009-09-27 17:11 Fatal.pm
-r--r--r--  1 root root   5092 2009-09-27 17:11 feature.pm
-r--r--r--  1 root root   9507 2009-09-27 17:11 fields.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 File/
-r--r--r--  1 root root   5570 2009-09-27 17:11 FileCache.pm
-r--r--r--  1 root root   6778 2009-09-27 17:11 FileHandle.pm
-r--r--r--  1 root root   4003 2009-09-27 17:11 filetest.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Filter/
-r--r--r--  1 root root   5658 2009-09-27 17:11 FindBin.pm
-r--r--r--  1 root root   1130 2009-09-27 17:11 finddepth.pl
-r--r--r--  1 root root   1185 2009-09-27 17:11 find.pl
-r--r--r--  1 root root    642 2009-09-27 17:11 flush.pl
-r--r--r--  1 root root   1427 2009-09-27 17:11 getcwd.pl
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Getopt/
-r--r--r--  1 root root   1322 2009-09-27 17:11 getopt.pl
-r--r--r--  1 root root   1406 2009-09-27 17:11 getopts.pl
-r--r--r--  1 root root    727 2009-09-27 17:11 hostname.pl
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 I18N/
drwxr-xr-x 32 root root   4096 2009-11-26 11:02 i386-linux-thread-multi/
-r--r--r--  1 root root   1166 2009-09-27 17:11 if.pm
-r--r--r--  1 root root    283 2009-09-27 17:11 importenv.pl
-r--r--r--  1 root root   3266 2009-09-27 17:11 integer.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 IO/
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 IPC/
-r--r--r--  1 root root   3084 2009-09-27 17:11 less.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Locale/
-r--r--r--  1 root root    820 2009-09-27 17:11 locale.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Log/
-r--r--r--  1 root root   1255 2009-09-27 17:11 look.pl
drwxr-xr-x  4 root root   4096 2009-11-26 11:01 Math/
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Memoize/
-r--r--r--  1 root root  35295 2009-09-27 17:11 Memoize.pm
drwxr-xr-x  4 root root   4096 2009-11-26 11:01 Module/
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Net/
-r--r--r--  1 root root   2213 2009-09-27 17:11 newgetopt.pl
-r--r--r--  1 root root  18481 2009-09-27 17:11 NEXT.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Object/
-r--r--r--  1 root root    185 2009-09-27 17:11 open2.pl
-r--r--r--  1 root root    185 2009-09-27 17:11 open3.pl
-r--r--r--  1 root root   7740 2009-09-27 17:11 open.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:02 overload/
-r--r--r--  1 root root   1801 2009-09-27 17:11 overloading.pm
-r--r--r--  1 root root  48050 2009-09-27 17:11 overload.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Package/
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Params/
-r--r--r--  1 root root   2998 2009-09-27 17:11 parent.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Parse/
-r--r--r--  1 root root 317682 2009-09-27 17:11 perl5db.pl
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 PerlIO/
-r--r--r--  1 root root  11122 2009-09-27 17:11 PerlIO.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:02 pod/
drwxr-xr-x  4 root root   4096 2009-11-26 11:01 Pod/
-r--r--r--  1 root root   1478 2009-09-27 17:11 pwd.pl
-r--r--r--  1 root root  18793 2009-09-27 17:11 Safe.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Search/
-r--r--r--  1 root root   1076 2009-09-27 17:11 SelectSaver.pm
-r--r--r--  1 root root  17341 2009-09-27 17:11 SelfLoader.pm
-r--r--r--  1 root root   8685 2009-09-27 17:11 Shell.pm
-r--r--r--  1 root root    276 2009-09-27 17:11 shellwords.pl
-r--r--r--  1 root root   7611 2009-09-27 17:11 sigtrap.pm
-r--r--r--  1 root root   6093 2009-09-27 17:11 sort.pm
-r--r--r--  1 root root    590 2009-09-27 17:11 stat.pl
-r--r--r--  1 root root   3716 2009-09-27 17:11 strict.pm
-r--r--r--  1 root root    842 2009-09-27 17:11 subs.pm
-r--r--r--  1 root root  28508 2009-09-27 17:11 Switch.pm
-r--r--r--  1 root root   4794 2009-09-27 17:11 Symbol.pm
-r--r--r--  1 root root   4806 2009-09-27 17:11 syslog.pl
-r--r--r--  1 root root    164 2009-09-27 17:11 tainted.pl
drwxr-xr-x  4 root root   4096 2009-11-26 11:01 TAP/
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Term/
-r--r--r--  1 root root   4114 2009-09-27 17:11 termcap.pl
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Test/
-r--r--r--  1 root root  28800 2009-09-27 17:11 Test.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Text/
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Thread/
-r--r--r--  1 root root   8285 2009-09-27 17:11 Thread.pm
drwxr-xr-x  3 root root   4096 2009-11-26 11:01 Tie/
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 Time/
-r--r--r--  1 root root    690 2009-09-27 17:11 timelocal.pl
drwxr-xr-x  3 root root   4096 2009-11-26 11:02 Unicode/
drwxr-xr-x  4 root root   4096 2009-11-26 11:02 unicore/
-r--r--r--  1 root root   6536 2009-09-27 17:11 UNIVERSAL.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:02 User/
-r--r--r--  1 root root   8001 2009-09-27 17:11 utf8_heavy.pl
-r--r--r--  1 root root   6918 2009-09-27 17:11 utf8.pm
-r--r--r--  1 root root   3731 2009-09-27 17:11 validate.pl
-r--r--r--  1 root root   2358 2009-09-27 17:11 vars.pm
drwxr-xr-x  2 root root   4096 2009-09-27 17:11 version/
-r--r--r--  1 root root   1037 2009-09-27 17:11 version.pm
-r--r--r--  1 root root   4328 2009-09-27 17:11 vmsish.pm
drwxr-xr-x  2 root root   4096 2009-11-26 11:01 warnings/
-r--r--r--  1 root root  16133 2009-09-27 17:11 warnings.pm
and so forth, /usr/lib/perl5/site_perl/5.10.0 differs completely from /site_perl/5.10.1 as does /vender_perl. I've been told that 5.10.1 supports 5.10.0 modules also and if I read the output of perl -V I guess that's correct:

Code:
Locally applied patches:
	Mandriva Linux patches
  Built under linux
  Compiled at Sep 27 2009 18:09:08
  @INC:
    /usr/lib/perl5/site_perl/5.10.1/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.10.1
    /usr/lib/perl5/vendor_perl/5.10.1/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.10.1
    /usr/lib/perl5/5.10.1/i386-linux-thread-multi
    /usr/lib/perl5/5.10.1
    /usr/lib/perl5/site_perl/5.10.0
    /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.10.0
    /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl
So, maybe the issue is all in my head and there is some other reason why I can't use https to log-on to webmin. One other note, I had to change all references to 5.10.0 to 5.10.1 in spamd, sa-update and sa-learn. Now possibly if I'd done a fresh install of SpamAssassin it would have picked up on the change, I don't know.

Chris
 
Old 11-28-2009, 10:07 PM   #4
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by knudfl View Post
Perl keeps track of the installed modules.
( Using the hidden pack lists may be ? )

Suggest : Use the cpan shell to install the missing files.

# cpan
> cpan install Xxxx::Yyyy

The cpan shell will download and install dependencies
too, and also suggest updates.
.....
I belive there is something definitely wrong with the way Mandriva has installed 5.10.1 as when attempting to install a module suggested by webmin as a test I got what is shown in the pastebin link.

http://pastebin.com/m4b469e56
 
1 members found this post helpful.
Old 11-29-2009, 04:44 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Mandriva 2010 ....... ref. pastebin file :

The missing headers, EXTERN.h, embed.h etc. etc. are in
the package perl-devel

Please install / reinstall it, if possible.

# urpmi perl-devel perl-CPAN

A lot of perl modules are listed in the package manager,
Add / Remove Software. Or :
# urpmq --fuzzy perl > available-perl.txt
.. will create a text list in /home/'username'/
I get 1,828 lines in the file available-perl.txt .
.....

Last edited by knudfl; 11-29-2009 at 04:48 AM.
 
Old 11-29-2009, 08:41 AM   #6
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Thank you, that did the trick as far as failed module installs goes it seems. Though I log in locally to webmin I still can't figure out why when using https://localhost:10000 I still get the

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

error even though I see that some modules were updated ie..Net::SSLeay.

Thanks for the help
Chris
 
Old 11-29-2009, 02:38 PM   #7
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
The https issue has been solved. Coming home from the grocery store this morning a light bulb went off. I needed to check the SSL setup in Webmin. Under Webmin Configuration > SSL Encryption > Private key file is the path /etc/ssl/webmin/miniserv.pem. What had happened when I upgraded is that the file name was changed to miniserv.pem.rpmsave. Changing it back to miniserv.pem corrected the problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2010 gerard4143 Mandriva 16 03-19-2010 09:44 PM
sound problem with mandriva 2010 alam Mandriva 26 02-02-2010 02:15 PM
Mandriva 2010 Package manager gerard4143 Mandriva 3 11-13-2009 05:11 PM
LXer: 20 Features in Mandriva 2010 LXer Syndicated Linux News 0 10-26-2009 08:10 AM
Should I and how to use Mandriva 2010 Beta? markw10 Mandriva 3 09-23-2009 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration