Hello, Chris.
Right you are!
A bit earlier my colleague proposed replacing "address localhost" with
"address 127.0.0.1" which is the same.
I corrected /etc/perfsonar/toolkit/configdaemon.conf on all my nodes and
run "systemctl restart perfsonar-configdaemon" on every one and that did
the trick.
It seems that only one socket is opened: IPv4 or IPv6. During install
the proper one was opened, as I changed some settings and they were
saved correctly. But later, when I placed all the nodes where they were
intended to be, all of them opened IPv6 socket.
This looks like a bug to me.
--
Best regards,
Oleg Moiseichuk,
Engineer of the Department of Network Communications,
UIIP of the National Academy of Sciences of Belarus
Phone: +375 17 294-92-29
17.05.2018 00:05, Chris Griffin пишет:
> I have just recently run into the same issue, although my symptoms were
> different. Upon saving I got "Error - Couldn't save Regular Testing
> configuration", but no errors in web_admin.log. Tracked it to the same
> issue. I am not sure if this is the best way to correct it, but try this:
>
> * edit /etc/perfsonar/toolkit/configdaemon.conf
> * change the "address localhost" to "address localhost4"
> * restart the perfsonar-configdaemon.service
>
> This seemed to start happening to us after a recent sent of patching and
> reboot activity.
>
> Tnx
> Chris
>
> On 05/16/2018 09:11 AM, Oleg Moiseichuk wrote:
>> Hello.
>>
>> Would you please help me with advice.
>>
>> I created several perfSONAR nodes on the base of Gigabyte BRIX 3160.
>> Firstly I performed installation (from perfSONAR full ISO version
>> 4.0.2) on one node, then I cloned this node with Clonezilla and set
>> proper IP addresses on all 4 nodes.
>> N.B. I also changed interface name from enp3s0 to eth0, if this is
>> relevant.
>>
>> I placed all the nodes on the desired spots and then I found out that
>> I cannot change any settings. I tried changing location, system name,
>> NTP server settings. When I alter some setting using web admin and
>> press "Save" button, it reverts to old settings.
>>
>> I found several errors in the log of webadmin. They look as the
>> possible cause of my problem:
>>
>> /var/log/perfsonar/web_admin/web_admin.log:2018/05/16 12:17:53 (9096)
>> ERROR> ConfigClient.pm:93
>> perfSONAR_PS::NPToolkit::ConfigManager::ConfigClient::saveFile -
>> Problem writing file /etc/ntp.conf: RPC::XML::Client::simple_request:
>> RPC::XML::Client::send_request: HTTP server error: Can't connect to
>>
127.0.0.1:9000 (Connection refused)
>>
>> /var/log/perfsonar/web_admin/web_admin.log:2018/05/16 13:06:39 (12934)
>> ERROR> ConfigClient.pm:93
>> perfSONAR_PS::NPToolkit::ConfigManager::ConfigClient::saveFile -
>> Problem writing file /etc/perfsonar/lsregistrationdaemon.conf:
>> RPC::XML::Client::simple_request: RPC::XML::Client::send_request: HTTP
>> server error: Can't connect to
127.0.0.1:9000 (Connection refused)
>>
>> I noticed also one thing:
>> ------------------------
>> # netstat -tulpn
>> Active Internet connections (only servers)
>> Proto Recv-Q Send-Q Local Address Foreign Address
>> State PID/Program name
>> tcp 0 0
127.0.0.1:37469 0.0.0.0:*
>> LISTEN 10552/java
>> tcp 0 0
127.0.0.1:7199 0.0.0.0:*
>> LISTEN 10552/java
>> tcp 0 0
0.0.0.0:9922 0.0.0.0:*
>> LISTEN 1132/sshd
>> tcp 0 0
127.0.0.1:9160 0.0.0.0:*
>> LISTEN 10552/java
>> tcp 0 0
127.0.0.1:11211 0.0.0.0:*
>> LISTEN 1127/memcached
>> tcp 0 0
127.0.0.1:9042 0.0.0.0:*
>> LISTEN 10552/java
>> tcp 0 0
127.0.0.1:7000 0.0.0.0:*
>> LISTEN 10552/java
>> tcp 0 0
127.0.0.1:5432 0.0.0.0:*
>> LISTEN 1186/postgres
>> tcp 0 0
127.0.0.1:25 0.0.0.0:*
>> LISTEN 1828/master
>> tcp6 0 0 :::861 :::*
>> LISTEN 1138/owampd
>> tcp6 0 0 :::9922 :::*
>> LISTEN 1132/sshd
>> tcp6 0 0 ::1:9000 :::*
>> LISTEN 1961/toolkit_config
>> tcp6 0 0 ::1:11211 :::*
>> LISTEN 1127/memcached
>> tcp6 0 0 :::80 :::*
>> LISTEN 1133/httpd
>> tcp6 0 0 :::4823 :::*
>> LISTEN 1226/bwctld
>> tcp6 0 0 ::1:5432 :::*
>> LISTEN 1186/postgres
>> tcp6 0 0 ::1:25 :::*
>> LISTEN 1828/master
>> tcp6 0 0 :::443 :::*
>> LISTEN 1133/httpd
>> udp 0 0
127.0.0.1:11211
>> 0.0.0.0:* 1127/memcached
>> udp 0 0
80.94.170.182:123
>> 0.0.0.0:* 747/ntpd
>> udp 0 0
127.0.0.1:123
>> 0.0.0.0:* 747/ntpd
>> udp 0 0
0.0.0.0:123
>> 0.0.0.0:* 747/ntpd
>> udp6 0 0 ::1:11211
>> :::* 1127/memcached
>> udp6 0 0 fe80::e2d5:5eff:fe1:123
>> :::* 747/ntpd
>> udp6 0 0 ::1:123
>> :::* 747/ntpd
>> udp6 0 0 :::123
>> :::* 747/ntpd
>> ------------------------
>> toolkit_config_daemon is running, but it listens only on ::1:9000, no
>> sign of opened port for IPv4.
>> I've got one more perfSONAR host and 'netstat -tulpn' shows
>>
127.0.0.1:9000 in its output.
>>
>> How this issue can be fixed?
>>
>