Skip to Content.
Sympa Menu

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 17:01:17 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:m0BdXhwMWZSlOB7XCy+O+j09IxM/srCxBDY+r6Qd2u4TIJqq85mqBkHD//Il1AaPBtSEra0dwLOO7+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhjexe7F/IAi5oQnMqsUbjpZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxDmkicHMyMy/n/RhMJ+kalXpAutqhh8zoLRZoyeKfhwcb7Hfd4CRWRPQNtfVzBPDI2/YYsADesBMvpXoYbyvFYOsQK+CA2wCO/z1jNFhnn71rA63eQ7FgHG2RQtE9wMvnTVsNX6KKcSXfiox6fUzTTMdfVW0irh5oPVbB0vov6DVq9tf8TL1UQgFx/IgEmNp4PnIj2YyOsDvXCC4+R6Se+ilW0ppQFyrDWx3ssnl4nEi4wUx1za8Sh1zps+KNqiSE97e9GkFoFctyGbN4tqXswiQ3pluCAgxb0YuZ+3Zi0KyJUjxxPGbfGMbouG4gr7WeqPPDt1i2hpdKywihqo70Ss1PfwW8q73VpSsyZJjsPAum0X2xDO9MSLVuFx8lqi1DuOzwzf9P1ILEAumafYK5Mt2LE9m54JvUjdAiP7lkP7h7KMeEo+4Oin8eHnb63mppCCM490jRnzMrktmsOhBeQ0LwwDX3CB9uih1bDv51P2T6tPjv0tnanVqpXaKt4apq69GQNV14cj6xKnAzen1tQXg2UHIUpbdB6agIXlIU/CLf/iAfuhnVigijRmyv/eMr3kGJrNL3zDkLn7fbZ67k5R0BAzzNBF6JJSEL0BIPPzWlPtu9zYFRI5NRa7w/jnCdln04MeWGaPDreDMKzOqV+I+v4vI+6UaY8Npjn9MfYl5+XpjX8/g1AdZ7Cl3YYMaH+mBPRrOEGZYXv3gtcdCmcGoBAyTO3siF2eTzFTfXCyULwg5j0lEo6pE5rMRp3+yICGiT+2BJNNYWZPEBWRCnryP9GcVu0CcyWUK9UkjycJT5CgTZMszxejqFW8xrZ6eLn64Cod4NjD1cR+56mbrwA783ROR++87Sm2d0hLt1kzdgQd8YY6mWVW63mi+uww3qcGT40Zr6dTQw48c57d0+d6I9b7RBOHe9aNHgX1Cu66CC08G4pii+QFZFxwTpDz3h0=

Not sure if this is related yet, but the following error appears installing
the postgresql-init-9.5-1 dependency:



Installing : postgresql-init-9.5-1.el7.centos.noarch
78/279

grep: /etc/systemd/system/multi-user.target.wants/postgresql-9.5.service: No
such file or directory

Unable to find PGDATA at

Running in chroot, ignoring request.

failed to find PGDATA setting in postgresql-9.5.service

Created symlink
/etc/systemd/system/multi-user.target.wants/postgresql-9.5.service, pointing
to /usr/lib/systemd/system/postgresql-9.5.service.



Followed by a bunch of other errors when installing pscheduler-server:

Installing : pscheduler-server-1.0.0.4-1.el7.centos.noarch 208/279

Can't open /var/lib/pgsql/9.5/data/postgresql.conf: No such file or directory



Running in chroot, ignoring request.

Unable to determine PostgreSQL user.

....and a whole lot more...



________________________________
From:


[]
on behalf of Hitch, Ryan R CIV SPAWARSYSCEN-PACIFIC, 53629
[]
Sent: Monday, June 12, 2017 12:52 PM
To: perfsonar-user
Subject: [Non-DoD Source] [perfsonar-user] RE: pscheduler and postgresql-9.5
are not working with perfSONAR v4.0

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



Archive powered by MHonArc 2.6.19.

Top of Page