Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] pscheduler server error pemission denied

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] pscheduler server error pemission denied


Chronological Thread 
  • From: Mark Feit <>
  • To: Elicia Heera <>, "" <>
  • Cc: Roderick Mooi <>
  • Subject: Re: [perfsonar-user] pscheduler server error pemission denied
  • Date: Fri, 1 Dec 2017 16:26:38 +0000
  • Accept-language: en-US
  • Authentication-results: sanren.ac.za; dkim=none (message not signed) header.d=none;sanren.ac.za; dmarc=none action=none header.from=internet2.edu;
  • Ironport-phdr: 9a23:EfePgBelEmwWfhKrdBwXFH48lGMj4u6mDksu8pMizoh2WeGdxcWzYR7h7PlgxGXEQZ/co6odzbGH4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQct0ARWpFQ81fSSpPDI2hZIcLDucNOOBVpJT/qVQTtxuzHQmiCv3yxD9UiHH43qM63OYgEQ7a0wMtBMgBvGjRrNjvKKseTeK4wa/VxjvDdfNW3jL95ZDPfB87u/GMXq97f8rPxkkuCwPOk1KdqYnrPzyL1+QNr3OW7+tmVeKzlWEnsQdxrSazxssykIXGmJ8ayk3d+Ch/3Y07K9q4SEthbt6lFptdrzmaOJVsQsMsWGFovyA6xaccuZKheigF1ognywbEa/OddYiI+AzsVOCLLThimH1pYrO+iAy0/EO9yeP8TtG53EhWoidHiNXBuXEA2wbO5sWGRPZx5Fmt1SiX2wzO9u1JIlo4mbTYJpI73LI9mZ4evV7eEiPrhUn7irKdeF8+9eiy8evnZ63rpp+COI9wjQHzKrwgl9C4D+gkPAUCRmaV9+Oy2bH6+k32W6tFgucxkqnErJDVPsMbprO/AwBIyIoj8wy/DzC60NsGgXYHMFNFeBWBj4TzPFHOPez4DfO4g1Srkzdn3ezJPrrkApnVL3jDlqnufapl5kJC1AY+z8pT6p1VB70bPf7+W0H8uMbGAhMnKwC0xvzoCNR51oMQQ2KPBaqZPbvXsV+G+O0vIvWMaZQUuDb7N/gq+eTujXknll8BY6Wlx4UYZ22lHvh+OUWWfWLsgssdEWcNpgc+VPLliEeMUT5IYHayWbgz5isiBIK7FofMWJqtjaeF3Ce6BZ1WentGBk6WHXfpcYWER+kDaDiUIsB/jjwIS6KtRJE82hGz50fGzO9KKuvf+yRQlZ/uztE9s+DXlBoz/BRvBsKH3mfLRmoyjGpeA3d8xK1lr1d6zF6ZlLVjjuZwFNpP6ulPXxtgc5PQ0qYyX8j/QAzaedGAUhO7Wdi8KTA3Ut8rxdISOQBwF8j03T7Z2C//JrYPlPSlCZ0ouvbZ0XXwO+58zWrLzq8skwNgT8dSYz71zpVj/hTeUtaa236SkLynIOFNgCM=
  • Spamdiagnosticoutput: 1:0

Elicia Heera writes:

 

While updating to 4.0.2, the nodes on our network that have been upgraded to CentOS7 gave the following error:

 

reason:         pidfile.py:42:__exit__:OSError: [Errno 13] Permission denied: '/var/run/pscheduler-ticker.pid'
cmdline:        /usr/bin/python /usr/libexec/pscheduler/daemons/ticker --daemon --pid-file /var/run/pscheduler-ticker.pid --dsn @/etc/pscheduler/database/database-dsn
executable:     /usr/libexec/pscheduler/daemons/ticker
package:        pscheduler-server-1.0.1.1-1.el7.centos
component:      pscheduler-server

 

The scripts that start the daemons build that file separately with the proper ownership and atomically move it into place, so unless there’s something weird going on like a umask of 2xx, it should be writable.  If you see this again, please send me the output of “ls -al /var/run” and I’ll have a look at it.

 

Also, could you clarify for me whether the migration you did was an in-place upgrade or a backup, clean install and restore per the migration instructions (http://docs.perfsonar.net/install_migrate_centos7.html)?

 

 

Nov 30 11:45:24 perfsonar5.sanren.ac.za scheduler[2839]: safe_run/scheduler ERROR    Program threw an exception after 0...6703

Nov 30 11:45:24 perfsonar5.sanren.ac.za scheduler[2839]: safe_run/scheduler ERROR    Exception: DatabaseError: server c...edly

                                                                 This probably means the server terminated abnormally

                                                                 before or while processing the request....

 

A few of those for each daemon are normal surrounding an upgrade, as a couple of the packages force PostgreSQL to be bounced.  The pScheduler daemons are built to be self-restarting if anything goes wrong and see losing the connection to the database as wrong.  I’ve debated having this happen quietly for that case but decided to err on the side of leaving the warning in there in case the database dies for other reasons.

 

--Mark

 




Archive powered by MHonArc 2.6.19.

Top of Page