The foundation for your business
Fork me on GitHub
[ledgersmb-users] Re: New install on Debian 10 (buster)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ledgersmb-users] Re: New install on Debian 10 (buster)

> > > > fmiser wrote:
> > > >
> > > > I'm having troubles with configuration, setup, running.

> > > Erik wrote:
> > > By commenting out the line "LISTEN_ADDRESS=localhost" (and
> > > restarting the ledgersmb service, i.e. Starman), Starman will
> > > bind to all available interfaces, 

> > fmiser wrote:
> >
> > Well, it did not work.
> >
> > So then I ran dpkg-reconfigure and told it to NOT setup for
> > Apache as a Web Reverse Proxy (which I had done earlier)  Now
> > I cannot even connect using links2.
> >
> >
> > browser error " refused to connect."

> Hmm. I didn't understand that this worked before. I thought you
> were logging into the machine using SSH and then using lynx or
> links2.

I guess I wasn't as clear as I thought I was...  I am trying to
use a GUI browser from outside, and using links2 when logged in
over SSH. So far I have never gotten a connection to work from
"outside" the server.

> Do you have any idea if there's a firewall in place
> which may be blocking port 5762? (or maybe all ports except e.g.
> 22, 80 and/or 443?)

I'm pretty sure there isn't one

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination 

> > However, if I log in over SSH, links2 works if I use localhost
> > http://localhost:5762/login.pl
> >
> > but not if I use the IP address.
> >
> >
> > Next I tried using the IP address rather than just commenting
> > out the "listen_address" in /etc/default/ledgersmb
> >
> Ok. But did you try the situation with the commented-out

Yup. :(

> > #####LISTEN_ADDRESS=localhost
> > LISTEN_PORT=5762
> >
> > Same errors as above
> >
> ... my main question would be: did you restart the ledgersmb
> service after you edited /etc/default/ledgersmb ?


> Also, which version of Debian did you install? I saw above that
> you said "fresh installation of Debian", but is that Buster or
> Stretch or Sid or ...? If this is Buster, I think we might be
> banging on the wrong door:

It is Buster, Debian 10.  Sorry, I sure intended to mention that.

I could document each step, but in general:

From a browser on the LAN              Works - shows Apache default page      "not found" error "unable to connect" error

From a "internal" browser (links2, 'cause X is not installed)
http://localhost/              Works - shows apache default page
http://localhost/login.pl      "not found" error
http://localhost:5762/login.pl works - see login              Works - shows apache default page      "not found" error "connection refused" error

> ... in that case, we probably should be looking in the
> "ledgersmb.service" (or something named like it) file to change
> the starman startup parameters.

Would that be "/etc/init.d/ledgersmb"?

I also see

Those appear to be identical
# Place this in /etc/systemd/system/ledgersmb_starman.service
# systemctl enable ledgersmb_starman
# service start ledgersmb_starman

Description=LedgerSMB Starman


# In case you installed dependencies into a 'local::lib'
# make sure you set the PERL5LIB environment variable
# to the correct location by uncommenting the line below

# Be sure to set a user and group below
# which don't have write access to the directories
# holding the LedgerSMB sources
ExecStart=/usr/bin/starman                     \
    --listen localhost:5762                    \
    -I lib                                     \
    -I old/lib                                 \



which is an empty file.

> I don't have a Debian 10 handy right now, so if you let me know
> which Debian version, I'll spin one up and see what the package
> looks like in installed form (note that Jaime maintains the
> package; I just know how to analyse it).

I would sure appreciate any help!    I'm still trying to adapt to

--  f
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..