emonhub - warnings in logfile

Hi Community,

i´ve got an raspberry pi with rfm12pi, an shared hosting remote linux webserver. I´m sending data from the raspi using emonhub to the webserver.

No Data is added to the feed, but the input is refreshing.

Any idear?

 

 

2014-11-29 10:37:48,814 WARNING Send failure: wanted 'ok' but got <br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/1_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/2_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/3_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/1_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/2_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/3_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/1_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/2_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/3_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/1_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/2_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  fopen(/www/htdocs/xxx/emoncmsdata/phpfiwa/3_0.dat): failed to open stream: Permission denied in <b>/www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php</b> on line <b>154</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /www/htdocs/xxx/web-home/Modules/feed/engine/PHPFiwa.php:154) in <b>/www/htdocs/xxx/web-home/index.php</b> on line <b>131</b><br />
ok
pb66's picture

Re: emonhub - warnings in logfile

Although the error appears in the emonHub log, it is just relaying the reply it got from emonCMS in place of the expected "ok" confirmation.

The message from emonCMS points to a permission issue for the feed engines access to the feed directories, Check that each of the feed directories an accessible permission level, I'm guessing something like 

sudo chown www-data:root /www/htdocs/xxx/emoncmsdata/phpfiwa

sudo chown www-data:root /www/htdocs/xxx/emoncmsdata/phpfina

sudo chown www-data:root /www/htdocs/xxx/emoncmsdata/phptimeseries

​might set the correct permissions.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.