Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSONAR won't save settings

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSONAR won't save settings


Chronological Thread 
  • From: Oleg Moiseichuk <>
  • To: Chris Griffin <>
  • Cc:
  • Subject: Re: [perfsonar-user] perfSONAR won't save settings
  • Date: Thu, 17 May 2018 12:39:18 +0300
  • Ironport-phdr: 9a23:4p399Rxl2WQJo5TXCy+O+j09IxM/srCxBDY+r6Qd1O8RIJqq85mqBkHD//Il1AaPAd2Araocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HdbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CWGRPQMhRWSxGAo2/YYUAAeUOMuREoITmqFsCsQGzCBWwCO7hyDJFgGL9060g0+QmFAHLxBUuH9YQv3Tbsd77M6ASUeGuzKbWzDXMc/NW2Sr+6IPVdR0hpvSMUKlrfsXL0kkvER3KjkmKpYP+PzKYz+IAuHWY4ep4Te+iiHIrpxt1rzWg3Msgl4vEi40Pxlza+yh13J45KN6kREJhZdOpH4FcuzybOodqWM8uXnxktSAnwbMco5G7ZjIFyJE/yh7fdfOHd4+I7wrmVOmLIDd4gGhpd6mliBap90iv1PH8WtOv31dKtiZFk9/MuW4R1xHL6cWLVuFx80Ou1DqVygze6O5JLVoqmafVN5It2rswmYASsUTHEC/2gkL2jKqOe0Uj/+il8P/oba/9pp+aKYB0lhvyPb8um8CnG+Q3LhAOX3SH+eS7zLDj5VP2QK9Ejv0tlanZtorVJd4Cqq6kGA9azJwj5g27Dzeny9QYgWIHIExfdBKGiYjpJ0/BIOr+Dfihn1Sgji1nyO7bMb38Ud3xKS3okK3gZv5S8U9Sxgs1hYRU6IhVBL8AJtr9XlX3ucCeCQU2ZV+a2eHiXfJ524xWfGWOGaKYO6PPshfc4ecHKeCXYoIJ/jzsfat2r8XyhGM0zAdONZKi2oEaPTXhRqxr
  • Organization: BASNET

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?



Attachment: smime.p7s
Description: Криптографическая подпись S/MIME




Archive powered by MHonArc 2.6.19.

Top of Page