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

Re: install problems



I finally figured out my problem. I'm nearly too embarrassed to admit
it, but when my brain saw mdf('MYPASSWORD') I typed it in all caps. I
never use all caps for passwords, so it took a while before I even
tried it.

On another note, it would be helpful if there was an install script
that would check for the appropriate cpan modules. There are three
different places that tell or provide modules: the download pre-reqs,
the debian.readme, and running build test. In the readme, all modules
are assumed to be available through normal repositories, but that is
not the case at least for ubuntu, so some of those I had to download
directly from cpan.

Wouldn't it be easier to just write a script that uses cpan to check
and install all modules?

On 4/19/07, Chris Travers <..hidden..> wrote:
Ok.  Did you set the password on upgrading using:

update users_conf set password = md5('[password]') where id = (select
id from users where username = 'admin);

Best Wishes.
Chris Travers

On 4/18/07, 3worldimports <..hidden..> wrote:
> Ok, I figured out that my problems have to do with wrong permissions
> in pg_hba.conf. I have that fixed, but now admin.pl will give me
> "access denied". I am using the right password.
>
> On 4/18/07, 3worldimports <..hidden..> wrote:
> > I am trying to install ledgersmb onto my Ubuntu Edgy box. I have
> > double-checked the dependencies and I believe I have everything,
> > although it is confusing enough that I am not sure. Everything goes
> > fine until I run Buil.PL test. When I do that, it says "failed: FATAL:
> >  missing or erroneous pg_hba.conf file" I have checked the pg_hba.conf
> > file and I believe it to be correct. I did notice that admin.pl gives
> > "No GlobalDBH Configured or Could not Connect". There is no section in
> > the ledgersmb.conf labeled GlobalDBH, which is confusing to me. So I
> > renamed the globaldb section to globaldbh. Then the test succeeds, but
> > when I try to load admin.pl I get an internal server error. The log
> > file says this:
> > [Wed Apr 18 18:53:36 2007] [error] [client 127.0.0.1] Can't call
> > method "prepare" on an undefined value at LedgerSMB/User.pm line 50.
> > [Wed Apr 18 18:53:36 2007] [error] [client 127.0.0.1] Compilation
> > failed in require at /usr/local/ledgersmb/admin.pl line 105.
> > [Wed Apr 18 18:53:36 2007] [error] [client 127.0.0.1] Premature end of
> > script headers: admin.pl
> > [Wed Apr 18 19:03:16 2007] [error] [client 127.0.0.1] Can't call
> > method "prepare" on an undefined value at LedgerSMB/User.pm line 50.
> > [Wed Apr 18 19:03:16 2007] [error] [client 127.0.0.1] Compilation
> > failed in require at /usr/local/ledgersmb/admin.pl line 105.
> > [Wed Apr 18 19:03:16 2007] [error] [client 127.0.0.1] Premature end of
> > script headers: admin.pl
> >
> > I am frustrated and would appreciate any help. I will be on irc as
> > kadmiel if anyone would rather help me there.
> >
> > Thank you,
> > Matthew
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Ledger-smb-users mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users