LedgerSMB
The foundation for your business
Fork me on GitHub
Re: [ledgersmb-users] Fwd: Fwd: Production Install, Networking and Setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ledgersmb-users] Fwd: Fwd: Production Install, Networking and Setup





On Mon, Mar 25, 2019 at 1:50 AM bill Ott <..hidden..> wrote:

Can you send me the results of the ifconfig on the VM's host?

Reviewing I noticed. from below

"virbr0    is on 192.168.122.1" which is the wrong octal. it should be 192.168.1.XXX.  It may be there because your VM is setting up its own DHCP. But that begs the question of how you are reaching the 192.168.1.188 apache interface on the VM.

If you ssh into the VM and issue an ifconfig there, what is its IP address?

Thanks Bill: Ok, the Host IP has changed, because I didn't have a fixed IP for it: I've now sorted that. So here are the results of 'ifconfig'

enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.106  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::62a4:4cff:fe38:82a9  prefixlen 64  scopeid 0x20<link>
        ether 60:a4:4c:38:82:a9  txqueuelen 1000  (Ethernet)
        RX packets 2173  bytes 521229 (509.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 176  bytes 19475 (19.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 100  bytes 8648 (8.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 100  bytes 8648 (8.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:da:32:4e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 
Regards,
Bill Ott

Home: 919-363-0031
Cell: 919-434-7589
Email: Mailto:..hidden..
Website: http://www.theotts.org
Profile: http://www.linkedin.com/in/wbott


On 3/24/19 1:28 AM, Gnucash Xboxboy Mageia wrote:


On Thu, Mar 21, 2019 at 11:00 PM bill Ott <..hidden..> wrote:

Have you tried temporarily turning off SELinux  ("setenforce 0"), then trying to connect? After doing the test, turn SELinux back on with "setenforce 1".

Thanks
Just tried that on the host OS with no change.
The debian VM doesn't have SElinux installed, as 'getenforce' and 'sestatus' return command not found.

Regards,
Bill Ott

Home: 919-363-0031
Cell: 919-434-7589
Email: Mailto:..hidden..
Website: http://www.theotts.org
Profile: http://www.linkedin.com/in/wbott


On 3/21/19 3:40 AM, Xboxboy Mageia wrote:
Bill,

yes, sorry that is a typo: I meant http://192.168.1.118:5762/setup.pl

Regards,
Xboxboy

---------- Forwarded message ---------
From: bill Ott <..hidden..>
Date: Thu, Mar 21, 2019 at 1:21 AM
Subject: Re: [ledgersmb-users] Fwd: Production Install, Networking and Setup
To: Xboxboy Mageia <..hidden..>

http://192.168.1.188:5762/setup.pl????  Did you mean http://192.168.1.118:5762/setup.pl?
Regards,
Bill Ott

Home: 919-363-0031
Cell: 919-434-7589
Email: Mailto:..hidden..
Website: http://www.theotts.org
Profile: http://www.linkedin.com/in/wbott


On 3/19/19 9:47 PM, Xboxboy Mageia wrote:
Sorry Bill: I meant to send it to the list :-0

Please see the network info I've added, in response to both Bill and Erik.

On Mon, Mar 18, 2019 at 6:45 PM Xboxboy Mageia <..hidden..> wrote:
Hello,
I was sick over Xmas, and since then business has been booming, only now can I have a second look. Thank you all for you help.


On Thu, Jan 10, 2019 at 10:38 AM bill Ott <..hidden..> wrote:

Running "brctl show" w/o/ the quotes on the VM's host will show you the bridge and the interfaces that are connected to it. 'ifconfig" w/o the quotes on the VM's host will show you the all of interfaces.

brctl show
bridge name         bridge id                      STP enabled    interfaces
virbr0                  8000:525400da324e      yes                  virbr0-nic

ifconfig

enp5s0   is on 192.168.1.109
lo          is on 127.0.0.1
virbr0    is on 192.168.122.1

(sorry can't ssh in at the moment, let me know if you need all the details)

Might help chasing down the problem.

Regards,
Bill Ott

Home: 919-363-0031
Cell: 919-434-7589
Email: Mailto:..hidden..
Website: http://www.theotts.org
Profile: http://www.linkedin.com/in/wbott


On 1/9/19 5:21 PM, Erik Huelsmann wrote:
Hi,

Ok, so the debian install went simply. I used debian 9 (Stretch), without a GUI. 'ip addr' gives 192.168.1.101, which sounds right, as that's my lan, 192.168.1.X.

I then followed the instructions on https://apt.ledgersmb.org/index.html, but I installed version 1.5, and did not add the 'test component', I don't know what that means, sorry.

[snip]
 
I was able to add the DB admin user where the prompt comes up: Now do I need to reset/config mysql's root user and password also?

So from my desktop I tried to access via firefox 192.168.1.101:5762/setup.pl, but it's unable to connect.

Ok. Are you able to ping that ip address from your desktop? That should indicate if you should expect to be able to connect to the web server as well.
 
Yes, I can ping the debian VM with "ping 192.168.1.118"
I can access the default debian apache web server at 192.168.1.118, but no luck with 192.168.1.188:5762/setup.pl

I have a functioning fedora os VM on 192.168.1.107 with nextcloud working fine.
 
I have the VM network set to bridged, networking is my downfall, and the other thing I suspect is that I need to open the firewall for the webserver.

Bridged sounds fine. quick question: Is the "eth0" (or enpXs0 with X a number) network on the VM's host part of the bridge? If not, you probably need to enable IP forwarding. Before we go that route, lets start by checking you can 'ping' the address though. (And: can you ping the host that the VM is running on?)
I  can ping the host with "ping 192.168.1.109"
 

All advice appreciated.

Regards,

--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.

_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users
_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users

_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users

_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users
_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users

_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users
_______________________________________________
users mailing list
..hidden..
https://lists.ledgersmb.org/mailman/listinfo/users