-
-
Notifications
You must be signed in to change notification settings - Fork 131
service command not found #87
Comments
It looks like it cannot find the pihole binary on the remote host, in the directory /usr/local/bin/. Does that file exist on the remote host? |
Yes the pihole file is in /usr/local/bin in both pi-hole servers. I was also running the gravity-sync using bash -x but could not really see where the service command is called there |
I found the (partly) the issue, I needed to change service in line 120 in /usr/local/bin/pihole to /usr/sbin/service, no idea why it does not takes the $PATH settings, since /usr/sbin is in for the user and root. |
That's super strange, are both the Pihole's recently installs, or just the secondary? |
Both. Before I had also two piholes with keepalived in docker on rockpro64 boxes, but since 5.X (not 100%sure). The web interface is not really working, even without docker on rockpro64. Then I decided to install the two on my OSMC based raspberry Pi2 and and Pi3 ones. There is works now nicely. Except for this issue. |
Would it be helpful if you could specify the binary location of the primary Pihole as part of the advanced configuration? |
Fixed in 2.2.1 |
Describe the Issue
while running ./gravity-sync.sh smart command service was not found, but it is available as that user.
"Kommando nicht gefunden" means "command not found"
Screenshots
[ INFO ] Isolating Regeneration Pathways
[ OK ] Updating FTLDNS Configuration
[ OK ] Reloading FTLDNS Services
[ INFO ] Inverting Tachyon Pulses
[ OK ] Updating Remote FTLDNS Configuration
[ EXEC ] Reloading Remote FTLDNS Services [✗] /usr/local/bin/pihole: Zeile 127: service: Kommando nicht gefunden.
[ FAIL ] Reloading Remote FTLDNS Services
osmc@osmc-rpi3:~/gravity-sync$
Configuration:
Additional Context
I'm not sure whether the service is actually needed from gravity-sync or from the pihole script
The text was updated successfully, but these errors were encountered: