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

Freebsd 11 Ledgersmb 1.5.6



Hi 
I have encountered some errors while starting LedgerSMB. There is a good
possibility I have messed things up. As a side note I have played with
permission on the the folder /usr/local/www/ledgersmb 
Tried    root:wheel
	 www:www
	 ledgersmb:ledgersmb
and basically get the same results
results below with www:www

I am sure this matters ledgersmb is in a jail

uname -a
FreeBSD jledgersmb15 11.0-STABLE FreeBSD 11.0-STABLE #0 r314815: Tue
Mar  7 09:28:20 EST 2017  

Ledgersmb 1.5.6 from git

# starman -l :8080 -www ledgersmb -group
www /usr/local/www/ledgersmb/tools/starman.psgi 2017/04/17-14:23:53
Starman::Server (type Net::Server::PreFork) starting! pid(51196)
Resolved [*]:8080 to [::]:8080, IPv6 Resolved [*]:8080 to
[0.0.0.0]:8080, IPv4 Binding to TCP port 8080 on host :: with IPv6
Binding to TCP port 8080 on host 0.0.0.0 with IPv4
Setting gid to "80 80"
Passed serialize value of none is incompatible with multiple ports -
using default serialize No configuration file; running with default
settings No configuration file; running with default settings
No configuration file; running with default settings
No configuration file; running with default settings
No configuration file; running with default settings
Error while loading /usr/local/www/ledgersmb/tools/starman.psgi:
==============================================================================
== Running a Web Service as root is a security problem == If you are
starting LedgerSMB as a system service == please make sure that you
drop privlidges as per README.md == and the example files in conf/
== This makes it difficult to run on a privlidged port (<1024)
== In theory you can pass the --user argument to starman,
== However starman drops privlidges too late, starting us as root.
==============================================================================
  at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/Sysconfig.pm line
469. Compilation failed in require
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/App_State.pm line 9.
BEGIN failed--compilation aborted
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/App_State.pm line 9.
Compilation failed in require
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/Setting.pm line 58.
BEGIN failed--compilation aborted
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/Setting.pm line 58.
Compilation failed in require
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/PGNumber.pm line 15.
BEGIN failed--compilation aborted
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/PGNumber.pm line 15.
Compilation failed in require
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB.pm line 149. BEGIN
failed--compilation aborted
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB.pm line 149.
Compilation failed in require
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/PSGI.pm line 19.
BEGIN failed--compilation aborted
at /usr/local/www/ledgersmb/tools/../lib/LedgerSMB/PSGI.pm line 19.
Compilation failed in require
at /usr/local/www/ledgersmb/tools/starman.psgi line 13. BEGIN
failed--compilation aborted
at /usr/local/www/ledgersmb/tools/starman.psgi line 13. same results
with # starman -I lib --listen
localhost:5762 /usr/local/www/ledgersmb/tools/starman.psgi 

Thanks
Geordie

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users