Software > WeeWX
Problema para acceder con el navegador y enviar datos
meteoalcolea:
Hola, según se puede ver en el log de weewx, esta mañana a las 5:46 UTC, la hora y la fecha de la Raspberry ha cambiado. A los cinco minutos ha cogido la hora y fecha correcta, pero desde entonces no puedo acceder a ver los datos con el navegador (no puedo ver los datos ni desde 192.168.1.35/weewx ni desde meteoalcolea.mooo.com/weewx). He reiniciado weewx, he reiniciado la raspberry, pero nada, sigue igual.
Tampoco puedo enviar datos a meteoclimatic, ya que los coge de meteoalcolea.mooo.com/weewx/meteoclimatic.htm
Agradecería vuestra ayuda, pues no sé que hacer.
Este es el log:
May 9 05:41:32 raspberrypi weewx[26663]: copygenerator: copied 0 files to /var/www/html/weewx
May 9 05:45:39 raspberrypi weewx[26663]: manager: Added record 2017-05-09 05:45:00 UTC (1494308700) to database 'weewx.sdb'
May 9 05:45:39 raspberrypi weewx[26663]: manager: Added record 2017-05-09 05:45:00 UTC (1494308700) to daily summary in 'weewx.sdb'
May 9 05:46:16 raspberrypi weewx[26663]: cheetahgenerator: Generated 15 files for report StandardReport in 32.96 seconds
May 9 05:46:25 raspberrypi weewx[26663]: imagegenerator: Generated 12 images for StandardReport in 9.47 seconds
May 9 05:46:25 raspberrypi weewx[26663]: copygenerator: copied 0 files to /var/www/html/weewx
Jan 1 00:00:17 raspberrypi weewx[378]: engine: Initializing weewx version 3.7.1
Jan 1 00:00:17 raspberrypi weewx[378]: engine: Using Python 2.7.9 (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
Jan 1 00:00:17 raspberrypi weewx[378]: engine: Platform Linux-4.4.50+-armv6l-with-debian-8.0
Jan 1 00:00:17 raspberrypi weewx[378]: engine: Locale is 'en_GB.UTF-8'
Jan 1 00:00:17 raspberrypi weewx[378]: engine: pid file is /var/run/weewx.pid
Jan 1 00:00:17 raspberrypi weewx[445]: engine: waiting for sane time. current time is 1970-01-01 00:00:16 UTC (16)
Jan 1 00:00:17 raspberrypi weewx[333]: Starting weewx weather system: weewx.
May 9 05:51:48 raspberrypi weewx[445]: engine: Using configuration file /etc/weewx/weewx.conf
May 9 05:51:48 raspberrypi weewx[445]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
May 9 05:51:49 raspberrypi weewx[445]: fousb: driver version is 1.9
May 9 05:51:49 raspberrypi weewx[445]: fousb: polling mode is PERIODIC
May 9 05:51:49 raspberrypi weewx[445]: fousb: polling interval is 60
May 9 05:51:49 raspberrypi weewx[445]: fousb: found station on USB bus=001 device=004
May 9 05:51:49 raspberrypi weewx[445]: engine: StdConvert target unit is 0x1
May 9 05:51:49 raspberrypi weewx[445]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
May 9 05:51:49 raspberrypi weewx[445]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
May 9 05:51:49 raspberrypi weewx[445]: engine: Archive will use data binding wx_binding
May 9 05:51:49 raspberrypi weewx[445]: engine: Record generation will be attempted in 'software'
May 9 05:51:50 raspberrypi weewx[445]: engine: Using archive interval of 300 seconds (specified by hardware)
May 9 05:51:50 raspberrypi weewx[445]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
May 9 05:51:50 raspberrypi weewx[445]: manager: Starting backfill of daily summaries
May 9 05:51:50 raspberrypi weewx[445]: restx: StationRegistry: Registration not requested.
May 9 05:51:50 raspberrypi weewx[445]: restx: Wunderground: Posting not enabled.
May 9 05:51:50 raspberrypi weewx[445]: restx: PWSweather: Posting not enabled.
May 9 05:51:50 raspberrypi weewx[445]: restx: CWOP: Posting not enabled.
May 9 05:51:50 raspberrypi weewx[445]: restx: WOW: Posting not enabled.
May 9 05:51:50 raspberrypi weewx[445]: restx: AWEKAS: Posting not enabled.
May 9 05:51:50 raspberrypi weewx[445]: engine: Starting up weewx version 3.7.1
May 9 05:51:51 raspberrypi weewx[445]: fousb: synchronising to the weather station (quality=1)
May 9 05:53:09 raspberrypi weewx[445]: fousb: unstable read: blocks differ for ptr 0x008ce0
May 9 05:54:00 raspberrypi weewx[445]: manager: Added record 2017-05-09 05:49:00 UTC (1494308940) to database 'weewx.sdb'
May 9 05:54:00 raspberrypi weewx[445]: manager: Added record 2017-05-09 05:49:00 UTC (1494308940) to daily summary in 'weewx.sdb'
May 9 05:54:03 raspberrypi weewx[445]: manager: Added record 2017-05-09 05:54:00 UTC (1494309240) to database 'weewx.sdb'
May 9 05:54:03 raspberrypi weewx[445]: manager: Added record 2017-05-09 05:54:00 UTC (1494309240) to daily summary in 'weewx.sdb'
May 9 05:54:04 raspberrypi weewx[445]: engine: Starting main packet loop.
May 9 05:54:04 raspberrypi weewx[445]: fousb: station status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)
May 9 05:56:05 raspberrypi weewx[445]: manager: Added record 2017-05-09 05:55:00 UTC (1494309300) to database 'weewx.sdb'
May 9 05:56:05 raspberrypi weewx[445]: manager: Added record 2017-05-09 05:55:00 UTC (1494309300) to daily summary in 'weewx.sdb'
May 9 05:56:36 raspberrypi weewx[445]: cheetahgenerator: Generated 15 files for report StandardReport in 26.06 seconds
May 9 05:56:46 raspberrypi weewx[445]: imagegenerator: Generated 12 images for StandardReport in 9.57 seconds
May 9 05:56:46 raspberrypi weewx[445]: copygenerator: copied 9 files to /var/www/html/weewx
May 9 06:01:12 raspberrypi weewx[445]: manager: Added record 2017-05-09 06:00:00 UTC (1494309600) to database 'weewx.sdb'
May 9 06:01:12 raspberrypi weewx[445]: manager: Added record 2017-05-09 06:00:00 UTC (1494309600) to daily summary in 'weewx.sdb'
May 9 06:01:25 raspberrypi weewx[445]: cheetahgenerator: Generated 15 files for report StandardReport in 9.65 seconds
May 9 06:01:50 raspberrypi weewx[445]: imagegenerator: Generated 36 images for StandardReport in 24.92 seconds
May 9 06:01:50 raspberrypi weewx[445]: copygenerator: copied 0 files to /var/www/html/weewx
jmviper:
Hola meteoalcolea
Por lo que se ve en el log weewx está funcionando pero y apache ??
Prueba a verlo con /etc/init.d/apache2 status
Para ver si weewx está generando la plantilla bien puedes mirar con cat /var/www/html/weewx/meteoclimatic.htm
Xavi-EA5ZF:
Con los datos que has puesto no es posible averiguar la causa, anexa los log que puedas que deben estar en /var/log, creo que weewx al final ha arrancado bien y está generando páginas, lo que no parece funcionar es el Apache.
Haz lo que te han dicho, o bien /etc/init.d/apache2 restart y anota si aparece algún fallo.
El secreto de lo que pasa está en los log mencionado anteriormente.
Salu2
jantoni:
Como te dicen más arriba, el problema parece venir de Apache2
Si se hace ping a tu IP, el sistema contesta.
Si se accede al servidor web, no.
Si se hace un telnet a tu IP contra el puerto 80, la conexión es rechazada.
99% que Apache no está funcionando bien.
jantoni:
99,9% ahora, tal como se puede ver en la imagen que ves más abajo, el puerto 80 está cerrado, bien porque no funciona Apache2, bien porque el router tiene cerrado ese puerto.
Navegación
[#] Página Siguiente
Ir a la versión completa