Panic really setting in now!

View: New views
19 Messages — Rating Filter:   Alert me  

Panic really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks to both - but no joy!

I think the problem, as pointed out, is that this

> > > 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.

is pointing to the wrong place. I have :

/usr/local/lib/perl
/usr/local/lib/perl5
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site-perl
/usr/local/lib/perl5/site-perl/5.10.0

I've even tried coying the files about to make a match - no joy
there....

I'm getting really desperate now - 2 days without being able to issue
invoices or book stock in and out is beyond a joke.

Does anyone now where @INC is set up, and by which program - really need
some specifics before I break something permenantly.

Cheers
Richard


--
I have become....... comfortably numb.


------------------------------------------------------------------------------
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

Parent Message unknown Re: Panic really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-16 at 13:59 +0100, Jonathan Plews wrote:

> Hi,
>
> Just a thought but during your upgrade did you get asked about  
> updating config files? I've had similar problems with OTRS because of  
> keeping old config files.
>
> dpkg should have installed any new files but added .dpkg-dist to the end.
>
> additionally, you using a local install of perl, is this intentional?  
> I would try moving your local perl and using the one from the package  
> manager.
>
>
> sorry if this is no help, just joined the list.
>
> Regards
>
> Jon

Hi Jon,
I kept all the config files - but the comment about a local install of
perl may be relevant - the Ubuntu upgrade failed and I had to apt_get it
to get the desktop working.

When you say moving perl, do you mean moving the 5.10.0 file or
uninstalling perl?

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 really setting in now!

by Pete Houston :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Richard,

Forgot to mention, in case you were not aware you will need to restart
Apache after adding the "SetEnv" line.

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

attachment0 (204 bytes) Download Attachment

Re: Panic really setting in now!

by Chris Travers-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Fri, Oct 16, 2009 at 6:30 AM, Pete Houston <ph1@...> wrote:
Hello Richard,

Forgot to mention, in case you were not aware you will need to restart
Apache after adding the "SetEnv" line.


you can also set environmental variables in the ledgersmb.conf file.  This then affects LedgerSMB only and doesn't require a restart.

Hope this helps,
Chris Travers


------------------------------------------------------------------------------
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 really setting in now!

by Chris Travers-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would also note it is probably safer to use the ledgersmb.conf file becaue in this case the paths are appended for Perl5lib.

HTH
Chris Travers

------------------------------------------------------------------------------
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 really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-16 at 08:08 -0700, Chris Travers wrote:

>
>
> On Fri, Oct 16, 2009 at 6:30 AM, Pete Houston <ph1@...>
> wrote:
>         Hello Richard,
>        
>         Forgot to mention, in case you were not aware you will need to
>         restart
>         Apache after adding the "SetEnv" line.
>        
>
> you can also set environmental variables in the ledgersmb.conf file.
> This then affects LedgerSMB only and doesn't require a restart.
>
> Hope this helps,
> Chris Travers
>
>

Right.....

I've uninstalled Perl, and reinstalled.

I've added

SetEnv  PERL5LIB /usr/local/lib/perl5/site_perl/5.10.0

to the Apache httpd.conf and to ledgersmb.conf

and (re)installed MIME::Lite from a tar on its' creators site.

I've set the permissions of all LSMB files to everyone all the time
and....

[Fri Oct 16 16:22:35 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 16:22:35 2009] [error] [client 127.0.0.1] Can't locate
DBI.pm in @INC (@INC
contains: /usr/local/lib/perl5/site_perl/5.10.0 /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/Sysconfig.pm line 9.
[Fri Oct 16 16:22:35 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at LedgerSMB/Sysconfig.pm line 9.
[Fri Oct 16 16:22:35 2009] [error] [client 127.0.0.1] Compilation failed
in require at /usr/local/ledgersmb/login.pl line 52.
[Fri Oct 16 16:22:35 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at /usr/local/ledgersmb/login.pl line 52.
[Fri Oct 16 16:22:35 2009] [error] [client 127.0.0.1] Premature end of
script headers: login.pl
[Fri Oct 16 16:22:40 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 16:22:40 2009] [error] [client 127.0.0.1] Can't locate
DBI.pm in @INC (@INC
contains: /usr/local/lib/perl5/site_perl/5.10.0 /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/Sysconfig.pm line 9.
[Fri Oct 16 16:22:40 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at LedgerSMB/Sysconfig.pm line 9.
[Fri Oct 16 16:22:40 2009] [error] [client 127.0.0.1] Compilation failed
in require at /usr/local/ledgersmb/login.pl line 52.
[Fri Oct 16 16:22:40 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at /usr/local/ledgersmb/login.pl line 52.
[Fri Oct 16 16:22:40 2009] [error] [client 127.0.0.1] Premature end of
script headers: login.pl

.... so it's just sticking at DBI.pm in @INC (@INC...... instead.

Also, phppgadmin fails with a dialogue box saying it doesn't knwo what
to do with a "PHTML file" - presumably that's related.

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 really setting in now!

by Chris Travers-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

double-check your ledgersmb.conf and make sure you don't have your paths defined there.

Best Wishes
Chris Travers

------------------------------------------------------------------------------
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 really setting in now!

by Luke-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 16 Oct 2009, beamends wrote:

> I kept all the config files - but the comment about a local install of

You mean you kept all the old ones?  That is a sure way to get yourself in
the deep shizel later on.  Config files change in format and allowable
options as programs evolve, and the longer you go without updating them,
the more likely you are to end up with a program which doesn't start, or
ignores half your config file, a few upgrades down the line.
Better at least to diff them and see what has changed, figure out how to
properly do the old things in the new file, let it upgrade the
configuration, and then adapt it to your local configuration.

> perl may be relevant - the Ubuntu upgrade failed and I had to apt_get it
> to get the desktop working.

You said that before: what do you mean it failed?  How are you doing the
upgrade, and why is it failing?

I have worked on hundreds of Ubuntu servers, and having an "apt-get
dist-upgrade" or similar fail, is a rare thing indeed.  Usually it's
because a buggy package installation file, or an unanticipated
dependency situation somehow got past the people who look for these
things, but it is almost always resolvable.
Usually brute-force fixing it is not a good option, as you will often miss
something unless you are some kind of expert, and forgive me, but your
comment about paths "confusing the hell out of" you, suggests that you
claim no such expertise.

Better to fix your problems then patch over them.

If this has happened before, the previous patches may be why you're having
problems now.

Regards,

Luke

------------------------------------------------------------------------------
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 really setting in now!

by Luke-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 16 Oct 2009, beamends wrote:

> and (re)installed MIME::Lite from a tar on its' creators site.

Uh, what is wrong with the libmime-lite-perl package which Ubuntu
provides?  
Surely that would be safer.

Luke


------------------------------------------------------------------------------
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 really setting in now!

by Luke-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 16 Oct 2009, beamends wrote:

> [Fri Oct 16 16:22:35 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 16:22:35 2009] [error] [client 127.0.0.1] Can't locate
> DBI.pm in @INC (@INC
> contains: /usr/local/lib/perl5/site_perl/5.10.0 /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/Sysconfig.pm line 9.
> [Fri Oct 16 16:22:35 2009] [error] [client 127.0.0.1] BEGIN
> failed--compilation aborted at LedgerSMB/Sysconfig.pm line 9.

Could it be that you need some/all of these?  I am not an expert on the
perl libs, so don't know which of the first two you want, but my guess is
the second one.

libmath-gmp-perl - high speed arbitrary size integer math for perl
libmath-bigint-gmp-perl - GMP library for Math::BigInt routines
perl-modules - Core Perl modules

Luke


------------------------------------------------------------------------------
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 really setting in now!

by Stroller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 16 Oct 2009, at 13:38, beamends wrote:
> ...
> I'm getting really desperate now - 2 days without being able to issue
> invoices or book stock in and out is beyond a joke.

Dump the database, grab a new hard-drive, reinstall Ubuntu from  
scratch, setup LedgerSMB from scratch.

Stroller.


------------------------------------------------------------------------------
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 really setting in now!

by Luke-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Seconded.  You sound to have gotten yourself into a bit of a pickle,
possibly a few upgrades back.

Luke


On Sat, 17 Oct 2009, Stroller wrote:

>
> On 16 Oct 2009, at 13:38, beamends wrote:
> > ...
> > I'm getting really desperate now - 2 days without being able to issue
> > invoices or book stock in and out is beyond a joke.
>
> Dump the database, grab a new hard-drive, reinstall Ubuntu from  
> scratch, setup LedgerSMB from scratch.
>
> Stroller.
>
>
> ------------------------------------------------------------------------------
> 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 really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-17 at 05:28 +0100, Stroller wrote:

> On 16 Oct 2009, at 13:38, beamends wrote:
> > ...
> > I'm getting really desperate now - 2 days without being able to issue
> > invoices or book stock in and out is beyond a joke.
>
> Dump the database, grab a new hard-drive, reinstall Ubuntu from  
> scratch, setup LedgerSMB from scratch.
>
> Stroller.
>

If it comes to that, the new owners (I sold out a while back) will want
to buy Sage and go back to windows! After 3 out of 4 Ubuntu upgrades
ending in disaster it's difficult to argue against that.......

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 really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, made a little progress (well, maybe)....


/usr/local/lib/perl5/site_perl/5.10.0  contains a directory i686-linux
which contains a directory DBI and DBI.pm - which was not found earlier.
Copying these to back up one level, i.e. into

usr/local/lib/perl5/site_perl/5.10.0

changes the Apache2 error log to :

[Sat Oct 17 11:58:52 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
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] DBI object version
1.607 does not match $DBI::VERSION 1.609
at /usr/lib/perl/5.10/DynaLoader.pm line 219.
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted
at /usr/local/lib/perl5/site_perl/5.10.0/DBI.pm line 263.
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] Compilation failed
in require at LedgerSMB/Sysconfig.pm line 9.
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at LedgerSMB/Sysconfig.pm line 9.
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] Compilation failed
in require at /usr/local/ledgersmb/login.pl line 52.
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at /usr/local/ledgersmb/login.pl line 52.
[Sat Oct 17 11:58:52 2009] [error] [client 127.0.0.1] Premature end of
script headers: login.pl

so it's finding DBI.pm now.

Is the i686-linux directory being present the problem I wonder -
everything else on the system is i386 as far as I can tell?

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 really setting in now!

by Luke-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 17 Oct 2009, beamends wrote:

> If it comes to that, the new owners (I sold out a while back) will want
> to buy Sage and go back to windows! After 3 out of 4 Ubuntu upgrades
> ending in disaster it's difficult to argue against that.......

But why are they?  That is not usual.  One of the major things going for
Ubuntu is that that doesn't happen, at least not often.

Sorry, but you're doing something to prompt this behavior.

Until we figure out what, it's going to keep going bad.

Luke

------------------------------------------------------------------------------
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 really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-17 at 09:18 -0400, Luke wrote:

> On Sat, 17 Oct 2009, beamends wrote:
>
> > If it comes to that, the new owners (I sold out a while back) will want
> > to buy Sage and go back to windows! After 3 out of 4 Ubuntu upgrades
> > ending in disaster it's difficult to argue against that.......
>
> But why are they?  That is not usual.  One of the major things going for
> Ubuntu is that that doesn't happen, at least not often.
>
> Sorry, but you're doing something to prompt this behavior.
>
> Until we figure out what, it's going to keep going bad.
>
> Luke

That's the trouble - the only software that hasn't come with Ubuntu that
I'm using is LSMB - everything else is vanilla Ubuntu. Of the four
upgrades I've done, 3 have left me stuck at a command prompt. Now that
may be because of something that went wrong way back, but it's no use
saying that - if I buy the latest version of a car I don't expect to
have to faff about for three days to start it!

As it turns out, I've found other complaints about Perl 5.10.0 causing
with Ubuntu 8.10 and 9.04 - but the only fix I could find, installing
Perl 5.8.8, doesn't work - if I were a hobbyist I might have a few days
to sort that out, but time is going by.......

The lack of the ability to re-install the OS without losing data is a
serious issue - when/if this current problem gets sorted out I'm going
to have to have an additional fully set up machine ready before risking
any updates - I feel no need to do that with my Windows PC.

Sorry if that sounds a bit ungrateful towards the unpaid stalwarts of
Open Source, but if I were Joe Bloggs Shop Ltd I'd have given up after
the first debacle - no doubt with the Sage Rep saying "told you so".

Anyway, I've scrounged an old machine this morning and installing Ubuntu
8.04 on it and leaving well alone until 2011 when it "expires"!  

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 really setting in now!

by David-99 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



beamends wrote:
> On Sat, 2009-10-17 at 09:18 -0400, Luke wrote:
>> On Sat, 17 Oct 2009, beamends wrote:
>>
>>> If it comes to that, the new owners (I sold out a while back) will want
>>> to buy Sage and go back to windows! After 3 out of 4 Ubuntu upgrades
>>> ending in disaster it's difficult to argue against that.......
>> But why are they?  That is not usual.  One of the major things going for
>> Ubuntu is that that doesn't happen, at least not often.
>>


> Anyway, I've scrounged an old machine this morning and installing Ubuntu
> 8.04 on it and leaving well alone until 2011 when it "expires"!  
>
> Cheers
> Richard
>

Like most users, I know that awful feeling that things have gone completely out of control.

Having said that, I've been running Ubuntu/LSMB upgrades for quite a while and all my problems have
been entirely of my own making. I might add that the last time I created a problem I was able to
*PAY* one of the developers of LSMB to fix a problem that I created myself, and it was done
efficiently and quickly. I'm not sure you would get that sort of help from the proprietary world.
Just because it's "free" doesn't mean you should never pay.

Perhaps you should contact one of the developers and offer them money to fix your problem?

My production servers are using LTS Ubuntu 8.04 precisely because they are stable and long term.
I've had no upgrade issues with my desktop or laptop which run the latest, so it's likely your
problem is something you have done wrong.

Hopefully you have a good set of backups. With those, it's unlikely you can't get things working again.

------------------------------------------------------------------------------
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 really setting in now!

by Luke-74 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 17 Oct 2009, beamends wrote:

> That's the trouble - the only software that hasn't come with Ubuntu that
> I'm using is LSMB - everything else is vanilla Ubuntu. Of the four

Hmm, you yourself have talked about downloading PERL components from
the developer's site, when packaged library versions already exist, and
you did not answer my message to explain why.

Something is wrong with your PERL installation.  I might suggest pulling
the entire PERL installation, and reinstalling it from scratch.

Well, that may not be the necessarily best solution, but I'm guessing I
would try that first.

However, you also didn't answer my question about how you're doing these
upgrades.

You also said that you are leaving config files "as-is", which will
eventually lead to system disruption in any configuration.  Why do you
think there are so many old useless registry keys hanging around in
Windows?  It just updates things, and if you have to reconfigure, so be
it.  Ubuntu at least asks, and lets you decide how you want to do it.
That can be a bad thing, if you don't want to deal with the configurations
of a bunch of different programs, but that's just one of the differences
that must be managed.

> upgrades I've done, 3 have left me stuck at a command prompt. Now that

Stuck at the command prompt?  Suggesting that you're running a "server"
with gnome or something on it?  A bit non-standard, that, although not
entirely unusual.

I had this happen to me *once* in the last six or so years using Ubuntu,
and 4 before that using Debian (its parent distribution), and while I
don't remember the circumstances, I'm pretty sure it was my own fault.
But okay, no use crying over fried installations.:)

> may be because of something that went wrong way back, but it's no use
> saying that - if I buy the latest version of a car I don't expect to
> have to faff about for three days to start it!

You do if you first break your old car's wheels, crack its engine block,
and stick a fork into each of the speakers, and then try to build the new
car on top of those components.

I.E. false dichotomy, but I can go there.:)

The point is: if you unintentionally take a sledge hammer to the wood
around your home's front windows, and then install new windows without
replacing the old frames, do you honestly expect the new windows to just
slide up and down without a hitch, even though the frames are bent and
broken?  The argument you're making above, is the same as saying "but
their new windows!"

> As it turns out, I've found other complaints about Perl 5.10.0 causing
> with Ubuntu 8.10 and 9.04 - but the only fix I could find, installing
> Perl 5.8.8, doesn't work - if I were a hobbyist I might have a few days
> to sort that out, but time is going by.......

I won't dispute that.  However, with very few cpanable exceptions, you
should be able to use stock Ubuntu components to do this, and you've
stated that you aren't.
I agree that the LedgerSMB PERL requirements are a bit draconian, but it
can be done, and you had done it, apparently.

> The lack of the ability to re-install the OS without losing data is a
> serious issue - when/if this current problem gets sorted out I'm going
> to have to have an additional fully set up machine ready before risking
> any updates - I feel no need to do that with my Windows PC.

And most of us feel no need to do that with our Linux PCs and servers
either.  Because your statement is simply incorrect.
I can't tell you how many times I have installed different versions of one
Ubuntu, or even entirely different distributions (Debian to Ubuntu, for
example), and retained all my user data in the process.
Heck, I've even done it with somebody else's FreeBSD ISP shell server.
We lost nobody's data, and the majority of the programs got their old
configurations back.

It can be slightly fidly when it comes to databases and such, but even
that can be done; but user home directories, most variable non-cache data,
etc., never has to go anywhere.

Usually the programs in their configurations will be gone, but if you
reinstall the same versions, you can just copy over your old configs from
the /etc directory, and you're usually good to go.

Try *that* with windows.  Install a new copy, and just like Linux, all the
programs are history, even if their code is still there.  However, you
reinstall, and good luck getting your old configurations back.

Not that this helps you right now, but you're blaming the OS for
apparently not being able to do things, that you never told it to be ready
to do, even though it is most capable of it.

> Sorry if that sounds a bit ungrateful towards the unpaid stalwarts of
> Open Source, but if I were Joe Bloggs Shop Ltd I'd have given up after
> the first debacle - no doubt with the Sage Rep saying "told you so".

If Joe had followed the vastly available documentation, or better yet,
decided that he didn't know the whole picture and would employ or ask a
pro or expert, he wouldn't have had a problem.  If he did, he could call
that same expert and say "you screwed up: fix it".  I'm not saying that's
what should have happened in your case, as you obviously know more than
the average Joe Bloggs Shop, but even so the first time you had a failed
upgrade, you should have hit the forums, the lists, etc., and figured out
what happened, so you could both fix it, and not do it again next time.

Since you've talked about Windows, I will note that if an OS upgrade fails
in Windows, the chances of having a still working system to even patch
into workability, are about a million to one.

This is all harsh, I know it.  I usually have more patients than this.:)
Sorry.

Luke

------------------------------------------------------------------------------
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 really setting in now!

by beamends :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-17 at 21:58 -0400, Luke wrote:

> On Sat, 17 Oct 2009, beamends wrote:
>
> > That's the trouble - the only software that hasn't come with Ubuntu that
> > I'm using is LSMB - everything else is vanilla Ubuntu. Of the four
>
> Hmm, you yourself have talked about downloading PERL components from
> the developer's site, when packaged library versions already exist, and
> you did not answer my message to explain why.
>
> Something is wrong with your PERL installation.  I might suggest pulling
> the entire PERL installation, and reinstalling it from scratch.
>
> Well, that may not be the necessarily best solution, but I'm guessing I
> would try that first.
>
> However, you also didn't answer my question about how you're doing these
> upgrades.
>
> You also said that you are leaving config files "as-is", which will
> eventually lead to system disruption in any configuration.  Why do you
> think there are so many old useless registry keys hanging around in
> Windows?  It just updates things, and if you have to reconfigure, so be
> it.  Ubuntu at least asks, and lets you decide how you want to do it.
> That can be a bad thing, if you don't want to deal with the configurations
> of a bunch of different programs, but that's just one of the differences
> that must be managed.
>
> > upgrades I've done, 3 have left me stuck at a command prompt. Now that
>
> Stuck at the command prompt?  Suggesting that you're running a "server"
> with gnome or something on it?  A bit non-standard, that, although not
> entirely unusual.
>
> I had this happen to me *once* in the last six or so years using Ubuntu,
> and 4 before that using Debian (its parent distribution), and while I
> don't remember the circumstances, I'm pretty sure it was my own fault.
> But okay, no use crying over fried installations.:)
>
> > may be because of something that went wrong way back, but it's no use
> > saying that - if I buy the latest version of a car I don't expect to
> > have to faff about for three days to start it!
>
> You do if you first break your old car's wheels, crack its engine block,
> and stick a fork into each of the speakers, and then try to build the new
> car on top of those components.
>
> I.E. false dichotomy, but I can go there.:)
>
> The point is: if you unintentionally take a sledge hammer to the wood
> around your home's front windows, and then install new windows without
> replacing the old frames, do you honestly expect the new windows to just
> slide up and down without a hitch, even though the frames are bent and
> broken?  The argument you're making above, is the same as saying "but
> their new windows!"
>
> > As it turns out, I've found other complaints about Perl 5.10.0 causing
> > with Ubuntu 8.10 and 9.04 - but the only fix I could find, installing
> > Perl 5.8.8, doesn't work - if I were a hobbyist I might have a few days
> > to sort that out, but time is going by.......
>
> I won't dispute that.  However, with very few cpanable exceptions, you
> should be able to use stock Ubuntu components to do this, and you've
> stated that you aren't.
> I agree that the LedgerSMB PERL requirements are a bit draconian, but it
> can be done, and you had done it, apparently.
>
> > The lack of the ability to re-install the OS without losing data is a
> > serious issue - when/if this current problem gets sorted out I'm going
> > to have to have an additional fully set up machine ready before risking
> > any updates - I feel no need to do that with my Windows PC.
>
> And most of us feel no need to do that with our Linux PCs and servers
> either.  Because your statement is simply incorrect.
> I can't tell you how many times I have installed different versions of one
> Ubuntu, or even entirely different distributions (Debian to Ubuntu, for
> example), and retained all my user data in the process.
> Heck, I've even done it with somebody else's FreeBSD ISP shell server.
> We lost nobody's data, and the majority of the programs got their old
> configurations back.
>
> It can be slightly fidly when it comes to databases and such, but even
> that can be done; but user home directories, most variable non-cache data,
> etc., never has to go anywhere.
>
> Usually the programs in their configurations will be gone, but if you
> reinstall the same versions, you can just copy over your old configs from
> the /etc directory, and you're usually good to go.
>
> Try *that* with windows.  Install a new copy, and just like Linux, all the
> programs are history, even if their code is still there.  However, you
> reinstall, and good luck getting your old configurations back.
>
> Not that this helps you right now, but you're blaming the OS for
> apparently not being able to do things, that you never told it to be ready
> to do, even though it is most capable of it.
>
> > Sorry if that sounds a bit ungrateful towards the unpaid stalwarts of
> > Open Source, but if I were Joe Bloggs Shop Ltd I'd have given up after
> > the first debacle - no doubt with the Sage Rep saying "told you so".
>
> If Joe had followed the vastly available documentation, or better yet,
> decided that he didn't know the whole picture and would employ or ask a
> pro or expert, he wouldn't have had a problem.  If he did, he could call
> that same expert and say "you screwed up: fix it".  I'm not saying that's
> what should have happened in your case, as you obviously know more than
> the average Joe Bloggs Shop, but even so the first time you had a failed
> upgrade, you should have hit the forums, the lists, etc., and figured out
> what happened, so you could both fix it, and not do it again next time.
>
> Since you've talked about Windows, I will note that if an OS upgrade fails
> in Windows, the chances of having a still working system to even patch
> into workability, are about a million to one.
>
> This is all harsh, I know it.  I usually have more patients than this.:)
> Sorry.
>
> Luke

Hi Luke,
after the first time Ubuntu upgrade failed, (using the Upgrade Manager
menu thingie) I've never used .debs or such, except where further
upgrades have failed and there was no way forward. Ok, these problems
may be due to legacy issues surrounding that first failure, but surely
that shouldn't really happen?

I did indeed completely remove Perl, and then re-install it from
Synaptic, and things did indeed get moved round (where the Perl 5.10.0
directory is and such), but it didn't fix the problem.

I know I'm being rather grumpy about this - but having persuaded the new
owners that Linux is the best thing since sliced bread, bearing in mind
their Windows PC has never given any trouble, and then this all
happening (again) is, to say the least, embarrassing.

Anyway, if anyone else has the same problem after upgrading to Ubuntu
8.10 or 9.04, there is a solution if you happen to have a spare machine
that 9.10 has just been installed on (I tried just installing LSMB 1.2.8
(?), but it fell over when trying use the Admin screen with an type
error from, I assume, Postgres 8.3)....

This is not a detailed guide, on the gist of what I did....

1. Remove completely Postgres 8.3
2. Download and install Postgres 8.2.x from the Ubuntu site (you can't
get 8.2 with apt, at least not without messing about with the sources
file)
2. Installed LSMB following :
http://www.howtoforge.com/ledgersmb_debian_etch

which is the simplest set of instructions I've yet found - in fact it
couldn't be simpler - cut and paste, only remembering to change
passwords.

3. Change the port to 5432 in ledgersmb.conf

4. Create a dbase with the same name that the backup came from.

5. Create a user with the same name that did the backup (I don't know if
it has to be the same, it just seemed sensible)

6. Restore the backup with

pg_restore -d BeamendsLRS4x4
/home/growing0/Desktop/BeamendsLRS4x4-1.2.0-20091014.sqlc

There were 259 errors, but nothing serious as far as I can see.

And it works!

As I have had to do this at home on an old laptop with no fan (conks out
if worked hard) I've got to do it all again tomorrow on the old PC,
transfer all the companies files across etc - but at least we can
actually run the business again...

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
--
I have become.......comfortably numb


------------------------------------------------------------------------------
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