Wired thing (bug)

NethServer Version: 7
Module: nethserver

I just install a new nethserver from centos (as usual)
but this time the service httpd-admin only respond in IPv6

it’s not a shorewall issue because I stopped it and the admin still unavailable

[root@do ~]# lsof|grep :980
httpd 747 root 4u IPv6 16149 0t0 TCP *:980 (LISTEN)
httpd 901 srvmgr 4u IPv6 16149 0t0 TCP *:980 (LISTEN)
httpd 903 srvmgr 4u IPv6 16149 0t0 TCP *:980 (LISTEN)
httpd 905 srvmgr 4u IPv6 16149 0t0 TCP *:980 (LISTEN)
httpd 907 srvmgr 4u IPv6 16149 0t0 TCP *:980 (LISTEN)
httpd 910 srvmgr 4u IPv6 16149 0t0 TCP *:980 (LISTEN)
[root@do ~]# systemctl stop shorewall

I don’t want to point anyone with my finger, because most of the time the fool look at the finger but
last time I had a similar issue was with docker O_o
@giacomo

Please have a look if there are any errors in messages.log.
I’ve had same error, only IPV6, and in messages.log I found that the IPv4 Adress I gave to the server was given to an other host.

Is there really a problem. What issue are you seeing.

I see exactly the same on my system, that certain services are listening on IPV6, but I have no issues whatsoever accessing them from my IPV4 Windows box.

Cheers.

Hey thanks for your support :wink:

I reinstall twice
the last time I desactive IPv6
but always ending with the same result
unable to connect to the console, event if I stop shorewall

this is a chunck of the /var/log/message

Apr 6 17:42:41 shu esmith::event[21946]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.501883]
Apr 6 17:42:41 shu esmith::event[21946]: Event: nethserver-firewall-base-save SUCCESS
Apr 6 17:42:41 shu esmith::event[21284]: Action: /etc/e-smith/events/interface-update/S90firewall-adjust SUCCESS [3.854718]
Apr 6 17:42:41 shu esmith::event[22177]: Event: trusted-networks-modify
Apr 6 17:42:42 shu esmith::event[22177]: expanding /etc/httpd/conf.d/nethserver.conf
Apr 6 17:42:42 shu esmith::event[22177]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.513636]
Apr 6 17:42:42 shu systemd: Reloading.
Apr 6 17:42:42 shu systemd: Binding to IPv6 address not available since kernel does not support IPv6.
Apr 6 17:42:42 shu systemd: [/usr/lib/systemd/system/rpcbind.socket:6] Failed to parse address value, ignoring: [::]:111
Apr 6 17:42:42 shu esmith::event[22177]: [INFO] service httpd reload
Apr 6 17:42:43 shu systemd: Reloaded The Apache HTTP Server.
Apr 6 17:42:43 shu esmith::event[22177]: [INFO] httpd reload
Apr 6 17:42:43 shu esmith::event[22177]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.672709]
Apr 6 17:42:43 shu esmith::event[22212]: Event: nethserver-firewall-base-save trusted-networks-modify
Apr 6 17:42:43 shu esmith::event[22212]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S02providers-cleanup SUCCESS [0.415235]
Apr 6 17:42:43 shu sshd[21874]: Failed password for root from 58.218.204.66 port 28644 ssh2
Apr 6 17:42:43 shu esmith::event[22212]: expanding /etc/lsm/lsm.conf
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/actions
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/hosts
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/interfaces
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/maclist
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/mangle
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/masq
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/modules
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/nat
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/policy
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/providers
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/rtrules
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/rules
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/shorewall.conf
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/stoppedrules
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/tcinterfaces
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/tcpri
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/tunnels
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/zones
Apr 6 17:42:44 shu esmith::event[22212]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.967158]
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/tunnels
Apr 6 17:42:44 shu esmith::event[22212]: expanding /etc/shorewall/zones
Apr 6 17:42:44 shu esmith::event[22212]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.967158]
Apr 6 17:42:45 shu systemd: Reloading.
Apr 6 17:42:45 shu systemd: Binding to IPv6 address not available since kernel does not support IPv6.
Apr 6 17:42:45 shu systemd: [/usr/lib/systemd/system/rpcbind.socket:6] Failed to parse address value, ignoring: [::]:111
Apr 6 17:42:46 shu root: Shorewall reloaded
Apr 6 17:42:46 shu esmith::event[22212]: [NOTICE] Shorewall restart
Apr 6 17:42:46 shu esmith::event[22212]: Action: /etc/e-smith/events/nethserver-firewall-base-save/S89nethserver-shorewall-restart SUCCESS [1.769863]
Apr 6 17:42:46 shu sshd[21874]: Failed password for root from 58.218.204.66 port 28644 ssh2
Apr 6 17:42:46 shu systemd: Reloading.
Apr 6 17:42:46 shu systemd: Binding to IPv6 address not available since kernel does not support IPv6.
Apr 6 17:42:46 shu systemd: [/usr/lib/systemd/system/rpcbind.socket:6] Failed to parse address value, ignoring: [::]:111
Apr 6 17:42:46 shu esmith::event[22212]: [INFO] lsm is disabled: skipped
Apr 6 17:42:46 shu esmith::event[22212]: [INFO]
Apr 6 17:42:46 shu esmith::event[22212]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.501169]
Apr 6 17:42:46 shu esmith::event[22212]: Event: nethserver-firewall-base-save SUCCESS
Apr 6 17:42:46 shu esmith::event[22177]: Action: /etc/e-smith/events/trusted-networks-modify/S94firewall-adjust SUCCESS [3.854265]
Apr 6 17:42:47 shu esmith::event[22177]: Event: trusted-networks-modify SUCCESS
Apr 6 17:42:47 shu esmith::event[21284]: Action: /etc/e-smith/events/interface-update/S95trusted-networks-modify SUCCESS [5.20856]
Apr 6 17:42:47 shu esmith::event[21284]: Event: interface-update SUCCESS
Apr 6 17:42:47 shu esmith::event[19184]: Action: /etc/e-smith/events/system-init/S95nethserver-base-interface-update SUCCESS [22.162088]
Apr 6 17:42:47 shu esmith::event[19184]: Action: /etc/e-smith/events/system-init/S98nethserver-system-init-clear SUCCESS [0.005336]
Apr 6 17:42:47 shu esmith::event[19184]: Event: system-init SUCCESS

Only thing I see is the password fail.
But please try the steps at this thread. Perhaps we get some helpfull informations.

@m.traeumner

in my case it’s a barebone server

ya I have a lot of failed ssh because bot scan the internet.

even it said the Nethserver was install successfully

db networks show
bash: db: command not found

Please try to change to /sbin/e-smith directory before executung

./db networks show

Thank for your help!

[root@shu ~]# cd /sbin/e-smith/
[root@shu e-smith]# db networks show
eth0=ethernet
bootproto=none
gateway=51.15.3.1
ipaddr=51.15.3.217
netmask=255.255.255.0
role=green
eth1=ethernet
role=
ppp0=xdsl-disabled
AuthType=auto
FwInBandwidth=
FwOutBandwidth=
Password=
name=PPPoE
provider=xDSL provider
role=red
user=

for me it’s seems fine + few weeks ago, nethserver was working on that server

Did you try to ping the mashine?

Hi;

to follow about this issue

Scaleway Baremetal (like C1) don’t allow somes kernel instruction which I presume are pushed by shorewall
Nethserver works well on Scaleway Starter like VC1