Doesn't look good. I used the commands from the earlier script to remove
the current installation then reinstalled - I omitted to do the service
commands. Then I did the tasks you requested:

[root@MAGGIE ~]# systemctl status pmlogger.service
● pmlogger.service - Performance Metrics Archive Logger   Loaded: loaded 
(/usr/lib/systemd/system/pmlogger.service; enabled; vendor preset: enabled)   
Active: inactive (dead)     Docs: man:pmlogger(1)

Nov 08 07:49:44 MAGGIE systemd[1]: pmlogger.service: Service RestartSec=100ms 
expired, scheduling restart.
Nov 08 07:49:44 MAGGIE systemd[1]: pmlogger.service: Scheduled restart job, 
restart counter is at 1109.
Nov 08 07:49:44 MAGGIE systemd[1]: Stopped Performance Metrics Archive Logger.
Nov 08 07:49:44 MAGGIE systemd[1]: Starting Performance Metrics Archive 
Logger...
Nov 08 07:49:44 MAGGIE pmlogger[82993]: Starting pmlogger ...
Nov 08 07:49:44 MAGGIE systemd[1]: pmlogger.service: Can't open PID file 
/run/pcp/pmlogger.pid (yet?) after start: No such file >
Nov 08 07:49:49 MAGGIE systemd[1]: pmlogger.service: New main PID 88678 does 
not belong to service, and PID file is not owned by>
Nov 08 07:49:49 MAGGIE systemd[1]: pmlogger.service: New main PID 88678 does 
not belong to service, and PID file is not owned by>
Nov 08 07:49:51 MAGGIE systemd[1]: pmlogger.service: Succeeded.
Nov 08 07:49:51 MAGGIE systemd[1]: Stopped Performance Metrics Archive Logger.
[root@MAGGIE ~]# systemctl restart pmlogger.service
A dependency job for pmlogger.service failed. See 'journalctl -xe' for details.
[root@MAGGIE ~]# journalctl -xe
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Nov 08 07:59:30 MAGGIE systemd[1]: pmlogger_check.service: Failed with result 
'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit pmlogger_check.service has entered the 'failed' state with result 
'exit-code'.
Nov 08 07:59:30 MAGGIE systemd[1]: Failed to start Check pmlogger instances are 
running.
-- Subject: A start job for unit pmlogger_check.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit pmlogger_check.service has finished with a failure.
-- 
-- The job identifier is 392873 and the job result is failed.
Nov 08 07:59:30 MAGGIE systemd[1]: Dependency failed for Performance Metrics 
Archive Logger.
-- Subject: A start job for unit pmlogger.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit pmlogger.service has finished with a failure.
-- 
-- The job identifier is 392778 and the job result is dependency.
Nov 08 07:59:30 MAGGIE systemd[1]: pmlogger.service: Job pmlogger.service/start 
failed with result 'dependency'.
Nov 08 07:59:30 MAGGIE audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='>
Nov 08 07:59:41 MAGGIE root[94420]: pmlogger_daily failed - see 
/var/log/pcp/pmlogger/pmlogger_daily-K.log
Nov 08 07:59:41 MAGGIE root[94425]: pmlogger_check failed - see 
/var/log/pcp/pmlogger/pmlogger_check.log

[root@MAGGIE ~]# systemctl start pmie.service
Job for pmie.service failed because a timeout was exceeded.
See "systemctl status pmie.service" and "journalctl -xe" for details.
[root@MAGGIE ~]# systemctl status pmie.service
● pmie.service - Performance Metrics Inference Engine
   Loaded: loaded (/usr/lib/systemd/system/pmie.service; enabled; vendor 
preset: enabled)
   Active: activating (start) since Fri 2019-11-08 08:02:49 CET; 35s ago
     Docs: man:pmie(1)
  Process: 96118 ExecStart=/usr/share/pcp/lib/pmie start (code=exited, 
status=0/SUCCESS)
    Tasks: 2 (limit: 394)
   Memory: 3.1M
   CGroup: /system.slice/pmie.service
           ├─96199 /usr/bin/sh /usr/share/pcp/lib/pmie start
           └─96203 pmcd_wait

Nov 08 08:02:49 MAGGIE systemd[1]: pmie.service: Service RestartSec=100ms 
expired, scheduling restart.
Nov 08 08:02:49 MAGGIE systemd[1]: pmie.service: Scheduled restart job, restart 
counter is at 1.
Nov 08 08:02:49 MAGGIE systemd[1]: Stopped Performance Metrics Inference Engine.
Nov 08 08:02:49 MAGGIE systemd[1]: Starting Performance Metrics Inference 
Engine...
Nov 08 08:02:49 MAGGIE pmie[96118]: Starting pmie ...
Nov 08 08:02:49 MAGGIE systemd[1]: pmie.service: Can't open PID file 
/run/pcp/pmie.pid (yet?) after start: No such file or direc>
[root@MAGGIE ~]# journalctl -xe
Nov 08 08:03:21 MAGGIE systemd[1]: pmlogger.service: Service RestartSec=100ms 
expired, scheduling restart.
Nov 08 08:03:21 MAGGIE systemd[1]: pmlogger.service: Scheduled restart job, 
restart counter is at 2.
-- 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.
Nov 08 08:03:21 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 393750 and the job result is done.
Nov 08 08:03:21 MAGGIE audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='>
Nov 08 08:03:21 MAGGIE audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='u>
Nov 08 08:03:21 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 393750.
Nov 08 08:03:21 MAGGIE pmlogger[96400]: Starting pmlogger ...
Nov 08 08:03:21 MAGGIE systemd[1]: pmlogger.service: Can't open PID file 
/run/pcp/pmlogger.pid (yet?) after start: No such file >
[root@MAGGIE ~]#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850281

Title:
  package pcp 4.3.4-1build1 failed to install/upgrade: installed pcp
  package post-installation script subprocess returned error exit status
  1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcp/+bug/1850281/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to