Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Pi-hole on same hardware
#5
in may you gave me the hint :
in the home directory of user "pi" you'll find the script srestart.sh. It restarts moOde including mpd.


when I try this I am getting lots of root Password requests and authorization errors...
Is it possible the I have switched some tasks to run with the wrong user  (root instead of pi?)
how to fix this?


pi@moode:~ $ ./srestart.sh
worker.php: no process found
watchdog.sh: no process found
rm: remove write-protected regular file '/run/worker.pid'? yes
rm: cannot remove '/run/worker.pid': Permission denied
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'php7.0-fpm.service'.
Authenticating as: root
Password: Failed to restart php7.0-fpm.service: Method call timed out
See system logs and 'systemctl status php7.0-fpm.service' for details.
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'memcached.service'.
Authenticating as: root
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to restart memcached.service: Access denied
See system logs and 'systemctl status memcached.service' for details.
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'nginx.service'.
Authenticating as: root
Password: Failed to restart nginx.service: Connection timed out
See system logs and 'systemctl status nginx.service' for details.
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to stop 'mpd.service'.
Authenticating as: root
Reply


Messages In This Thread
Pi-hole on same hardware - by Boardman - 12-23-2018, 05:14 PM
RE: Piholle on same Hardware - by TheOldPresbyope - 12-23-2018, 05:58 PM
RE: Piholle on same Hardware - by Boardman - 12-23-2018, 06:20 PM
RE: Piholle on same Hardware - by TheOldPresbyope - 12-23-2018, 06:27 PM
RE: Piholle on same Hardware - by Boardman - 12-23-2018, 06:29 PM
RE: Pi-hole on same hardware - by Boardman - 12-24-2018, 01:30 PM
RE: Pi-hole on same hardware - by Tim Curtis - 12-25-2018, 03:59 AM
RE: Pi-hole on same hardware - by HemiRick - 12-25-2018, 05:10 AM
RE: Pi-hole on same hardware - by Boardman - 12-25-2018, 09:04 AM
RE: Pi-hole on same hardware - by Boardman - 12-25-2018, 09:32 AM
RE: Pi-hole on same hardware - by HemiRick - 12-29-2018, 03:59 AM
RE: Pi-hole on same hardware - by Tim Curtis - 12-29-2018, 04:16 AM
RE: Pi-hole on same hardware - by Boardman - 12-29-2018, 06:43 AM
RE: Pi-hole on same hardware - by HemiRick - 12-29-2018, 06:53 AM

Forum Jump: