[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: upgrade issue - can't log in



Jigme Datse Rasku wrote:
Looks like your Perl is missing Math::BigInt and MIME::Lite possibly
some other modules as well.  Build.PL should tell you what is missing.


After some tweaking and installing lots of random perl modules using apt-get, I can now log in, but get this apache log error, repeated with every instance of the login page:

Name "Config::Std::Hash::DEMOLISH" used only once: possible typo at /usr/share/perl5/Class/Std.pm line 523.

What does this mean?

I'm flying blind, but followed your advice and "ran" Build.PL, with output that looks like this:


..hidden..:/usr/local/ledgersmb # perl Build.PL
No 'module_name' was provided and it could not be inferred
from other properties.  This will prevent a packlist from
being written for this file.  Please set either 'module_name'
or 'dist_version_from' in Build.PL.
Creating new 'MYMETA.yml' with configuration results
ERROR: Missing required field 'dist_author' for metafile
ERROR: Missing required field 'dist_abstract' for metafile
Unknown license string 'GPL' at /usr/share/perl5/Module/Build/Base.pm line 4302.
Creating new 'Build' script for 'LedgerSMB' version '1.2.16'

I have no idea what any of that means. What is 'dist_version_from' or 'module_name' and what would I do with either, and does it matter?

This is a VirtualBox test machine, but soon I'm going to have to do the real thing with a live server, so it's pretty important I get it right.

Any help appreciated.


David.


Jigme Datse Rasku

On Tue, Jan 4, 2011 at 6:55 PM, david <..hidden..> wrote:
I'm upgrading from Ubuntu 8.04 LTS to 10.04 LTS.

First I cloned the old server using mondo to a virtualbox server, then
did <apt-get dist-upgrade>. All services are working (with some
tweaking), but I can't log into LSMB.

I'm suspecting a PERL problem, but would appreciate any pointers.

Postgresql is running.

Firefox gives me:

 Error message:
 Premature end of script headers: login.pl

Apache log:

[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] Math::BigInt:
couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc
at LedgerSMB/Form.pm line 36, referer: http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] Can't locate
MIME/Lite.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at LedgerSMB/Mailer.pm line 39., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] BEGIN
failed--compilation aborted at LedgerSMB/Mailer.pm line 39., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] Compilation
failed in require at LedgerSMB/Form.pm line 39., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] BEGIN
failed--compilation aborted at LedgerSMB/Form.pm line 39., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] Compilation
failed in require at LedgerSMB/Sysconfig.pm line 7., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] BEGIN
failed--compilation aborted at LedgerSMB/Sysconfig.pm line 7., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] Compilation
failed in require at /usr/local/ledgersmb/login.pl line 52., referer:
http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] BEGIN
failed--compilation aborted at /usr/local/ledgersmb/login.pl line 52.,
referer: http://xxx.com.au/ledgersmb/
[Wed Jan 05 12:59:49 2011] [error] [client xx.xx.xx.xx] Premature end of
script headers: login.pl, referer: http://xxx.com.au/ledgersmb/