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

Re: installation headaches



As the message implies, the file starman.psgi seems to be missing. 
You can either get the file on this link (https://github.com/ledgersmb/LedgerSMB/blob/master/tools/starman.psgi) and copy it over to your system OR, use the "touch" command as root to create the starman.psgi file on your system and then copy the contents from the github file and paste it into the file you had just created using "touch ".

On Dec 27, 2016 7:06 AM, "o1bigtenor" <..hidden..> wrote:
Greetings

Trying to install LedgerSMB on a VM.

Debian stable with 2GB RAM 80GB vdi.
Installed nginx and postgresql neither configured (waiting to get to
that part of the destructions!)

Configuring systemd for Starman
In the directory conf/systemd/ from the tarbal, there is a
preconfigured systemd service file, which needs to be copied into
place. In case you decided to install dependencies into a local::lib,
the service file needs to be edited to set a PERL5LIB environment
variable before you can succesfully start the service.

# 'copy' systemd service configuration, enable and start
$ sed -e "s#WORKING_DIR#$PWD#" conf/systemd/starman-ledgersmb.service \
> /etc/systemd/system/starman-ledgersmb.service
$ systemctl enable starman-ledgersmb
$ service starman-ledgersmb start

Note that the above assumes that the commands are being run from the
root of the unpacked tarball. It also assumes that the tarball has
been unpacked at its installation path.

To verify that the service started up correctly, run:

# verify that the Starman/LedgerSMB server started correctly
$ journalctl -u starman-ledgersmb.service

It is whilst working through this section that thinks are not working.
command 'sed -e ...' only placed a blank page at '/etc/systemd/...'
I removed page and copied the page from 'conf/systemd/...'
did the enable and service start but - - -
upon trying to verify using 'journalctl ...'

I have about 70 000 lines saying:

Dec 26 06:44:55 debian-stable-ledgersmb systemd[1]: Starting Starman
LedgerSMB...
Dec 26 06:44:55 debian-stable-ledgersmb systemd[1]: Started Starman LedgerSMB.
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]:
2016/12/26-06:44:56 Starman::Server (type Net::Server::PreFork)
starting! pid(7846)
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Resolved
[localhost]:5762 to [::1]:5762, IPv6
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Resolved
[localhost]:5762 to [127.0.0.1]:5762, IPv4
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Binding to TCP
port 5762 on host ::1 with IPv6
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Binding to TCP
port 5762 on host 127.0.0.1 with IPv4
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Setting gid to
"998 998 998"
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Passed
serialize value of none is incompatible with multiple ports - using
default serialize
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Error while
loading /tools/starman.psgi: No such file or directory at (eval 18)
line 4.
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Error while
loading /tools/starman.psgi: No such file or directory at (eval 18)
line 4.
Dec 26 06:44:56 debian-stable-ledgersmb starman[7846]: Error while
loading /tools/starman.psgi: No such file or directory at (eval 18)
line 4


What needs to be changed to get 'starman' to work?

Regards

Dee

------------------------------------------------------------------------------
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
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

------------------------------------------------------------------------------
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