Hello, I made several progresses: I have seen that I did not have sqlite installed. I installed it, and now it seems that the data is recorded well. I have also noticed that in my Xampp the web folder is in /opt/lampp/htdocs/, but the weewx html pages are in /var/www/html/weewx I have made a link to this location and I have placed it in htdocs. Now the page opens in localhost/weewx Thanks for your help.
El viernes, 24 de noviembre de 2017, 10:05:19 (UTC+1), Mielmari escribió: > > > $ sudo /etc/init.d/weewx start > [ ok ] Starting weewx (via systemctl): weewx.service. > miel@elena ~ $ tail -f /var/log/syslog > Nov 24 06:36:30 elena org.mate.panel.applet.MintMenuAppletFactory[1617]: > =======>>> Firewall Configuration = Preferences > Nov 24 06:36:30 elena org.mate.panel.applet.MintMenuAppletFactory[1617]: > =======>>> Network Connections = Preferences > Nov 24 06:36:30 elena org.mate.panel.applet.MintMenuAppletFactory[1617]: > =======>>> Network Proxy = Preferences > Nov 24 06:36:30 elena org.mate.panel.applet.MintMenuAppletFactory[1617]: > =======>>> Appearance = Preferences > Nov 24 06:36:30 elena org.mate.panel.applet.MintMenuAppletFactory[1617]: > =======>>> CompizConfig Settings Manager = Preferences > Nov 24 06:36:30 elena org.mate.panel.applet.MintMenuAppletFactory[1617]: > =======>>> Desktop Settings = Preferences > Nov 24 06:55:04 elena ntpd[2263]: 5.56.160.3 local addr 192.168.1.157 -> > <null> > Nov 24 06:55:29 elena ntpd[2263]: 147.156.7.50 local addr 192.168.1.157 -> > <null> > Nov 24 06:56:44 elena ntpd[2263]: 91.189.89.198 local addr 192.168.1.157 > -> <null> > Nov 24 06:57:43 elena systemd[1]: Started LSB: weewx weather system. > Nov 24 07:17:01 elena CRON[4249]: (root) CMD ( cd / && run-parts > --report /etc/cron.hourly) > Nov 24 07:20:35 elena mate-screensaver-dialog: pam_ecryptfs: seteuid error > Nov 24 07:27:23 elena kernel: [ 4261.135615] perf interrupt took too long > (5001 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 > Nov 24 07:30:01 elena CRON[4449]: (root) CMD (test -x /etc/init.d/anacron > && /usr/sbin/invoke-rc.d anacron start >/dev/null) > Nov 24 07:30:01 elena systemd[1]: Started Run anacron jobs. > Nov 24 07:30:01 elena anacron[4471]: Anacron 2.3 started on 2017-11-24 > Nov 24 07:30:01 elena anacron[4471]: Normal exit (0 jobs run) > Nov 24 07:35:14 elena systemd[1]: Stopping Raise network interfaces... > Nov 24 07:35:14 elena org.mate.panel.applet.ClockAppletFactory[1617]: > (clock-applet:1697): MateWeather-CRITICAL **: weather_info_abort: assertion > 'info != NULL' failed > Nov 24 07:35:14 elena org.mate.panel.applet.ClockAppletFactory[1617]: > (clock-applet:1697): MateWeather-CRITICAL **: _weather_info_fill: assertion > '((info == NULL) && (location != NULL)) || ((info != NULL) && (location == > NULL))' failed > Nov 24 07:35:14 elena NetworkManager[926]: <info> [1511505314.6324] > device (lo): link disconnected > Nov 24 07:35:14 elena systemd[1]: Stopped Raise network interfaces. > Nov 24 07:35:14 elena systemd[1]: Starting Raise network interfaces... > Nov 24 07:35:14 elena NetworkManager[926]: <info> [1511505314.6844] > device (lo): link connected > Nov 24 07:35:14 elena org.mate.panel.applet.ClockAppletFactory[1617]: > (clock-applet:1697): MateWeather-CRITICAL **: weather_info_abort: assertion > 'info != NULL' failed > Nov 24 07:35:14 elena org.mate.panel.applet.ClockAppletFactory[1617]: > (clock-applet:1697): MateWeather-CRITICAL **: _weather_info_fill: assertion > '((info == NULL) && (location != NULL)) || ((info != NULL) && (location == > NULL))' failed > Nov 24 07:35:14 elena systemd[1]: Started Raise network interfaces. > Nov 24 07:35:14 elena systemd[1]: Stopping LSB: Start NTP daemon... > Nov 24 07:35:14 elena ntp[4711]: * Stopping NTP server ntpd > Nov 24 07:35:14 elena ntpd[2263]: ntpd exiting on signal 15 (Terminated) > Nov 24 07:35:14 elena ntp[4711]: ...done. > Nov 24 07:35:14 elena ntpd[2263]: 37.139.121.60 local addr 192.168.1.157 > -> <null> > Nov 24 07:35:14 elena ntpd[2263]: 150.214.94.16 local addr 192.168.1.157 > -> <null> > Nov 24 07:35:14 elena ntpd[2263]: 147.156.7.26 local addr 192.168.1.157 -> > <null> > Nov 24 07:35:14 elena ntpd[2263]: 213.251.52.234 local addr 192.168.1.157 > -> <null> > Nov 24 07:35:14 elena ntpd[2263]: 158.227.98.15 local addr 192.168.1.157 > -> <null> > Nov 24 07:35:14 elena ntpd[2263]: 212.83.158.83 local addr 192.168.1.157 > -> <null> > Nov 24 07:35:14 elena systemd[1]: Stopped LSB: Start NTP daemon. > Nov 24 07:35:15 elena org.mate.panel.applet.ClockAppletFactory[1617]: > (clock-applet:1697): MateWeather-CRITICAL **: weather_info_abort: assertion > 'info != NULL' failed > Nov 24 07:35:15 elena org.mate.panel.applet.ClockAppletFactory[1617]: > (clock-applet:1697): MateWeather-CRITICAL **: _weather_info_fill: assertion > '((info == NULL) && (location != NULL)) || ((info != NULL) && (location == > NULL))' failed > Nov 24 07:35:25 elena ntpdate[4729]: adjust time server 147.156.7.50 > offset 0.004080 sec > Nov 24 07:35:25 elena systemd[1]: Starting LSB: Start NTP daemon... > Nov 24 07:35:25 elena ntp[4754]: * Starting NTP server ntpd > Nov 24 07:35:25 elena ntpd[4765]: ntpd [email protected] Wed Oct 5 > 12:34:45 UTC 2016 (1): Starting > Nov 24 07:35:25 elena ntpd[4765]: Command line: /usr/sbin/ntpd -p > /var/run/ntpd.pid -g -u 108:114 > Nov 24 07:35:25 elena ntpd[4767]: proto: precision = 0.100 usec (-23) > Nov 24 07:35:25 elena ntpd[4767]: Listen and drop on 0 v6wildcard [::]:123 > Nov 24 07:35:25 elena ntpd[4767]: Listen and drop on 1 v4wildcard > 0.0.0.0:123 > Nov 24 07:35:25 elena ntp[4754]: ...done. > Nov 24 07:35:25 elena ntpd[4767]: Listen normally on 2 lo 127.0.0.1:123 > Nov 24 07:35:25 elena ntpd[4767]: Listen normally on 3 enp2s0 > 192.168.1.157:123 > Nov 24 07:35:25 elena ntpd[4767]: Listen normally on 4 lo [::1]:123 > Nov 24 07:35:25 elena ntpd[4767]: Listen normally on 5 enp2s0 > [fe80::565:a439:7dfd:8e5c%2]:123 > Nov 24 07:35:25 elena systemd[1]: Started LSB: Start NTP daemon. > Nov 24 07:35:25 elena ntpd[4767]: Listening on routing socket on fd #22 > for interface updates > Nov 24 07:35:26 elena ntpd[4767]: Soliciting pool server 178.17.161.12 > Nov 24 07:35:27 elena ntpd[4767]: Soliciting pool server 89.111.15.218 > Nov 24 07:35:27 elena ntpd[4767]: Soliciting pool server 92.247.168.106 > Nov 24 07:35:28 elena ntpd[4767]: Soliciting pool server 211.233.40.78 > Nov 24 07:35:28 elena ntpd[4767]: Soliciting pool server 37.187.17.198 > Nov 24 07:35:28 elena ntpd[4767]: Soliciting pool server 150.214.94.16 > Nov 24 07:35:29 elena ntpd[4767]: Soliciting pool server 199.182.221.110 > Nov 24 07:35:29 elena ntpd[4767]: Soliciting pool server 88.198.12.78 > Nov 24 07:35:29 elena ntpd[4767]: Soliciting pool server 103.242.68.68 > Nov 24 07:35:30 elena ntpd[4767]: Soliciting pool server 195.186.1.101 > Nov 24 07:35:30 elena ntpd[4767]: Soliciting pool server 51.255.197.148 > Nov 24 07:35:30 elena ntpd[4767]: Soliciting pool server 91.189.91.157 > Nov 24 07:35:30 elena ntpd[4767]: Soliciting pool server 103.47.76.177 > Nov 24 07:45:40 elena ntpd[4767]: 103.47.76.177 local addr 192.168.1.157 > -> <null> > Nov 24 07:46:41 elena ntpd[4767]: 178.17.161.12 local addr 192.168.1.157 > -> <null> > Nov 24 07:46:42 elena ntpd[4767]: 211.233.40.78 local addr 192.168.1.157 > -> <null> > Nov 24 07:46:43 elena ntpd[4767]: 103.242.68.68 local addr 192.168.1.157 > -> <null> > Nov 24 07:46:47 elena ntpd[4767]: 199.182.221.110 local addr 192.168.1.157 > -> <null> > Nov 24 07:46:51 elena ntpd[4767]: 92.247.168.106 local addr 192.168.1.157 > -> <null> > Nov 24 07:50:19 elena dbus[887]: [system] Activating via systemd: service > name='org.freedesktop.hostname1' > unit='dbus-org.freedesktop.hostname1.service' > Nov 24 07:50:19 elena systemd[1]: Starting Hostname Service... > Nov 24 07:50:19 elena dbus[887]: [system] Successfully activated service > 'org.freedesktop.hostname1' > Nov 24 07:50:19 elena systemd[1]: Started Hostname Service. > Nov 24 07:50:19 elena org.gtk.vfs.Daemon[1617]: ** (process:1834): WARNING > **: send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' on object at > path /org/gtk/vfs/client/enumerator/1 (g-dbus-error-quark, 19) > Nov 24 07:50:19 elena org.gtk.vfs.Daemon[1617]: message repeated 14 times: > [ ** (process:1834): WARNING **: send_infos_cb: No such interface > 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/1 > (g-dbus-error-quark, 19)] > Nov 24 07:50:19 elena org.gtk.vfs.Daemon[1617]: ** (process:1834): WARNING > **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at > path /org/gtk/vfs/client/enumerator/1 (g-dbus-error-quark, 19) > Nov 24 07:50:23 elena org.gtk.vfs.Daemon[1617]: ** (gvfsd:1631): WARNING > **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to > retrieve share list from server: Connection refused > Nov 24 07:50:23 elena org.gtk.vfs.Daemon[1617]: ** (process:5222): WARNING > **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. > Error: The specified location is not mounted > Nov 24 08:17:01 elena CRON[5500]: (root) CMD ( cd / && run-parts > --report /etc/cron.hourly) > Nov 24 08:28:13 elena mate-screensaver-dialog: pam_ecryptfs: seteuid error > Nov 24 08:34:13 elena kernel: [ 8270.692910] nouveau 0000:01:00.0: DRM: > 0xD5BB: Parsing digital output script table > Nov 24 08:37:00 elena ntpd[4767]: 91.189.91.157 local addr 192.168.1.157 > -> <null> > Nov 24 09:17:01 elena CRON[5747]: (root) CMD ( cd / && run-parts > --report /etc/cron.hourly) > Nov 24 09:59:02 elena mate-screensaver-dialog: pam_ecryptfs: seteuid error > > > > > El jueves, 23 de noviembre de 2017, 7:29:06 (UTC+1), Andrew Milner > escribió: >> >> We need, and you need also, to see the log from start-up until first >> archive record - just looking at the last few lines tells us nothing - >> there are no weewx messages in the log portion you posted. >> >> >> >> On Thursday, 23 November 2017 08:21:46 UTC+2, Mielmari wrote: >> >>> Thank you very much to both of you. >>> >>> I have the base of the weather station connected via USB. >>> I execute these two commands. This is the log >>> >>> * sudo /etc/init.d/weewx start* >>> [ ok ] Starting weewx (via systemctl): weewx.service. >>> >>> *tail -f /var/log/syslog* >>> Nov 23 06:17:01 vvv CRON[3755]: (root) CMD ( cd / && run-parts >>> --report /etc/cron.hourly) >>> Nov 23 06:25:01 elena CRON[3842]: (root) CMD (test -x /usr/sbin/anacron >>> || ( cd / && run-parts --report /etc/cron.daily )) >>> Nov 23 06:33:10 elena mate-screensaver-dialog: pam_ecryptfs: seteuid >>> error >>> Nov 23 07:11:16 elena kernel: [ 7780.920026] usb 5-1: new low-speed USB >>> device number 2 using uhci_hcd >>> Nov 23 07:11:16 ielena kernel: [ 7781.312065] usb 5-1: New USB device >>> found, idVendor=1941, idProduct=8021 >>> Nov 23 07:11:16 elena kernel: [ 7781.312073] usb 5-1: New USB device >>> strings: Mfr=0, Product=0, SerialNumber=0 >>> Nov 23 07:11:16 elena kernel: [ 7781.356468] hid-generic >>> 0003:1941:8021.0002: hiddev0,hidraw1: USB HID v1.00 Device [HID 1941:8021] >>> on usb-0000:00:1d.3-1/input0 >>> Nov 23 07:11:16 elena mtp-probe: checking bus 5, device 2: >>> "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" >>> Nov 23 07:11:16 elena mtp-probe: bus: 5, device: 2 was not an MTP device >>> Nov 23 07:13:36 elena systemd[1]: Started LSB: weewx weather system. >>> >>> >>> 2017-11-23 6:28 GMT+01:00 Andrew Milner <[email protected]>: >>> >>>> Did you wait until the first archive interval had been completed before >>>> trying to look at the pages in your browser?? There will be nothing there >>>> until after the first archive interval - which depends on your .conf file >>>> and/or the station. >>>> >>>> Keep checking the log .... and after the first archive interval check >>>> the web pages >>>> >>>> >>>> >>>> On Thursday, 23 November 2017 07:04:30 UTC+2, Mielmari wrote: >>>> >>>>> >>>>> Greetings to all >>>>> >>>>> I have on my PC Mint 18 and Xampp (Apache + MariaDB + PHP 7.0.24 + >>>>> PERL) >>>>> >>>>> I bought a weather station (PCE-FWS20) and I thought to use weewx. I >>>>> installed the .deb, and it seems that the daemon works >>>>> >>>>> sudo /etc/init.d/weewx start >>>>> [ ok ] Starting weewx (via systemctl): weewx.service. >>>>> >>>>> I can see the log when I plug in the usb from the base of the station: >>>>> Nov 22 07:21:02 elena kernel: [ 4410.816025] usb 5-1: new low-speed >>>>> USB device number 2 using uhci_hcd >>>>> Nov 22 07:21:02 elena kernel: [ 4411.004070] usb 5-1: New USB device >>>>> found, idVendor=1941, idProduct=8021 >>>>> Nov 22 07:21:02 elena kernel: [ 4411.004078] usb 5-1: New USB device >>>>> strings: Mfr=0, Product=0, SerialNumber=0 >>>>> Nov 22 07:21:02 elena kernel: [ 4411.047270] hid-generic >>>>> 0003:1941:8021.0004: hiddev0,hidraw1: USB HID v1.00 Device [HID >>>>> 1941:8021] >>>>> on usb-0000:00:1d.3-1/input0 >>>>> Nov 22 07:21:02 elena mtp-probe: checking bus 5, device 2: >>>>> "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" >>>>> Nov 22 07:21:02 elena mtp-probe: bus: 5, device: 2 was not an MTP >>>>> device >>>>> >>>>> But when I click on the browser >>>>> http://localhost/weewx >>>>> the answer is >>>>> Object not found!Error 404 >>>>> >>>>> I appreciate any help >>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "weewx-user" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/weewx-user/vp4h4QficIY/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
