• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
failed to run command
#1
Just a hint:

during remove or install of either stable or nightly version, installation modifies /usr/local/bin.
If you try to run pilight-receive, you'll get 

Quote:failed to run command (...) Permission denied

One can cure that by
Code:
sudo chmod 755 /usr/local/bin
 
Reply
#2
Works fine here:
Code:
# apt-get install pilight
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  pilight-webgui
Suggested packages:
  php5-cgi pilight-firmware
The following NEW packages will be installed:
  pilight pilight-webgui
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,285 kB/1,514 kB of archives.
After this operation, 67.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://apt.pilight.org nightly/main amd64 pilight amd64 8.1.5-91-gfa9e8a16 [1,285 kB]
Fetched 1,285 kB in 0s (9,054 kB/s)
Selecting previously unselected package pilight-webgui.
(Reading database ... 149613 files and directories currently installed.)
Preparing to unpack .../pilight-webgui_8.6_amd64.deb ...
Unpacking pilight-webgui (8.6) ...
Selecting previously unselected package pilight.
Preparing to unpack .../pilight_8.1.5-91-gfa9e8a16_amd64.deb ...
Unpacking pilight (8.1.5-91-gfa9e8a16) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (234-2ubuntu12.4) ...
Setting up pilight (8.1.5-91-gfa9e8a16) ...
Setting up pilight-webgui (8.6) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB

Total disk space freed by localepurge: 0 KiB

# ls -Al /usr/local/sbin/
pilight-daemon     pilight-flash      wiringx-blink      wiringx-read
pilight-debug      pilight-raw        wiringx-interrupt
root@dev-ubuntu:/home/curlymo# ls -Al /usr/local/bin/pilight-receive
-rwxr-xr-x 1 root root 14312 Jan  2 05:00 /usr/local/bin/pilight-receive
 
Reply
#3
Didn't double-check, but I installed pilight-firmware, also.
 
Reply
#4
Thumbs Up 
Ah, that's the reason why i suddenly only could start pilight-receive with sudo.. thank you!
 
Reply
#5
(01-03-2020, 03:43 PM)gerrit312 Wrote: Ah, that's the reason why i suddenly only could start pilight-receive with sudo.. thank you!

De rien ;-)

Actually, I'm on the verge of dumping that piece of experimental software.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  ERROR: failed to read config. stack: 2 Stefan 6 559 02-03-2020, 09:37 PM
Last Post: curlymo
  Solved - On / Off Command is the same command tigrablue 11 1,543 07-23-2019, 11:24 AM
Last Post: curlymo
  WebSocket connection failed: One or more reserved bits gregnau 8 3,398 02-16-2018, 10:02 PM
Last Post: curlymo
  Upgrade to jessie+pilight+kernel failed witty 10 2,915 01-04-2018, 12:27 PM
Last Post: witty
  Using API webserver send page "message":"failed" fips 1 1,823 01-08-2016, 09:21 AM
Last Post: fips
  API - Curl.... {message:failed} joho 0 1,577 12-04-2015, 01:29 PM
Last Post: joho
  api doesn't report failed koos147 15 7,439 04-23-2015, 09:01 PM
Last Post: koos147

Forum Jump:


Browsing: 1 Guest(s)