perfsonar-user - [perfsonar-user] Problems restarting pscheduler-runner
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Casey Russell <>
- To: "" <>
- Subject: [perfsonar-user] Problems restarting pscheduler-runner
- Date: Tue, 22 Aug 2017 10:57:10 -0500
- Ironport-phdr: 9a23:sd/bjxJ/41jBoSu1GdmcpTZWNBhigK39O0sv0rFitYgfKvnxwZ3uMQTl6Ol3ixeRBMOAuqIC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhicJOTA67W/ZlNB/gblBrx69vRFy2ZLYbJ2XOfd4Y6jTfckaRW1EXstJSSFOGJi8YJUPDuEcIehYspL9p0AQohu6AQmnGeTixSNShn/rxq06yPouEQXC3AE7HNIBqnLUrM/rO6cUS+y1yrfHzSnaYv5QxDzz5o/IchU7rvGNW7J9ac7RyUgpFwPGkFqftI3lPzWP2usRtGib6vJsVf6him4mtwFxviagxt02hobVgYIVz0jI+jlnz4YzOd24T1V7bcSjEJtKuCGWL4h2TdkkQ2Fypik6zKcKuZilcygWzpks2h3Ra+SffoSW4x/vSOScLDJ2hH9mY72zmxO//Ee8xuHgSsa51UpFojZFn9TJs30ByQLf6saBR/Bg5EmuwyyP2BrW6uxcIUA7i67bK5k5z741jJUTsEDDEjbomEX1kKOab0ol9va25+TpeLnmqZicN4h7igH6LKsigNCwAeM9MgQWXmib//qz1KH78EHnQbhGkv87n6zXsJ3ZPssXuqu0DgBJ3oo/9xmyCiup3MgYkHQCKV9JZgyLj4bxN1HLOv/4DPO/g1q2kDdswvDLJqHuAo/QLnjYi7fuY7J960pHxQow199f4YhUBa8HIP7pXE/+qsDYAgcjMwOo2+bnFMl91oQGVGKXHKCZKq3SsUSP5uIpOeaMfpYZuCvmK/c7/f7jlns5mV4Gfam1xpsbdmq0HvVgI0WFf3XsmNEBHnkWvgYgVuDllkCNUSMAL0q1Cugk6ys1E4WgBJ2GW5ugmpSA2ju2BJtbejoAB1yRWz+8b4ieVewLbiuIZ9J6nyYsVL69RpUn2A308gL21uw0APDT/3gzvInuxZBP+vbImBU2vWh/FdmGyGyJS0l3l2USSjlw2q1j9x8ugmyf2LR11qQLXedY4OlEB183
group,
I'm having problems with owamp on a new PS4/Centos7 box that was freshly installed via a toolkit ISO a couple of months ago. This morning while troubleshooting that I was reminded of another issue I'm having on that box.
Since the install, I occasionally get emails from the (new) abrt-cli service in CentOS 7 complaining about a problem restarting the pscheduler-runner service. It's clearly a permissions error, although I don't see what's wrong with the permissions.
The email is below. My owamp problems may be unrelated, so I'm not going to go into them here. Is anyone else seeing this behavior? If I hand restart pscheduler-runner, it takes a VERY long time (30 seconds or more) to shut down and the does appear to start again, since a "status" shows it running.
The abrt-cli email message is below my signature: If any other info would be helpful let me know and I'll be happy to oblidge.
Sincerely,
Casey Russell
Network Engineer
785-856-9809
2029 Becker Drive, Suite 282
Lawrence, Kansas 66047
Lawrence, Kansas 66047
SUBJECT: [abrt] pscheduler-server: pidfile.py:42:__exit__:OSError: [Errno 13] Permission denied: '/var/run/pscheduler-runner.pid'
reason: pidfile.py:42:__exit__:OSError: [Errno 13] Permission denied: '/var/run/pscheduler-runner.pid'
cmdline: /usr/bin/python /usr/libexec/pscheduler/daemons/runner --daemon --pid-file /var/run/pscheduler-runner.pid --dsn @/etc/pscheduler/database/database-dsn
executable: /usr/libexec/pscheduler/daemons/runner
package: pscheduler-server-1.0.1.1-1.el7.centos
component: pscheduler-server
pid: 2703
hostname: ps-fhsu-bw
count: 1
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
duphash: 902b5ca7290beb4c4ffad471369e4982ee312ecb
event_log:
kernel: 3.10.0-514.26.2.el7.x86_64
last_occurrence: 1503414456
os_release: CentOS Linux release 7.3.1611 (Core)
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 868D DF2C 9D7B 9686
pkg_name: pscheduler-server
pkg_release: 1.el7.centos
pkg_vendor: (none)
pkg_version: 1.0.1.1
runlevel: N 3
time: Tue 22 Aug 2017 10:07:36 AM CDT
type: Python
uid: [redacted]
username: pscheduler
uuid: [redacted]
backtrace:
:pidfile.py:42:__exit__:OSError: [Errno 13] Permission denied: '/var/run/pscheduler-runner.pid'
:
:Traceback (most recent call last):
: File "/usr/libexec/pscheduler/daemons/runner", line 907, in <module>
: pscheduler.safe_run(lambda: main_program())
: File "/usr/lib/python2.7/site-packages/daemon/daemon.py", line 386, in __exit__
: self.close()
: File "/usr/lib/python2.7/site-packages/daemon/daemon.py", line 380, in close
: self.pidfile.__exit__(None, None, None)
: File "/usr/lib/python2.7/site-packages/pscheduler/pidfile.py", line 42, in __exit__
: os.remove(self.path)
:OSError: [Errno 13] Permission denied: '/var/run/pscheduler-runner.pid'
:
:Local variables in innermost frame:
:self: <pscheduler.pidfile.PidFile object at [redacted]>
:exc_type: None
:exc_tb: None
:exc_value: None
dso_list:
:python-pscheduler-1.3.1-1.el7.centos.noarch
:python-daemon-1.6-4.el7.noarch
environ:
:LANG=en_US.UTF-8
:SHELL=/bin/bash
:PSCHEDULER_LOG_STATE=(dp0
:S'is_quiet'
:p1
:I00
:sS'facility'
:p2
:I20
:sS'last_level'
:p3
:I20
:sS'forced_debug'
:p4
:I00
:s.
:LOGNAME=pscheduler
:USER=pscheduler
:HOME=/home/pscheduler
:PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
:OPTIONS=
machineid:
[portions redacted]
os_info:
:NAME="CentOS Linux"
:VERSION="7 (Core)"
:ID="centos"
:ID_LIKE="rhel fedora"
:VERSION_ID="7"
:PRETTY_NAME="CentOS Linux 7 (Core)"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:centos:centos:7"
:HOME_URL="https://www.centos.org/ "
:BUG_REPORT_URL="https://bugs.centos.org/ "
:
:CENTOS_MANTISBT_PROJECT="CentOS-7"
:CENTOS_MANTISBT_PROJECT_VERSION="7"
:REDHAT_SUPPORT_PRODUCT="centos"
:REDHAT_SUPPORT_PRODUCT_VERSION="7"
cmdline: /usr/bin/python /usr/libexec/pscheduler/
executable: /usr/libexec/pscheduler/
package: pscheduler-server-1.0.1.1-1.
component: pscheduler-server
pid: 2703
hostname: ps-fhsu-bw
count: 1
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
duphash: 902b5ca7290beb4c4ffad471369e49
event_log:
kernel: 3.10.0-514.26.2.el7.x86_64
last_occurrence: 1503414456
os_release: CentOS Linux release 7.3.1611 (Core)
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 868D DF2C 9D7B 9686
pkg_name: pscheduler-server
pkg_release: 1.el7.centos
pkg_vendor: (none)
pkg_version: 1.0.1.1
runlevel: N 3
time: Tue 22 Aug 2017 10:07:36 AM CDT
type: Python
uid: [redacted]
username: pscheduler
uuid: [redacted]
backtrace:
:pidfile.py:42:__exit__:
:
:Traceback (most recent call last):
: File "/usr/libexec/pscheduler/
: pscheduler.safe_run(lambda: main_program())
: File "/usr/lib/python2.7/site-
: self.close()
: File "/usr/lib/python2.7/site-
: self.pidfile.__exit__(None, None, None)
: File "/usr/lib/python2.7/site-
: os.remove(self.path)
:OSError: [Errno 13] Permission denied: '/var/run/pscheduler-runner.
:
:Local variables in innermost frame:
:self: <pscheduler.pidfile.PidFile object at [redacted]>
:exc_type: None
:exc_tb: None
:exc_value: None
dso_list:
:python-pscheduler-1.3.1-1.
:python-daemon-1.6-4.el7.
environ:
:LANG=en_US.UTF-8
:SHELL=/bin/bash
:PSCHEDULER_LOG_STATE=(dp0
:S'is_quiet'
:p1
:I00
:sS'facility'
:p2
:I20
:sS'last_level'
:p3
:I20
:sS'forced_debug'
:p4
:I00
:s.
:LOGNAME=pscheduler
:USER=pscheduler
:HOME=/home/pscheduler
:PATH=/usr/local/sbin:/usr/
:OPTIONS=
machineid:
[portions redacted]
os_info:
:NAME="CentOS Linux"
:VERSION="7 (Core)"
:ID="centos"
:ID_LIKE="rhel fedora"
:VERSION_ID="7"
:PRETTY_NAME="CentOS Linux 7 (Core)"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:centos:
:HOME_URL="https://www.centos.
:BUG_REPORT_URL="https://bugs.
:
:CENTOS_MANTISBT_PROJECT="
:CENTOS_MANTISBT_PROJECT_
:REDHAT_SUPPORT_PRODUCT="
:REDHAT_SUPPORT_PRODUCT_
And just for clarity, the permissions on the PID FILE:
-rw-r--r-- 1 root root 9 Aug 22 10:09 pscheduler-runner.options
-rw-r--r-- 1 pscheduler pscheduler 5 Aug 22 10:09 pscheduler-runner.pid
- [perfsonar-user] Problems restarting pscheduler-runner, Casey Russell, 08/22/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Jon Clausen, 08/23/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Casey Russell, 08/23/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Jon Clausen, 08/23/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Casey Russell, 08/23/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Jon Clausen, 08/23/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Casey Russell, 08/23/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Mark Feit, 08/24/2017
- Re: [perfsonar-user] Problems restarting pscheduler-runner, Jon Clausen, 08/23/2017
Archive powered by MHonArc 2.6.19.