> The 'ledgersmb.conf' file usually contains the name of the host to beIt is set to 'localhost'.
> used as the database IP connection host. If you're using a database on
> the local host, it's best to enter 'localhost' there - not the name of
> the host in the DNS.
> Actually, what I do when I run against a database which is local, I
> enter the unix domain socket file's directory as the host name. On my
> debian system that's /var/run/postgresql/. This reduces chances of your
> firewall interfering with your database connection.
>
> Â Â The only errors I can find is this and seems related to login:Just on login.
>
> Â Â /var/log/postgresql/postgresql-9.1-main.log:
> Â Â 2013-07-14 16:53:58 CEST LOG: Âcould not receive data from client:
> Â Â Connection reset by peer
>
> Â Â /var/log/apache2/error.log:
> Â Â [Sun Jul 14 16:53:58 2013] [error] [client 192.168.1.1] DBI
> Â Â connect('dbname=nix','',...) failed: fe_sendauth: no password supplied
> Â Â at LedgerSMB.pm line 986, referer: http://ledgersmb.kingel.net/login.pl
>
> Hmm. if you're able to log in afterwards, this is a bit unexplicable.
> Does this happen on every page? or just when logging in?
> Â Â I have this in /usr/share/postgresql/9.1/pg_hba.conf:> Â Â host Âall Âall Â127.0.0.1/32 Â Âhttp://127.0.0.1/32 Â Âmd5
> Â Â host Âall Âall Â192.168.1.0/24 Âhttp://192.168.1.0/24 Âmd5
What do these two lines in pg_hba.conf mean?:
@..hidden.. "local" is for Unix domain socket connections
only
@..hidden.. Âall Âall ..hidden..@
> Ok. I assume you have restarted the postgresql server after you changedYes, more than once. :-)
> its configuration files (such as pg_hba.conf)?
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users