Software > WeeWX

Empezamos desdé cero

<< < (2/6) > >>

Secure440:
Si. en el log me pone

Could not open input file: meteoclimatic_http.php

jmviper:
Tienes php instalado ?? php -v

Pon lo que tienes en meteoclimatic.sh y meteoclimatic.ini

Secure440:

pi@raspberrypi:~ $ php -v
PHP 7.0.27-0+deb9u1 (cli) (built: Jan  5 2018 13:51:52) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies



#!/bin/bash
cd /root/meteoclimatic
#Si no quieres log
#php meteoclimatic_http.php
#Si quieres log
php meteoclimatic_http.php >> /var/log/meteoclimatic.log
exit

[Global]
Stations=ESCAT0800000008490F
DigestKey=

[ESCAT0800000008490F]
Path=/var/www/html/weewx/meteoclimatic.htm
Password=xxxxxxxxxxxxxxxxxxxxxxx
StationVendor=Fine Offset
StationModel=PCE-FWS 20


jmviper:
Ok

Mira a ver que tengas meteoclimatic_http.php en /root/meteoclimatic. Es ahí donde leerá el script cuando ejecutes meteoclimatic.sh. Si lo tienes en otro sitio tendrás que poner esa ruta al principio del meteoclimatic.sh. También por si las moscas dale permisos de ejecución a meteoclimatic_http.php y mira a ver que te pone el log.

Secure440:
no me deja entrar en /root/meteoclimatic no tengo permisos
como entro?

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa