perfsonar-user - Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Brian Candler <>
- To: Mark Feit <>, "" <>
- Subject: Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid
- Date: Wed, 12 Dec 2018 22:03:31 +0000
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=iZPqsk KPpl4OSELJoyFFgir3fWNTXd3lI0stqNr7+JD9EKOvlSW/loMqhxQcTPbZpVo4Ny 1QXLwi1RpQDeiQ4Da8BGV3/buENf167K1boBI7TtDgyYwttOqNy3/IyYVTq4sKVk zK8xtL/Xq7nXYp8+OqQ1ucC7ZJc8ntZVdpvjs=
- Ironport-phdr: 9a23:5CnMbRfEQpGTfpBV8YGVyQzWlGMj4u6mDksu8pMizoh2WeGdxcW7YR7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTzFPDJ2yb4UPDOQPM+hXoIb/qFQSohWzHhWsBPr1xzNUmnP706833uI8Gg/GxgwgGNcOvWzJodXvNacdS+a1x7TWwDrZafNZxDP955bSchs8pvyDRqh8ftbLxkkpCgzFikufqZb+MjON0eQCqG+b7uV6We2zjG4nrhh8rz6yzckvkonEnp8Zx1LK+Clj3oo5O961RFRmbdOkEpZcrSGXOoVuTs4tXm1koic3x7wctZKlYCQG1Y4rywDBZ/GDdYWD/wjtW/yLIThigXJoYLK/iAi28Uin0uD8TtK73E9RripAjtnMrm4B2wHJ5sifTfty5UCh2DmV2w/P7eFEJFg4lavdK5E/3r49jocfvEbNEyPshkn6kqybel859uWo6enreLXrq5GEO49xkA7+M6AumsKlAeQ/NwgDR3OU9f6g27L5+032XbFKgeMskqTCqJDaIt8Upqm2AgNPzokj7BO/Ay+80NsEhXkHME5FeBWfgojsNVHBPvH4DeukjlStljdr2+7JPqfnAprTMnjPjq3tcqhg5E5B0AAz18xQ54pICrEdJ/L+Qlfxu8LCDh83KAy0xODnB89n1o8HRGKPGbGWMLnJvF+M5+IvOPWMZJQLtDrnKvgl4eLugmEjmV8bY6apwYUbZGqmEft7PkXKKUbr1/IIC2RCkAc/UKS+jVOPUCJ7ZnCuUrg66y1hTo+qENGHDsq1jaaPxyC9F4cTe3tLEHiNF2vlbYOJR61KZS6PaIc1ijEeW6OmTYY7kAy1uRXSyrx7I/DS9zFC85/vyY4myffUkEQY7z19CYy22meBS2xu1jcCATQ/2qx7rFZV0lCJ1rg+iPtdQ48Ar8hVWxs3YMaPh9dxDMr/D0eYJo+E
On 11/12/2018 12:54, Mark Feit wrote:
Brian Candler writes:
After a "yum upgrade" of a 4.1 node which was a few months old (I think
it went for 4.1.2 to 4.1.4), I got the following error after sudo to
root:
...
reason: pidfile.py:48:__exit__:OSError: [Errno 13] Permission
denied: '/run/pscheduler-ticker.pid'
...
uid: 1000 (pscheduler)
...
# ls -l /run/pscheduler-ticker.pid
-rw-r--r-- 1 pscheduler pscheduler 4 Dec 10 21:45
/run/pscheduler-ticker.pid
# ls -ln /run/pscheduler-ticker.pid
-rw-r--r-- 1 1000 1000 4 Dec 10 21:45 /run/pscheduler-ticker.pid
# ls -ld /run
drwxr-xr-x 39 root root 1400 Dec 11 08:12 /run
All of that looks correct. The PID files are created and chowned by the systemd service file (see /usr/lib/systemd/system/pscheduler-ticker.service) as root prior to the daemon starting. The last change to anything related to starting programs was in August's 4.1(.0) release. 4.1.3 and 4.1.4 were almost non-events for pScheduler, so this shouldn't be anything related to the upgrade.
Are you seeing this just for the ticker or for the other pScheduler services
as well?
I only saw that one message. After another sudo no more such warnings are seen, and "abrt-cli list --since 1544476167" doesn't show any more messages.
Is the system a stock toolkit or have there been site-specifc changes made
to the system?
Stock toolkit installed from ISO (although running in a VM - it's just for demo purposes)
Is there a ticker running?
Yes, although I'm afraid I have restarted the VM since originally posting.
[root@perfsonar0 sysadm]# ps auxwww | grep ticker
pschedu+ 4325 0.0 0.5 349192 20484 ? Ssl 08:38 0:02 /usr/bin/python /usr/libexec/pscheduler/daemons/ticker --daemon --pid-file /run/pscheduler-ticker.pid --dsn @/etc/pscheduler/database/database-dsn
root 9555 0.0 0.0 112712 980 pts/0 R+ 21:53 0:00 grep --color=auto ticker
[root@perfsonar0 sysadm]# uptime
21:53:33 up 13:14, 1 user, load average: 0.02, 0.06, 0.11
Anything in /var/log/pscheduler/pscheduler.log other than the complaint
about the failure?
I don't see the exception which abrt showed. I do see several cases of what look like SQL exceptions:
Dec 12 08:38:56 perfsonar0 journal: ticker INFO Started
Dec 12 08:39:18 perfsonar0 journal: ticker WARNING Queue maintainer got exception server closed the connection unexpectedly
Dec 12 08:39:18 perfsonar0 journal: ticker WARNING #011This probably means the server terminated abnormally
Dec 12 08:39:18 perfsonar0 journal: ticker WARNING #011before or while processing the request.
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR Program threw an exception after 0:00:34.059668
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR Exception: OperationalError: server closed the connection unexpectedly
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR #011This probably means the server terminated abnormally
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR #011before or while processing the request.
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR Traceback (most recent call last):
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR File "/usr/lib/python2.7/site-packages/pscheduler/saferun.py", line 73, in safe_run
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR function()
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR File "/usr/libexec/pscheduler/daemons/ticker", line 157, in <lambda>
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR pscheduler.safe_run(lambda: main_program())
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR File "/usr/libexec/pscheduler/daemons/ticker", line 137, in main_program
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR cursor.execute("SELECT ticker()")
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR OperationalError: server closed the connection unexpectedly
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR #011This probably means the server terminated abnormally
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR #011before or while processing the request.
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR Waiting 0.25 seconds before restarting
Dec 12 08:39:31 perfsonar0 journal: safe_run/ticker ERROR Restarting: ['/usr/libexec/pscheduler/daemons/ticker', '--daemon', '--pid-file', '/run/pscheduler-ticker.pid', '--dsn', '@/etc/pscheduler/database/database-dsn']
Dec 12 08:39:31 perfsonar0 journal: ticker INFO Started
There are some variations on this, e.g.
Dec 10 21:41:23 perfsonar0 journal: safe_run/ticker ERROR SQL statement "SELECT tool_boot()"
Dec 10 21:41:23 perfsonar0 journal: safe_run/ticker ERROR PL/pgSQL function warm_boot() line 5 at PERFORM
Dec 10 21:41:23 perfsonar0 journal: safe_run/ticker ERROR SQL statement "SELECT warm_boot()"
Dec 10 21:41:23 perfsonar0 journal: safe_run/ticker ERROR PL/pgSQL function cold_boot() line 3 at PERFORM
Dec 10 21:41:23 perfsonar0 journal: safe_run/ticker ERROR server closed the connection unexpectedly
Given that it restarts and recovers, these don't worry me - maybe just to do with startup sequencing.
Don't worry - if this abrt report doesn't have any value, and given that it's not recurring, then I don't think it's worth further investigation. To be honest I had never come across abrt before :-)
Cheers,
Brian.
- [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid, Brian Candler, 12/11/2018
- Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid, Mark Feit, 12/11/2018
- Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid, Brian Candler, 12/12/2018
- Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid, Mark Feit, 12/13/2018
- Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid, Brian Candler, 12/12/2018
- Re: [perfsonar-user] ABRT: permission error on /run/pscheduler-ticker.pid, Mark Feit, 12/11/2018
Archive powered by MHonArc 2.6.19.