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: Elicia Heera <>
  • To: Mark Feit <>
  • Cc: "" <>, Roderick Mooi <>
  • Subject: Re: [perfsonar-user] pscheduler server error pemission denied
  • Date: Tue, 12 Dec 2017 10:19:10 +0200
  • Ironport-phdr: 9a23:Kvi8WB1l31TaBxgYsmDT+DRfVm0co7zxezQtwd8ZseMWKvad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q89pDXYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYO/RkfqPZYNgUW2xPUMhMXCBFAo6wao0CBPcDM+lFtYnwv1kBrRW+CweiB+3h1yFGiWPt0KIgz+gsCxvL0BA8E98MtnnfsdX7NL0VUeCw1KTGwjHDb/JK1jf88ofDbxIvru+SUrJqa8Xa1E4iGB3BjlWRtYPlPima2/8Ws2eB6epgT/ygi2g9pw5rvjej3MYthZPQi48T11vK+yJ5wIMvKt25Tk52ecakH4VKtyGULIt2RcUiTHtyuCogzL0Jp4K7cDARyJs9wR7fceKIc46S7h35SOmdOzZ5i2hjdbmihBiy6VCtxvP9W8Wo0ltHqyRFn9rXuXwR0hHe5dSLRudh8UqkxTmDywPe5+RBLEwqi6bUNZgsyaMqmJUJq0TMBCr2lV32jKCIckUk/fCl6+H9bbXnop+QLpJ0hRviPqg3lc2zH/o0PRYUU2iU/uS807Lj/UnnT7lQkvI2lazZvIjbJcQduKG5HxdY3pgi5hqjDTqr1doYkHocI15ZfR+KgJTlN03SL/39Efizn1ehnTJuyvzYILHuHI3BLn3Zn7fgebZ95VRcyA02zd1H+Z1UDrABL+7yWkDrr9HYFQU2Mwquw+n5DtVxzJkRVn6VDq6YKqzeqUWI6f43I+mQeI8Vvy7wK+A76P70g385glgdfa+z0psNcXy4A+9mLFuDYXf3htcBEHwKvhYlTOD0klGCUDhTZ2qsUKIm4DE0Fp6mAZnZSo+znbOBwXTzIpoDQ2lcCRiiHHb0P9GBVfoNdAqTJNNsiDoJSeLnRoM8g0KArgj/npdjL+HV82U4uJ/53ZAh6unSnhA73Sd9Cd6Q1SeERCdmlzVbFHcNwKljrBklmR+42q9ijqkdRIFe

Hi Mark,

Apologies for the delay in getting back to you.

If I see the error again, I will send you the output you requested. If I check the status of ticker and scheduler, it shows the error dated with when it occurred and does seem to be reoccurring. 

Regarding the migration process, I performed a backup, clean install and restore as per the migration instructions (http://docs.perfsonar.net/install_migrate_centos7.html). At the moment we have only migrated 5 nodes out of 18 using this process and I received this error when updating from 4.0.1 to 4.0.2 on the nodes running CentOS 7. I did a manual update of each node and as it was installing, I received the errors (we have automated emails for errors). If errors occur during a manual update, will the update be installed correctly? 

Thank you for the information and help. 

Kind regards
Elicia

On Fri, Dec 1, 2017 at 6:26 PM, Mark Feit <> wrote:

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