Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] pscheduler and postgresql-9.5 are not working with perfSONAR v4.0

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] pscheduler and postgresql-9.5 are not working with perfSONAR v4.0


Chronological Thread 
  • From: Daniel Manzo <>
  • To: perfsonar-user <>
  • Subject: [perfsonar-user] pscheduler and postgresql-9.5 are not working with perfSONAR v4.0
  • Date: Wed, 7 Jun 2017 17:46:01 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:JNWscBBQoilP8IDrU2I1UyQJP3N1i/DPJgcQr6AfoPdwSPT4osbcNUDSrc9gkEXOFd2CrakV1KyI6uu5ADBIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbF/IA+3oAnMucUanJZuJ6kswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9VoAyvqQFjw4DaY4+VNeZxcazGcNwAWWZNQtxcWzBdDo+haYYEEuoPPfxfr4n4v1YAowGxBQ+tBOzxzj9Dm3j40rc80+UgFgHNwQstEM8Uv3TSrdX6KqMSXfqwzKbSyzXCbvRW1Czm54fSchEuv+uMUahsfsrWzEkiDgXIhUiTp4z9Jz6ZyPkBv3aB4+dhWu+jkXArpx9xrzS12MsglIfEipoIxlzY7yl0w4g4Kce2RUN4e9KpFJVduzmUN4RoQc4uX2RltSM1x7ACt5O3YS0HxIojyhPbafGKdouF7Q/9WOmMJDp1hm9qd6ixhxu07EOu0PfzVtOu31ZPtidFksfDtnQK1xHL8ciHT+d9/l+k2TeAywze5ftILlsumqvbNZEh2KQ8mYcNvkjbHy/2nlv5jLOOe0k65+Sk9f7rb7Tpq5OGKYN4lAHzPr4wlsChD+k0Kg0OUHKa+eS42r3j50r5QLBSg/IriKbZtpHaKtofpqKjBg9ayIAj6he4Dzq9y9sXh3kGI0xfeB6dk4fpPFTOLOjiDfijm1SsjCtrx/feM735HJrNNHbDkKzmfbZ78UFc0hM/zc1E551KELEMO/bzWk7qtNzEFR81LRa4w+fhCNVhyIweQ2SPDbGFMK/Mq1OH+P8gI/TfLLMS7S7wMfY+4PjnlzokglIHNf2x0IEZc3e+F+4jPl6Ue1LthMsMC2EHolB4QeD33g6sSzlWMlq7WaMx4nkeAYS0Cs+XSomrgbGFmiKyGI9RTmpPG12WV3zvctPXCL83dCuOL5o5wXQ/Xr+7Rtp52A==

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