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

Re: can't log in to setup.pl



Change your pg_hba.conf to use md5 instead of ident, and log in locally via psql or pg_admin.  You can then set the Postgres password by
ALTER USER postgres WITH PASSWORD 'my_secret_passwd';

On Mon, Dec 22, 2014 at 11:41 AM, Jake Pennell <..hidden..> wrote:
I installed ledgersmb 1.3.4 on my centos 6 based server with apache 2.2
and postgresql 8.4.  I followed the install guide at
ledgersmb.org/news/ubuntu-installation-tutorial-ledgersmb-13-series.
When I get to the part to login at localhost/ledgersmb/setup.pl I put
the postgress password I created and it gives me a bad username password
error.

the error log reads as follows.

[Mon Dec 22 13:22:44 2014] [error] [client 127.0.0.1] DBI
connect('dbname="template1"','postgres',...) failed: FATAL:  Ident
authentication failed for user "postgres" at LedgerSMB.pm line 989.,
referer: http://127.0.0.1/ledgersmb/setup.pl
[Mon Dec 22 13:22:47 2014] [error] [client 127.0.0.1] DBI
connect('dbname=template1','',...) failed: FATAL:  Ident authentication
failed for user "apache" at LedgerSMB/Database.pm line 434., referer:
http://127.0.0.1/ledgersmb/setup.pl
[Mon Dec 22 13:22:47 2014] [error] [client 127.0.0.1] Can't call method
"selectrow_array" on an undefined value at LedgerSMB/Database.pm line
438., referer: http://127.0.0.1/ledgersmb/setup.pl
[Mon Dec 22 13:22:47 2014] [error] [client 127.0.0.1] Compilation failed
in require at /usr/share/ledgersmb/setup.pl line 8., referer:
http://127.0.0.1/ledgersmb/setup.pl

After much searching I am unable to find an answer to this issue.  Where
should I go from here?

Thanks

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users



--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.
http://www.efficito.com/learn_more
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users