|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Panic after Ubuntu updateHi all,
once again the Ubuntu upgrade has failed, but now having a working machine I can't log into LedgerSMB - I can connect to Apache2 ok, but when LSMB goes to start up things go wrong. I can log into Postgres/psql ok. After much faffing I think the problem is this (output from running login.pl in a terminal : beamends@beamends-1:~$ '/usr/local/ledgersmb/login.pl' Can't locate LedgerSMB/Sysconfig.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/ledgersmb/login.pl line 52. BEGIN failed--compilation aborted at /usr/local/ledgersmb/login.pl line 52. The Apache error log has: [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at LedgerSMB/Form.pm line 36 [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Can't locate MIME/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /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. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at LedgerSMB/Mailer.pm line 39. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Compilation failed in require at LedgerSMB/Form.pm line 39. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at LedgerSMB/Form.pm line 39. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Compilation failed in require at LedgerSMB/Sysconfig.pm line 7. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at LedgerSMB/Sysconfig.pm line 7. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Compilation failed in require at /usr/local/ledgersmb/login.pl line 52. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at /usr/local/ledgersmb/login.pl line 52. [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Premature end of script headers: login.pl Any ideas - thsi is driving me nuts! Cheers Richard ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@... https://lists.sourceforge.net/lists/listinfo/ledger-smb-users |
|
|
Re: Panic after Ubuntu updateOn Fri, Oct 16, 2009 at 10:36:30AM +0100, beamends wrote:
> [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Can't locate > MIME/Lite.pm in @INC (@INC > contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /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. This is the fatal error. It seems that either you don't have MIME::Lite installed, or it isn't where perl expects it to be. So, 1. Is it installed? Try "locate MIME/Lite.pm". If not found, install it. 2. If it is installed, you need to find out why the place it is installed is not in @INC. Let us know where it is installed and we can maybe suggest what to do. HTH, Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@... https://lists.sourceforge.net/lists/listinfo/ledger-smb-users |
|
|
Re: Panic after Ubuntu updateOn Fri, 2009-10-16 at 10:56 +0100, Pete Houston wrote:
> On Fri, Oct 16, 2009 at 10:36:30AM +0100, beamends wrote: > > [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Can't locate > > MIME/Lite.pm in @INC (@INC > > contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /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. > > This is the fatal error. It seems that either you don't have MIME::Lite > installed, or it isn't where perl expects it to be. > > So, > > 1. Is it installed? Try "locate MIME/Lite.pm". If not found, install it. > > 2. If it is installed, you need to find out why the place it is > installed is not in @INC. Let us know where it is installed and we can > maybe suggest what to do. > > HTH, > > Pete Hi Pete, locate returns: beamends@beamends-1:~$ locate MIME/Lite.pm /usr/local/lib/perl5/site_perl/5.10.0/MIME/Lite.pm so I guess it is installed but not in the list (I think) - I'm afraid the PATH stuff confuses the hell out of me! Cheers Richard > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Ledger-smb-users mailing list > Ledger-smb-users@... > https://lists.sourceforge.net/lists/listinfo/ledger-smb-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@... https://lists.sourceforge.net/lists/listinfo/ledger-smb-users |
|
|
Re: Panic after Ubuntu updateHello Richard,
On Fri, Oct 16, 2009 at 11:16:01AM +0100, beamends wrote: > On Fri, 2009-10-16 at 10:56 +0100, Pete Houston wrote: > > On Fri, Oct 16, 2009 at 10:36:30AM +0100, beamends wrote: > > > [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Can't locate > > > MIME/Lite.pm in @INC (@INC > > > contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /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. > > > > This is the fatal error. It seems that either you don't have MIME::Lite > > installed, or it isn't where perl expects it to be. > > > > So, > > > > 1. Is it installed? Try "locate MIME/Lite.pm". If not found, install it. > > > > 2. If it is installed, you need to find out why the place it is > > installed is not in @INC. Let us know where it is installed and we can > > maybe suggest what to do. > > > > HTH, > > > > Pete > > Hi Pete, > locate returns: > > beamends@beamends-1:~$ locate MIME/Lite.pm > /usr/local/lib/perl5/site_perl/5.10.0/MIME/Lite.pm > > so I guess it is installed but not in the list (I think) - I'm afraid > the PATH stuff confuses the hell out of me! options: 1. The fix is probably to uninstall and then reinstall MIME::Lite. When re-installing it should go in the right place. 2. The workaround is to add the location /usr/local/lib/perl5/site_perl/5.10.0 to @INC. This can be done using the environment variable PERL5LIB which you can set in your Apache configuration. Something like (untested): SetEnv PERL5LIB /usr/local/lib/perl5/site_perl/5.10.0 in your httpd.conf (or sql-ledger.conf) in the Apache tree. Good luck, Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@... https://lists.sourceforge.net/lists/listinfo/ledger-smb-users |
| Free embeddable forum powered by Nabble | Forum Help |