knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

pigpiod error message?

Wed Jul 15, 2020 4:24 pm

On occasion I get the following during shutdown or reboot:

A stop job is running for Daemon required to control GPIO pins via pigpio (... / 1min 30s)

Raspberry Pi 3B+
Latest up to date Raspi OS
pigpiod enabled at startup

freezen
Posts: 1
Joined: Fri Aug 21, 2020 2:58 am

Re: pigpiod error message?

Fri Aug 21, 2020 3:02 am

I use pigpio, and often has this problem. It makes rebooting real slow.

Although I don't yet understand why this would happen for pigpio, my current workaround is to edit /etc/systemd/system.conf, and uncomment this line

Code: Select all

DefaultTimeoutStopSec=90s
Set it to whatever shorter time I desire. So far it doesn't look like it would impact other services.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Sun Aug 23, 2020 1:07 am

Thanks for that, I'll try it!

guym
Posts: 37
Joined: Fri Jun 14, 2019 5:28 pm

Re: pigpiod error message?

Sat Aug 29, 2020 3:27 pm

The pigpiod service file changed to Type=forking but did not specify the path to the main process id. Adding the following line to the [Service] section of that file (/etc/systemd/system/pigpiod.service) should fix the problem:

Code: Select all

[Service]
PIDFile=pigpio.pid
If you could provide feedback on this fix I will see that it gets into the next release.

Note: Be sure to run 'sudo systemctl daemon-reload' after you've updated the service file.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Sun Aug 30, 2020 6:22 pm

guym wrote:
Sat Aug 29, 2020 3:27 pm
The pigpiod service file changed to Type=forking but did not specify the path to the main process id. Adding the following line to the [Service] section of that file (/etc/systemd/system/pigpiod.service) should fix the problem:

Code: Select all

[Service]
PIDFile=pigpio.pid
If you could provide feedback on this fix I will see that it gets into the next release.

Note: Be sure to run 'sudo systemctl daemon-reload' after you've updated the service file.
The pigpiod.service file is in /lib/systemd/system not /etc/systemd/system. I changed it and will report back if I have any more problems. The tricky thing was that it was intermittent.

Thanks!

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Mon Aug 31, 2020 9:04 pm

knute wrote:
Sun Aug 30, 2020 6:22 pm
The tricky thing was that it was intermittent.
And it is still intermittent. I made the changes to the .service file and rebooted numerous times with no problem, then at the end of the day when I went to shut the computer down it hung. I rebooted and tried again and it hung. There are no startup errors when systemd starts pigpiod. /run/pigpio.pid exists and has the same number as the pigpiod process.

guym
Posts: 37
Joined: Fri Jun 14, 2019 5:28 pm

Re: pigpiod error message?

Fri Sep 04, 2020 3:35 pm

Please provide system log information to help troubleshoot:

First, verify how your systemd journal is configured. By default it should be 'auto'.

Code: Select all

grep -i storage /etc/systemd/journald.conf
#Storage=auto
To get a persistent logging across reboot/shutdowns, you'll need to create this directory to save them (if it doesn't already exist):

Code: Select all

sudo mkdir /var/log/journal
The next time your system hangs on reboot/shutdown you can retrieve useful information around the time it occurred. To see what is happening to the pigpiod service at the end of the last boot, do the following:

Code: Select all

journalctl -u pigpiod -rxb -1
To see what has occurred at the start of the current boot:

Code: Select all

journalctl -u pigpiod -xb 0
Please post your results. (Note: Remove /var/log/journal if you no longer want to keep persistent logging.)

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Sat Sep 05, 2020 9:37 pm

guym wrote:
Fri Sep 04, 2020 3:35 pm
Please provide system log information to help troubleshoot:

First, verify how your systemd journal is configured. By default it should be 'auto'.

Code: Select all

grep -i storage /etc/systemd/journald.conf
#Storage=auto
pi@raspberrypi3B-1:~ $ grep -i storage /etc/systemd/journald.conf
#Storage=auto
To get a persistent logging across reboot/shutdowns, you'll need to create this directory to save them (if it doesn't already exist):

Code: Select all

sudo mkdir /var/log/journal
pi@raspberrypi3B-1:~ $ sudo mkdir /var/log/journal
The next time your system hangs on reboot/shutdown you can retrieve useful information around the time it occurred. To see what is happening to the pigpiod service at the end of the last boot, do the following:

Code: Select all

journalctl -u pigpiod -rxb -1
To see what has occurred at the start of the current boot:

Code: Select all

journalctl -u pigpiod -xb 0
Please post your results. (Note: Remove /var/log/journal if you no longer want to keep persistent logging.)
OK, I'll keep you posted.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Sat Sep 05, 2020 11:04 pm

pi@raspberrypi3B-1:~ $ journalctl -u pigpiod -rxb -1
-- Logs begin at Sat 2020-09-05 17:22:03 CDT, end at Sat 2020-09-05 18:00:26 CDT
Sep 05 17:59:59 raspberrypi3B-1 systemd[1]: Stopped Daemon required to control G
-- Subject: A stop job for unit pigpiod.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit pigpiod.service has finished.
--
-- The job identifier is 750 and the job result is done.
Sep 05 17:59:59 raspberrypi3B-1 systemd[1]: pigpiod.service: Failed with result
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit pigpiod.service has entered the 'failed' state with result 'timeout'
Sep 05 17:59:59 raspberrypi3B-1 systemd[1]: pigpiod.service: Main process exited
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit pigpiod.service has exited.
--
-- The process' exit code is 'killed' and its exit status is 9.
lines 1-23



pi@raspberrypi3B-1:~ $ journalctl -u pigpiod -xb 0
-- Logs begin at Sat 2020-09-05 17:22:03 CDT, end at Sat 2020-09-05 18:03:05 CDT
Sep 05 18:00:04 raspberrypi3B-1 systemd[1]: Starting Daemon required to control
-- Subject: A start job for unit pigpiod.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit pigpiod.service has begun execution.
--
-- The job identifier is 111.
Sep 05 18:00:05 raspberrypi3B-1 systemd[1]: Started Daemon required to control G
-- Subject: A start job for unit pigpiod.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit pigpiod.service has finished successfully.
--
-- The job identifier is 111.

guym
Posts: 37
Joined: Fri Jun 14, 2019 5:28 pm

Re: pigpiod error message?

Sun Sep 06, 2020 12:53 am

At 17:59:59, the log shows the kill signal issued after a timeout - the problem we are troubleshooting. But there is nothing in the log earlier in time showing a 'sigterm' signal being issued to the process which is what pigpio daemon is trapping (along with sighup).

A couple of requests:
1) Can you post the contents of the files '/lib/systemd/system/pigpiod.service' and '/etc/systemd/system/pigpiod.service' if it exists.
2) Attach a snippet of your journal log beginning 91 seconds before the timeout occurred.

Code: Select all

sudo journalctl -b -1 --since "2020-09-05 17:58:28" --until "2020-09-05 17:59:59" --no-pager > debug.log
'debug.log' could be very verbose so please attach it as a file.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Mon Sep 07, 2020 3:47 pm

pi@raspberrypi3B-1:~ $ cat /lib/systemd/system/pigpiod.service
[Unit]
Description=Daemon required to control GPIO pins via pigpio
[Service]
ExecStart=/usr/bin/pigpiod -l
ExecStop=/bin/systemctl kill pigpiod
Type=forking
PIDFile=pigpio.pid
[Install]
WantedBy=multi-user.target

pi@raspberrypi3B-1:~ $ cat /etc/systemd/system/pidpiod.service
cat: /etc/systemd/system/pidpiod.service: No such file or directory

pi@raspberrypi3B-1:~ $ sudo journalctl -b -1 --since "2020-09-05 17:58:28" --until "2020-09-05 17:59:59" --no-pager > debug.log
pi@raspberrypi3B-1:~ $ cat debug.log
-- Logs begin at Thu 2020-09-03 11:08:29 CDT, end at Mon 2020-09-07 10:32:26 CDT. --

Sorry I couldn't attach the debug.log file, I kept getting invalid file extension errors. (Who knows?)

pi@raspberrypi3B-1:~ $ sudo journalctl --since "2020-09-05 17:58:28" --until "2020-09-05 17:59:59" --no-pager > debug.log
pi@raspberrypi3B-1:~ $ cat debug.log
-- Logs begin at Thu 2020-09-03 11:08:29 CDT, end at Mon 2020-09-07 10:43:17 CDT. --
Sep 05 17:58:28 raspberrypi3B-1 sudo[6218]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/sbin/poweroff
Sep 05 17:58:28 raspberrypi3B-1 sudo[6218]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: systemd-rfkill.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Condition check resulted in Turns off Raspberry Pi display backlight on shutdown/reboot being skipped.
Sep 05 17:58:29 raspberrypi3B-1 sudo[6218]: pam_unix(sudo:session): session closed for user root
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Session c2 of user pi.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Manage, Install and Generate Color Profiles...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Graphical Interface.
Sep 05 17:58:29 raspberrypi3B-1 vncserver-x11-serviced[500]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Sep 05 17:58:29 raspberrypi3B-1 vncserver-x11-serviced[500]: after 3090 requests (3090 known processed) with 0 events remaining.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Light Display Manager...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Disk Manager...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Authorization Manager...
Sep 05 17:58:29 raspberrypi3B-1 vncserver-x11-serviced[500]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Sep 05 17:58:29 raspberrypi3B-1 vncserver-x11-serviced[500]: after 1158 requests (1158 known processed) with 0 events remaining.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Sound Card.
Sep 05 17:58:29 raspberrypi3B-1 vncserver-x11-serviced[500]: vncserverui: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Save/Restore Sound Card State...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Unmounting RPC Pipe File System...
Sep 05 17:58:29 raspberrypi3B-1 sshd[514]: Received signal 15; terminating.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Session c1 of user pi.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Multi-User System.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping LSB: Switch to ondemand cpu governor (unless shift key is pressed)...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: rpi-eeprom-update.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Check for Raspberry Pi EEPROM updates.
Sep 05 17:58:29 raspberrypi3B-1 udisksd[349]: udisks daemon version 2.8.1 exiting
Sep 05 17:58:29 raspberrypi3B-1 rsyslogd[346]: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="346" x-info="https://www.rsyslog.com"] exiting on signal 15.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: run-rpc_pipefs.mount: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 vncserver-x11[509]: ServerManager: Server stopped
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Make remote CUPS printers available locally...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: bits received from HRNG source: 80064
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Regular background program processing daemon...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: bits sent to kernel pool: 21024
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping rng-tools.service...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: entropy added to kernel pool: 21024
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping OpenBSD Secure Shell server...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2 successes: 4
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping VNC Server in Service Mode daemon...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2 failures: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: postfix.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Postfix Mail Transport Agent.
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2(2001-10-10) Poker: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Postfix Mail Transport Agent (instance -)...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2(2001-10-10) Runs: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping System Logging Service...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2(2001-10-10) Long run: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Login Prompts.
Sep 05 17:58:29 raspberrypi3B-1 lightdm[511]: Error opening audit socket: Protocol not supported
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Serial Getty on ttyAMA0...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: HRNG source speed: (min=511.289; avg=641.010; max=871.542)Kibits/s
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Daemon required to control GPIO pins via pigpio...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: FIPS tests speed: (min=7.666; avg=7.932; max=8.228)Mibits/s
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: gldriver-test.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: Lowest ready-buffers level: 2
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Check for v3d driver.
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: Entropy starvations: 0
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping LSB: saslauthd startup script...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping dphys-swapfile - set up, mount/unmount, and delete a swap file...
Sep 05 17:58:29 raspberrypi3B-1 rngd[351]: Exiting...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Timers.
Sep 05 17:58:29 raspberrypi3B-1 lightdm[746]: pam_unix(lightdm-autologin:session): session closed for user pi
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: man-db.timer: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Daily man-db regeneration.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: logrotate.timer: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Daily rotation of log files.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: apt-daily-upgrade.timer: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Daily apt upgrade and clean activities.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: apt-daily.timer: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Daily apt download activities.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target System Time Synchronized.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping triggerhappy global hotkey daemon...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Getty on tty1...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: cron.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: cron.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Regular background program processing daemon.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: rsyslog.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped System Logging Service.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: udisks2.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Disk Manager.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: polkit.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: polkit.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Authorization Manager.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: colord.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: colord.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Manage, Install and Generate Color Profiles.
Sep 05 17:58:29 raspberrypi3B-1 rng-tools[6233]: Stopping Hardware RNG entropy gatherer daemon: rngd.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: vncserver-x11-serviced.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped VNC Server in Service Mode daemon.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: ssh.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped OpenBSD Secure Shell server.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: getty@tty1.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: getty@tty1.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Getty on tty1.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: serial-getty@ttyAMA0.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 dbus-daemon[337]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.7' (uid=0 pid=355 comm="/usr/sbin/cupsd -l ")
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: serial-getty@ttyAMA0.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Serial Getty on ttyAMA0.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: alsa-restore.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Save/Restore Sound Card State.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: run-rpc_pipefs.mount: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Unmounted RPC Pipe File System.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: rng-tools.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped rng-tools.service.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: saslauthd.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped LSB: saslauthd startup script.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: var-swap.swap: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: var-swap.swap: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Deactivated swap /var/swap.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: dphys-swapfile.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped dphys-swapfile - set up, mount/unmount, and delete a swap file.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: session-c1.scope: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Session c1 of user pi.
Sep 05 17:58:29 raspberrypi3B-1 systemd-logind[338]: Session c1 logged out. Waiting for processes to exit.
Sep 05 17:58:29 raspberrypi3B-1 dbus-daemon[337]: [system] Activation via systemd failed for unit 'colord.service': Refusing activation, D-Bus is shutting down.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: pigpiod.service: Control process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: raspi-config.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: cups-browsed.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Make remote CUPS printers available locally.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping CUPS Scheduler...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Sep 05 17:58:29 raspberrypi3B-1 avahi-daemon[348]: Got SIGTERM, quitting.
Sep 05 17:58:29 raspberrypi3B-1 avahi-daemon[348]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::8fa9:f138:753c:6c9.
Sep 05 17:58:29 raspberrypi3B-1 avahi-daemon[348]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.10.105.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Manage Sound Card State (restore and store)...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Removed slice system-serial\x2dgetty.slice.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Removed slice system-getty.slice.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: rc-local.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 avahi-daemon[348]: avahi-daemon 0.7 exiting.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped /etc/rc.local Compatibility.
Sep 05 17:58:29 raspberrypi3B-1 alsactl[342]: alsactl daemon stopped
Sep 05 17:58:29 raspberrypi3B-1 postfix/postfix-script[6259]: stopping the Postfix mail system
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: avahi-daemon.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 postfix/master[702]: terminating on signal 15
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: cups.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped CUPS Scheduler.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: triggerhappy.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped triggerhappy global hotkey daemon.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: postfix@-.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Postfix Mail Transport Agent (instance -).
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: alsa-state.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Manage Sound Card State (restore and store).
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: session-c2.scope: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Session c2 of user pi.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping User Manager for UID 1000...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Login Service...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Removed slice system-postfix.slice.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Network is Online.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping Virtual filesystem service - disk device monitor...
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping Virtual filesystem service - Apple File Conduit monitor...
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping Virtual filesystem service...
Sep 05 17:58:29 raspberrypi3B-1 systemd-logind[338]: Removed session c2.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping Virtual filesystem service - digital camera monitor...
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped target Default.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopping D-Bus User Message Bus...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: run-user-1000-gvfs.mount: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Unmounted /run/user/1000/gvfs.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: run-user-1000-gvfs.mount: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-daemon.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-mtp-volume-monitor.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-mtp-volume-monitor.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-goa-volume-monitor.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-goa-volume-monitor.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-gphoto2-volume-monitor.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-gphoto2-volume-monitor.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped Virtual filesystem service - digital camera monitor.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: dbus.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped D-Bus User Message Bus.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-udisks2-volume-monitor.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-udisks2-volume-monitor.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped Virtual filesystem service - disk device monitor.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-afc-volume-monitor.service: Main process exited, code=killed, status=15/TERM
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-afc-volume-monitor.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped Virtual filesystem service - Apple File Conduit monitor.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gvfs-daemon.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped Virtual filesystem service.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped target Basic System.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped target Sockets.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gpg-agent-browser.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gpg-agent-extra.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: dirmngr.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Closed GnuPG network certificate management daemon.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gpg-agent-ssh.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: gpg-agent.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Closed GnuPG cryptographic agent and passphrase cache.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped target Timers.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Stopped target Paths.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: dbus.socket: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Closed D-Bus User Message Bus Socket.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Reached target Shutdown.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: systemd-exit.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Started Exit the Session.
Sep 05 17:58:29 raspberrypi3B-1 systemd[716]: Reached target Exit the Session.
Sep 05 17:58:29 raspberrypi3B-1 systemd[719]: pam_unix(systemd-user:session): session closed for user pi
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: user@1000.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped User Manager for UID 1000.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping User Runtime Directory /run/user/1000...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: run-user-1000.mount: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Unmounted /run/user/1000.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: user-runtime-dir@1000.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped User Runtime Directory /run/user/1000.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Removed slice User Slice of UID 1000.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: lightdm.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Light Display Manager.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Starting Show Plymouth Power Off Screen...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Permit User Sessions...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Received SIGRTMIN+20 from PID 6271 (plymouthd).
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Started Show Plymouth Power Off Screen.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: systemd-user-sessions.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped Permit User Sessions.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Remote File Systems.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Remote File Systems (Pre).
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target NFS client services.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped target Network.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping Raise network interfaces...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping WPA supplicant...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping dhcpcd on all interfaces...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: wpa_supplicant.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped WPA supplicant.
Sep 05 17:58:29 raspberrypi3B-1 dhcpcd[6275]: sending signal TERM to pid 400
Sep 05 17:58:29 raspberrypi3B-1 dhcpcd[6275]: waiting for pid 400 to exit
Sep 05 17:58:29 raspberrypi3B-1 dhcpcd[6275]: sending signal TERM to pid 400
Sep 05 17:58:29 raspberrypi3B-1 dhcpcd[6275]: waiting for pid 400 to exit
Sep 05 17:58:29 raspberrypi3B-1 dhcpcd[400]: received SIGTERM, stopping
Sep 05 17:58:29 raspberrypi3B-1 dhcpcd[400]: wlan0: removing interface
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopping D-Bus System Message Bus...
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: dbus.service: Succeeded.
Sep 05 17:58:29 raspberrypi3B-1 systemd[1]: Stopped D-Bus System Message Bus.
Sep 05 17:58:30 raspberrypi3B-1 dhcpcd[400]: eth0: removing interface
Sep 05 17:58:30 raspberrypi3B-1 dhcpcd[400]: dhcpcd exited
Sep 05 17:58:30 raspberrypi3B-1 systemd[1]: networking.service: Succeeded.
Sep 05 17:58:30 raspberrypi3B-1 systemd[1]: Stopped Raise network interfaces.
Sep 05 17:58:30 raspberrypi3B-1 systemd[1]: systemd-logind.service: Succeeded.
Sep 05 17:58:30 raspberrypi3B-1 systemd[1]: Stopped Login Service.
Sep 05 17:58:30 raspberrypi3B-1 systemd[1]: dhcpcd.service: Succeeded.
Sep 05 17:58:30 raspberrypi3B-1 systemd[1]: Stopped dhcpcd on all interfaces.

guym
Posts: 37
Joined: Fri Jun 14, 2019 5:28 pm

Re: pigpiod error message?

Tue Sep 08, 2020 3:22 pm

Hmmm. If you have a GitHub account, then attach this file to issue #274 (Delay on reboot/shutdown) on the pigpio repository.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Sun Sep 13, 2020 2:47 pm

Done.

This problem is very intermittent and I have found no other factors that seem to affect it. This Pi does have one other possibly related issue in that it sometimes hangs during shutdown and does not blink the green LED. It isn't completely shutdown because I can't restart it by grounding GPIO pin 3 even though I have the gpio-shutdown dtoverlay enabled. If it doesn't hang it shuts down and restarts just fine with the GPIO pin. This problem is far more prevalent than the pigpio hang on shutdown. The pigpio hang does not seem to be related to the method of shutdown. This Pi has a camera attached and a DHT22 sensor on GPIO 10 and the dht11 dtoverlay enabled.

knute
Posts: 664
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas
Contact: Website

Re: pigpiod error message?

Tue Sep 15, 2020 3:18 pm

So now I'm not so sure that the problem is with pigpio. I shut my Pi down and got this message:

A stop job is running to make remote cups printer available locally

Return to “Troubleshooting”