Comment 21 for bug 1850281

Revision history for this message
In , ferd352+000143 (ferd352+000143-redhat-bugs) wrote :

(In reply to Mark Goodwin from comment #16)
> (In reply to Fernando Viñan-Cano from comment #15)
> > My pmlogger service is constantly failing to start now, so it's worse than
> > before:
> >
> > pcp.x86_64
> > 5.0.0-1.fc30
> >
> > pmlogger_daily failed - see /var/log/pcp/pmlogger/pmlogger_daily-K.log
> ...
> >
> > pmlogger_check failed - see /var/log/pcp/pmlogger/pmlogger_check.log
> ...
>
> Fernando, what version of systemd, which distro/platform? Please also attach
> the above two logs and /var/log/pcp/pmlogger/*/pmlogger.log and also
> "journalctl -xe -u pmlogger" and "systemctl status pmlogger.service". If
> you'd rather email them to me directly rather than attach to a public BZ,
> then please do.
>
> Does it only fail during boot? Or even after a systemctl restart
> pmlogger.service?
>
> Thanks

It's Fedora 30, it fails after a short while if I try to restart it manually, and I'd be happy to reinstall PCP if it could help, but I don't know the best way to do that

[root@MAGGIE ~]# cat /var/log/pcp/pmlogger/pmlogger_daily-K.log

=== compressing PCP archives for host local: ===

pmlogger_daily: [control.d/local:26]
Warning: removing lock file older than 30 minutes
----------. 1 pcp pcp 0 Oct 31 07:54 /var/log/pcp/pmlogger/MAGGIE/lock
pmlogger_daily: [control.d/local:26]
Warning: cannot get archive basename pmlogger PID=180099

pmcd.pmlogger.archive
No value(s) available!
pmlogger_daily: [control.d/local:26]
Warning: current volume of current pmlogger not known, compression skipped

[root@MAGGIE ~]# cat /var/log/pcp/pmlogger/pmlogger_check.log
cat: /var/log/pcp/pmlogger/pmlogger_check.log: No such file or directory

Oct 31 07:56:00 MAGGIE systemd[1]: pmlogger.service: Service RestartSec=100ms expired, scheduling restart.
Oct 31 07:56:00 MAGGIE systemd[1]: pmlogger.service: Scheduled restart job, restart counter is at 392.
Oct 31 07:56:00 MAGGIE systemd[1]: Stopped Performance Metrics Archive Logger.
Oct 31 07:56:00 MAGGIE systemd[1]: Starting Performance Metrics Archive Logger...
Oct 31 07:56:00 MAGGIE pmlogger[186695]: Starting pmlogger ...
Oct 31 07:56:00 MAGGIE systemd[1]: pmlogger.service: Can't open PID file /run/pcp/pmlogger.pid (yet?) after start: No such file or directory
Oct 31 07:56:05 MAGGIE systemd[1]: pmlogger.service: New main PID 192384 does not belong to service, and PID file is not owned by root. Refusing.
Oct 31 07:56:05 MAGGIE systemd[1]: pmlogger.service: New main PID 192384 does not belong to service, and PID file is not owned by root. Refusing.

[root@MAGGIE ~]# journalctl -xe -u pmlogger
Oct 31 07:58:00 MAGGIE systemd[1]: pmlogger.service: Service RestartSec=100ms expired, scheduling restart.
Oct 31 07:58:00 MAGGIE systemd[1]: pmlogger.service: Scheduled restart job, restart counter is at 393.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit pmlogger.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Oct 31 07:58:00 MAGGIE systemd[1]: Stopped Performance Metrics Archive Logger.
-- Subject: A stop job for unit pmlogger.service has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A stop job for unit pmlogger.service has finished.
--
-- The job identifier is 153999 and the job result is done.
Oct 31 07:58:00 MAGGIE systemd[1]: Starting Performance Metrics Archive Logger...
-- Subject: A start job for unit pmlogger.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit pmlogger.service has begun execution.
--
-- The job identifier is 153999.
Oct 31 07:58:00 MAGGIE pmlogger[193427]: Starting pmlogger ...
Oct 31 07:58:00 MAGGIE systemd[1]: pmlogger.service: Can't open PID file /run/pcp/pmlogger.pid (yet?) after start: No such file or directory
Oct 31 07:58:05 MAGGIE systemd[1]: pmlogger.service: New main PID 199132 does not belong to service, and PID file is not owned by root. Refusing.
Oct 31 07:58:05 MAGGIE systemd[1]: pmlogger.service: New main PID 199132 does not belong to service, and PID file is not owned by root. Refusing.