perfsonar-user - [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0
Subject: perfSONAR User Q&A and Other Discussion
List archive
[perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0
Chronological Thread
- From: "Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629" <>
- To: perfsonar-user <>
- Subject: [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0
- Date: Mon, 12 Jun 2017 16:52:46 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:LKBzhRUw7oTBOqPRE57Ayo83RqjV8LGtZVwlr6E/grcLSJyIuqrYbRCCt8tkgFKBZ4jH8fUM07OQ6PG/HzNZqs/Z7DgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyrwjdrMsbjZZtJqos1hfErWZDdvhLy29vOV+dhQv36N2q/J5k/SRQuvYh+NBFXK7nYak2TqFWASo/PWwt68LlqRfMTQ2U5nsBSWoWiQZHAxLE7B7hQJj8tDbxu/dn1ymbOc32Sq00WSin4qx2RhLklDsLOjgk+27ZkMxwiL9QrgynqRJx3oXYZJiZOf59c6/Ye94RWGhPUdtLVyFZAo2ycZYBD/YPM+hboYnypVoOogexCwajH+7v1iZIi3vq0aEmz+gsEQfL1xEgEdIUt3TUqc34OKkQX+C00KnH0TXDY+tL0jnh6InHaBYhquyQU7ltb8ffykYgHB7YgFuKtYHqPy+Y2PgQvWeZ8uRtS+2hhXY+pw9rvjWi2MQihInKiI8L0lzP6CV0zYg0KNGmTEN3b8OvHZxKtyCaLYR2RNkuQ2FpuCYm1rIGuYW2fC4Qx5Q5xx/TcfmHc4mM4h/6UuuaPDR2hGp9db6hmhq//lKsxvPzW8WuzlpGsDBJn9rMu3wVyhDf9tKLRuZn8ku8xzqDyxrf5vxHLE01jabXNYItz74qmpcQsUnPBCD7lUHsgKOIakkp9O6l4Pn9bLr8vJ+TLYp0hxn+Mqswnsy/Bvw1MhUNX2eF/eSwybnu/VXjT7lXjPA6iLfWv47fJcQAqa61GQpV3Zwi6xa7FTum1dUYnX0fIFJEfhKIkZTpNknQLPzlAvqzmUqgnThxy/zYILHtGJbAI3jbnLfkZ7l96kpcyAQpzdBY4pJZEqsBIfLpVU/3rtDYDh45MxCozObnE9h90JkRWXyPA6ODNaPSsFuI6vo1I+aQfI8VpCr9K/896v72k3A5g1EdfbKu3ZsRcn+4BO1qI1iCYXXymNcMCmMKvgslTOz2k12OTyRfZ3e0X6Ig+D47EoSmApnfRoyzmrCOwjq0HoAFLlxBX0iBC3nzcIONQbIRcy+Iapt5nyYKTr+nQpVkyAqjrif7zaZqNOzZ5ndeuJ7+gotb/erWwFsS9CB/D4DV6XCESSlO1kgpeXcN5IlAiHZG+2yo/I49u9VzNPJyzLcBD1xkb8+Wh7hgGtn0HALAYtyJYFCvXMTgBDA1GIFii+QSalpwTo3xxivI2DCnVvpEx7E=
I am seeing the same thing on a fresh minimal install of CentOS 7.3 and then
a "yum install perfsonar-testpoint".
Neither postgresql-9.5 nor pscheduler will start. SELinux is permissive.
Thanks,
Ryan
________________________________
From:
[]
on behalf of Daniel Manzo
[]
Sent: Wednesday, June 07, 2017 1:46 PM
To: perfsonar-user
Subject: [Non-DoD Source] [perfsonar-user] pscheduler and postgresql-9.5 are
not working with perfSONAR v4.0
Hi all,
After upgrading my server from RHEL 6.8 to 7.3, I needed to re-install
perfSONAR (going from 3.5 to 4.0) on my machine. After installation,
postgresql-9.5 will not start and all pscheduler tasks are reported as
“active (running)” but throw errors. The errors from each are shown below:
Pscheduler
Jun 7 13:35:06 by0ok5 journal: safe_run/ticker ERROR Restarting
Jun 7 13:35:06 by0ok5 journal: safe_run/ticker ERROR Program threw an
exception after 0:00:00.000908
Jun 7 13:35:06 by0ok5 journal: safe_run/ticker ERROR Exception: IOError:
[Errno 13] Permission denied:
'/etc/pscheduler/database/database-dsn'#012Traceback (most recent call
last):#012 File "/usr/lib/python2.7/site-packages/pscheduler/saferun.py",
line 41, in safe_run#012 function()#012 File
"/usr/libexec/pscheduler/daemons/ticker", line 153, in <lambda>#012
pscheduler.safe_run(lambda: main_program())#012 File
"/usr/libexec/pscheduler/daemons/ticker", line 123, in main_program#012 db
= pscheduler.pg_connection(dsn)#012 File
"/usr/lib/python2.7/site-packages/pscheduler/db.py", line 28, in
pg_connection#012 dsn = string_from_file(dsn)#012 File
"/usr/lib/python2.7/site-packages/pscheduler/filestring.py", line 23, in
string_from_file#012 with open(path, 'r') as content:#012IOError: [Errno
13] Permission denied: '/etc/pscheduler/database/database-dsn'
Jun 7 13:35:06 by0ok5 journal: safe_run/ticker ERROR Waiting 60.0 seconds
before restarting
Postgresql-9.5
â postgresql-9.5.service - PostgreSQL 9.5 database server
Loaded: loaded (/usr/lib/systemd/system/postgresql-9.5.service; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2017-06-05 11:10:05 EDT; 2
days ago
Process: 31031 ExecStartPre=/usr/pgsql-9.5/bin/postgresql95-check-db-dir
${PGDATA} (code=exited, status=1/FAILURE)
Jun 05 11:10:05 by0ok5.na.bayer.cnb systemd[1]: Starting PostgreSQL 9.5
database server...
Jun 05 11:10:05 by0ok5.na.bayer.cnb systemd[1]: postgresql-9.5.service:
control process exited, code=exited status=1
Jun 05 11:10:05 by0ok5.na.bayer.cnb systemd[1]: Failed to start PostgreSQL
9.5 database server.
Jun 05 11:10:05 by0ok5.na.bayer.cnb systemd[1]: Unit postgresql-9.5.service
entered failed state.
Jun 05 11:10:05 by0ok5.na.bayer.cnb systemd[1]: postgresql-9.5.service failed.
I think that the two problems are related, but I’m not sure what needs to be
done in order to fix the errors. To fix the ‘Permission denied’ error, I have
tried changing the owner and group of /etc/pscheduler/database/ to
‘pscheduler’ instead of ‘root’ and changed file permissions. This did not
work, and I am running out of ideas. Any and all help is greatly appreciated.
Thank you,
Dan Manzo
- [perfsonar-user] pscheduler and postgresql-9.5 are not working with perfSONAR v4.0, Daniel Manzo, 06/07/2017
- [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0, Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629, 06/12/2017
- [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0, Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629, 06/12/2017
- [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0, Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629, 06/13/2017
- [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0, Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629, 06/12/2017
- [perfsonar-user] RE: pscheduler and postgresql-9.5 are not working with perfSONAR v4.0, Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629, 06/12/2017
Archive powered by MHonArc 2.6.19.