View previous topic :: View next topic |
Author |
Message |
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Sat Feb 25, 2006 11:49 pm Post subject: HTMLgend does not generate images after Upgrade |
|
|
Hi all !,
After upgrading wview from 1.8.1 to 3.1.0, I have no new images after wview get new data and htmlgend runs ....
Log looks like this:
Feb 26 02:20:04 campo htmlgend[4474]: <2764870908> : Adding 5 minute sample...
Feb 26 02:20:10 campo htmlgend[4474]: <2764876886> : Generated: 73 ms: 0 images, 6 html/xml files
Feb 26 02:21:10 campo htmlgend[4474]: <2764936885> : Generated: 72 ms: 0 images, 6 html/xml files
Feb 26 02:22:10 campo htmlgend[4474]: <2764996885> : Generated: 72 ms: 0 images, 6 html/xml files
Feb 26 02:23:10 campo htmlgend[4474]: <2765056885> : Generated: 72 ms: 0 images, 6 html/xml files
Feb 26 02:24:10 campo htmlgend[4474]: <2765116885> : Generated: 72 ms: 0 images, 6 html/xml files
BUT, if at any time, I send signal HUP to htmlgend, images begins to be generated, for some time ...
Feb 26 02:35:04 campo htmlgend[4474]: <2765770910> : Adding 5 minute sample...
Feb 26 02:35:11 campo htmlgend[4474]: <2765777758> : Generated: 945 ms: 34 images, 6 html/xml files
Feb 26 02:36:10 campo htmlgend[4474]: <2765837280> : Generated: 467 ms: 17 images, 6 html/xml files
Feb 26 02:37:10 campo htmlgend[4474]: <2765897279> : Generated: 466 ms: 17 images, 6 html/xml files
Feb 26 02:38:10 campo htmlgend[4474]: <2765957279> : Generated: 466 ms: 17 images, 6 html/xml files
Configuration is the same as before upgrading.
Would some one give some idea about this ? ...
Thanks !. |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sun Feb 26, 2006 11:09 am Post subject: |
|
|
Hi
This might be irrelevant, but did you also do the necessary radlib upgrade?
Jon |
|
Back to top |
|
|
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Sun Feb 26, 2006 5:08 pm Post subject: radlib upgrade |
|
|
Hi Jon ...
Yes, I did. |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Tue Feb 28, 2006 7:48 am Post subject: |
|
|
Could you post a bit more of the startup log? I'm wondering if htmlgend gets the correct number of images to generate but doesn't do them, or if it gets no images and therefore thinks it doesn't need to do any. Here's an example from my system:
Feb 28 13:02:17 (none) user.info htmlgend[1155]: <2965404469> : htmlmgrInit: 43 built-in image definitions added
Feb 28 13:02:17 (none) user.info htmlgend[1155]: <2965404470> : htmlmgrInit: 0 user image definitions added
Feb 28 13:02:17 (none) user.info htmlgend[1155]: <2965404472> : htmlmgrInit: 7 html/xml templates added |
|
Back to top |
|
|
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Feb 28, 2006 9:00 am Post subject: More from LOG ... |
|
|
Jon, here goes log from wview startup ... I think the red lines what may indicate something, but I don't see where to look for from, the config is the same as before upgrading ....
Thank you !,
Jorge.
Feb 28 11:52:29 campo radmrouted[8505]: <2972015962> : radlib: radmrouted started as a daemon ...
Feb 28 11:52:29 campo radmrouted[8505]: <2972015965> : started on radlib system 1, workdir /var/wview
Feb 28 11:52:29 campo radmrouted[8505]: <2972015965> : running...
Feb 28 11:52:30 campo wviewd[8509]: <2972017017> : radlib: wviewd started as a daemon ...
Feb 28 11:52:30 campo wviewd[8509]: <2972017025> : wview 3.1.0 starting ...
Feb 28 11:52:30 campo wviewd[8509]: <2972017029> : station interface: serial ...
Feb 28 11:52:30 campo wviewd[8509]: <2972017030> : Rain Season Start Month set to 1
Feb 28 11:52:30 campo wviewd[8509]: <2972017031> : Rain Storm Start Trigger set to 0.05 in/hr
Feb 28 11:52:30 campo wviewd[8509]: <2972017032> : Rain Storm Stop Time set to 12 hours
Feb 28 11:52:30 campo wviewd[8509]: <2972017033> : station polling interval set to 30 seconds
Feb 28 11:52:30 campo wviewd[8509]: <2972017066> : -- Station Init Start --
Feb 28 11:52:31 campo wvalarmd[8515]: <2972018069> : /etc/wview/wvalarm.conf does not exist - exiting...
Feb 28 11:52:31 campo htmlgend[8513]: <2972018094> : radlib: htmlgend started as a daemon ...
Feb 28 11:52:31 campo wviewd[8509]: <2972018097> : Vantage Pro on /dev/ttyS0 opened ...
Feb 28 11:52:31 campo htmlgend[8513]: <2972018115> : !! configured for metric units/conversion !!
Feb 28 11:52:31 campo htmlgend[8513]: <2972018116> : !! Rain units will be mm !!
Feb 28 11:52:31 campo htmlgend[8513]: <2972018117> : generating to /var/wview/img
Feb 28 11:52:31 campo wvcwopd[8516]: <2972018126> : /etc/wview/wvcwop.conf does not exist - exiting...
Feb 28 11:52:31 campo wviewd[8509]: <2972018141> : station archive interval: 5 minutes
Feb 28 11:52:31 campo wviewd[8509]: <2972018158> : running...
Feb 28 11:52:31 campo wviewftpd[8517]: <2972018164> : /etc/wview/wviewftp.conf does not exist - exiting...
Feb 28 11:52:31 campo wviewsshd[8518]: <2972018190> : /etc/wview/wviewssh.conf does not exist - exiting...
Feb 28 11:52:31 campo wviewd[8509]: <2972018450> : station location: elevation: 0 feet
Feb 28 11:52:31 campo wviewd[8509]: <2972018450> : station location: latitude: 34.2 S longitude: 59.0 W
Feb 28 11:52:31 campo wviewd[8509]: <2972018450> : initializing computed data values...
Feb 28 11:52:32 campo htmlgend[8513]: <2972018650> : running...
Feb 28 11:52:34 campo wviewd[8509]: <2972021146> : -- Station Init Complete --
Feb 28 11:52:34 campo wviewd[8509]: <2972021155> : newest archive record: 2006-02-28 11:50
Feb 28 11:52:34 campo htmlgend[8513]: <2972021157> : received archive path /var/wview/archive from wviewd: 20060228 11:52:34
Feb 28 11:52:34 campo htmlgend[8513]: <2972021161> : htmlmgrInit: /etc/wview/images-metric-mm.conf does not exist!
Feb 28 11:52:34 campo htmlgend[8513]: <2972021161> : htmlmgrInit: 0 built-in image definitions added
Feb 28 11:52:34 campo htmlgend[8513]: <2972021162> : htmlmgrInit: 0 user image definitions added
Feb 28 11:52:34 campo htmlgend[8513]: <2972021163> : htmlmgrInit: 6 html/xml templates added
Feb 28 11:52:34 campo htmlgend[8513]: <2972021163> : htmlmgrInit: forecast html tags are disabled - /etc/wview/forecast.conf not found...
Feb 28 11:52:35 campo htmlgend[8513]: <2972022544> : ARCREC: using header file /etc/wview/arcrec-header.conf ...
Feb 28 11:52:35 campo htmlgend[8513]: <2972022546> : ARCREC: saving ALL daily archive reports ...
Feb 28 11:52:37 campo htmlgend[8513]: <2972024409> : ARCREC: 143 daily archive reports available
Feb 28 11:52:38 campo htmlgend[8513]: <2972024560> : starting html generation in 2 mins 32 secs
Feb 28 11:52:38 campo htmlgend[8513]: <2972024561> : doing initial html generation now...
Feb 28 11:52:38 campo htmlgend[8513]: <2972024638> : Generated: 76 ms: 0 images, 6 html/xml files |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Tue Feb 28, 2006 9:34 pm Post subject: |
|
|
Quote: | Feb 28 11:52:34 campo htmlgend[8513]: <2972021161> : htmlmgrInit: /etc/wview/images-metric-mm.conf does not exist!
Feb 28 11:52:34 campo htmlgend[8513]: <2972021161> : htmlmgrInit: 0 built-in image definitions added
Feb 28 11:52:34 campo htmlgend[8513]: <2972021162> : htmlmgrInit: 0 user image definitions added |
This implies you have set the configuration value in htmlgen.conf for rain in millimeters, but have not copied the file images-metric-mm.conf from the distro (examples/conf) to your /etc/wview directory (as described in the UPGRADE file).
HTH,
Mark |
|
Back to top |
|
|
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Feb 28, 2006 10:27 pm Post subject: |
|
|
That's it !!.
Thank you for the advise !.
Jorge. |
|
Back to top |
|
|
|