Nethserver Admin not reacheble

NethServer Version: 7.9
Module: HTTPD Admin

Hi,

I had to restart the server and again had the problem with the network card turned off (IPv6 problem).

Tried it with this

sysctl -w net.ipv6.conf.default.disable_ipv6=1

to fix it and start it with “Ifup enp2s0”

Now everything works, but I can’t get to the admin interface anymore. Connection is always denied.
Everything else still works (email, VPN, web server, etc).

Since the server is a member of a domain, the name and password for the AD directory might need to be re-entered, but I don’t know how to do that via the console.

Hope someone can help, also that this no longer happens on reboot.

Thanks

Nicky

Hi @supernicky

You are aware that NethServer 7.9 doesn’t really support IPv6?
Only IPv4 is really supported, due to issues (Including AD!), I’ve turned off all IPv6 at my clients.

Maybe a reboot of server AND client will help (IP / DHCP issues)…

My 2 cents
Andy

Hi Andy,

Yes I know that with IpV6 and CentOs, seems to work now.

But how do I get back to the admin interface?
As I said, I often had to re-enter the username and password from AD, but I can not do it from the console.

Nicky

Did you have set up some access restriction to the server-manager?

Hi dnutan,

No, only from Red Interface there is no Access.

did you try to restart cockpit services?

systemctl status -l cockpit.socket
systemctl status -l cockpit.service

systemctl restart cockpit.socket cockpit.service
[root@srv-fbt nicky]# systemctl restart cockpit.socket cockpit.service
Job for cockpit.socket failed. See "systemctl status cockpit.socket" and "journalctl -xe" for details.
A dependency job for cockpit.service failed. See 'journalctl -xe' for details.
[root@srv-fbt nicky]# systemctl status -l cockpit.socket
● cockpit.socket - Cockpit Web Service Socket
   Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; vendor preset: disabled)
   Active: failed (Result: resources) since Fri 2022-11-18 15:26:58 CET; 9s ago
     Docs: man:cockpit-ws(8)
   Listen: [::]:9090 (Stream)
  Process: 11347 ExecStopPost=/bin/ln -snf /usr/share/cockpit/motd/inactive.motd /run/cockpit/motd (code=exited, status=0/SUCCESS)

Nov 18 15:26:58 srv-fbt.erhardt-fbt.com systemd[1]: Starting Cockpit Web Service Socket.
Nov 18 15:26:58 srv-fbt.erhardt-fbt.com systemd[1]: Failed to listen on Cockpit Web Service Socket.
Nov 18 15:26:58 srv-fbt.erhardt-fbt.com systemd[1]: Unit cockpit.socket entered failed state.

any relevant part from there?

Yes,

Nov 18 15:34:23 srv-fbt.-fbt.com nmbd[1453]: [2022/11/18 15:34:23.092268,  0] ../../source3/nmbd/nmbd_incomingrequests.c:172(process_name_refresh_request)
Nov 18 15:34:23 srv-fbt.-fbt.com nmbd[1453]:   process_name_refresh_request: unicast name registration request received for name -FBT<00> from IP 172.20.20.170 on subnet UNICAST_SUBNET.
Nov 18 15:34:23 srv-fbt.-fbt.com nmbd[1453]: [2022/11/18 15:34:23.092627,  0] ../../source3/nmbd/nmbd_incomingrequests.c:173(process_name_refresh_request)
Nov 18 15:34:23 srv-fbt.-fbt.com nmbd[1453]:   Error - should be sent to WINS server
Nov 18 15:34:27 srv-fbt.-fbt.com nmbd[1453]: [2022/11/18 15:34:27.625884,  0] ../../source3/nmbd/nmbd_incomingrequests.c:172(process_name_refresh_request)
Nov 18 15:34:27 srv-fbt.-fbt.com nmbd[1453]:   process_name_refresh_request: unicast name registration request received for name DESKTOP-WIN11CH<20> from IP 172.20.20.170 on subnet UNICAST_SUBNET.
Nov 18 15:34:27 srv-fbt.-fbt.com nmbd[1453]: [2022/11/18 15:34:27.626185,  0] ../../source3/nmbd/nmbd_incomingrequests.c:173(process_name_refresh_request)
Nov 18 15:34:27 srv-fbt.-fbt.com nmbd[1453]:   Error - should be sent to WINS server
Nov 18 15:34:32 srv-fbt.-fbt.com nmbd[1453]: [2022/11/18 15:34:32.152428,  0] ../../source3/nmbd/nmbd_incomingrequests.c:172(process_name_refresh_request)
Nov 18 15:34:32 srv-fbt.-fbt.com nmbd[1453]:   process_name_refresh_request: unicast name registration request received for name DESKTOP-WIN11CH<00> from IP 172.20.20.170 on subnet UNICAST_SUBNET.
Nov 18 15:34:32 srv-fbt.-fbt.com nmbd[1453]: [2022/11/18 15:34:32.152781,  0] ../../source3/nmbd/nmbd_incomingrequests.c:173(process_name_refresh_request)
Nov 18 15:34:32 srv-fbt.-fbt.com nmbd[1453]:   Error - should be sent to WINS server

Sorry, I think that error is not relevant.
Can you “permanently” disable IPv6 (sysctl.conf…) and restart the server to check if everything is working?

Edit: here’s a random guide to disable IPv6: How to disable IPv6 on CentOS / RHEL 7 – The Geek Diary

Hi,

I found something else in another post.

yum reinstall nethserver-cockpit

Now everything works again. However, I would like to know what the problem was.
This was not the last time that the server had to be restarted.

Thank you all

Nicky

The reinstall triggers some configuration events. Maybe it was enough to execute:

signal-event nethserver-cockpit-update

For that I think you need to correlate your sequence of events and logs.

1 Like

Hi,

next time i will write everything down.

Nicky