We are trying to move out NethServer to our new server running VMware ESXi 6.7. So, we have manually installed vmware tools on the system. OS selected as CentOS 7 64Bit when setting up VM.
It is a fresh installation we are doing. We setup several things in server like hostname, SSH, etc. We rebooted. Now, we cannot get access to Web UI. We get connection timeouts.
This is not the first time we are facing that problem. We could not figure what’s causing it and installed NethServer from scratch several times.
Our searches on forum shows similar threads. They seemingly having httpd-admin not started and on our system it seems to be running. Just not listening port 9090
There is no firewall installed, yet. We installed so many times that I might be wrong about that.
There is single ethernet connected to VM.
Network is set as LAN and green with fixed IP number.
We obviously can ping IP number.
One thing we suspect is that it happens after switching from DHCP assigned IP number to manually assigned static IP number.
Have you tried to use a “reserved” DHCP when setting up that NethServer - with the reserved DHCP lease coressponding to the later IP? That means even when you switch from DHCP to fixed IP, it remains the same…
We do have a DHCP server. It is our old NethServer running on another physical server right now. DHCP assignments are coming from it.
We have ADSL modem in bridge mode. Once we finish installing new NethServer, old one is going to retire and ADSL modem will be physically connected to new NethServer. In the end, new NethServer will be serving as our router/firewall and DHCP server.
As old server will retire, we cannot use DHCP assigned static IP numbers from it.
We also are not 100% sure it is manual IP assignment that is causing Web UI to fail. We suspect that it might be.
It doesn’t matter if that old server is going to be switched off…
After setting up, your new Nethserver will have a DHCP reserved IP, which you can change to manual - using the same IP.
After this, the new NethServer doesn’t need the old NethServer or DHCP from the old NethServer…
But all in all - you might just setup your NethServer right from the beginning with a fixed IP, the one you want to use…
It doesn’t matter if that old server is going to be switched off…
After setting up, your new Nethserver will have a DHCP reserved IP, which you can change to manual - using the same IP.
After this, the new NethServer doesn’t need the old NethServer or DHCP from the old NethServer…
But all in all - you might just setup your NethServer right from the beginning with a fixed IP, the one you want to use…
All relevant lines from /var/log/messages near/at that hour is below. Just to clarify, I did not remove any lines in between from below log entries. There is no other log entry other than below.
[root@neth log]# journalctl -u cockpit
-- Logs begin at Sat 2020-04-18 08:22:49 +03, end at Sat 2020-04-18 10:50:36 +03. --
Apr 18 10:32:53 neth.server.com systemd[1]: Starting Cockpit Web Service...
Apr 18 10:32:53 neth.server.com systemd[1]: Started Cockpit Web Service.
Apr 18 10:32:53 neth.server.com cockpit-ws[9921]: Using certificate: /etc/cockpit/ws-certs.d/99-nethserver.cert
Nothing else that I can see. I am not sure what additional log file(s) to check for more clues.
I was accessing new NethServer over VPN connection for setting it up.
I catch a colleague at office and he told me he can connect to Web UI just fine.
After he did complete some configuration.
Now I can access Web UI, too.
We did nothing particular. Maybe a few restarts.
If that is to happen again, I will also check your suggestions @mrmarkuz
We have just 3 applications installed.
-Firewall (that was not installed when I had broken Web UI)
-OpenVPN
-Web server (that is a standard installation I assume)