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

Re: setup.pl error in LedgerSMB 1.4-b5



Hi Paul,


From your error report below, I conclude that you're missing the psql executable in your path. Does your system have a psql binary installed? (usually "locate psql" or "find / -name psql" will find files for you)

If you don't have psql, you probably don't have the postgresql client programs installed on your system. If you *do* have it, then probably your path setting in ledgersmb.conf is incorrectly configured.


At least I know I should review the error message pointing people to the logs so they can find this error message.


Hope that helps!

Erik..,



On Fri, Feb 21, 2014 at 5:26 PM, Paul Bente <..hidden..> wrote:
Thank you, Erik.

On Fri, Feb 21 at 08:24 Erik Huelsmann wrote:

>The loader procedure through setup.pm creates log files in /tmp/ledgersmb.
>There you can find the regular and error output from the loader process.
>Maybe there's an indication there why the base schema fails to load on your
>PostgreSQL version?
>
>Actually, from your report, I understand that the error message doesn't
>point you to the logs there. Is that correct? If not, I should change the
>error message.

The error message in the apache error log did not point me to the logs location and
I have not noticed it in the other documentation.

new-host-6:admin /tmp/ledgersmb$ ls -al
total 64
<omit earlier files>
-rw-r--r--   1 root  wheel   28 Feb 20 15:27 dblog_2014-02-20T202726_66474_stderr
-rw-r--r--   1 root  wheel    0 Feb 20 15:27 dblog_2014-02-20T202726_66474_stdout
-rw-r--r--   1 _www  wheel   28 Feb 20 15:40 dblog_2014-02-20T204032_66616_stderr
-rw-r--r--   1 _www  wheel    0 Feb 20 15:40 dblog_2014-02-20T204032_66616_stdout

Both stderr files contain 1 line:
sh: psql: command not found

Best regards,
Paul Bente
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users



--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users