View previous topic :: View next topic |
Author |
Message |
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 10:01 am Post subject: htmlgend stops (htmlgend: recv sig 11: shutting down!) |
|
|
Hi all !,
I have this problem on a new wview instalation: wview get info from VP fine, but as soon as htmlgend tries to generate htmls, it dies after updating images. I copy part of logging below.
Could some one giveme some ad ? ... Thank you !.
version are:
wview: 1.8.1
radlib: 2.2.6
OS: Fedora Core 2, kernel 2.6.5
gd: 2.0.21
Oct 11 12:49:34 campo htmlgend[20173]: <3764343101> : radlib: htmlgend started as a daemon ...
Oct 11 12:49:34 campo htmlgend[20173]: <3764343110> : !! configured for metric units/conversion !!
Oct 11 12:49:34 campo htmlgend[20173]: <3764343114> : running...
Oct 11 12:49:35 campo htmlgend[20173]: <3764344042> : received archive path /var/wview/archive from wviewd: 20051011 12:49:35
Oct 11 12:49:35 campo htmlgend[20173]: <3764344043> : Vantage Pro station using 1 minute archive interval...
Oct 11 12:49:35 campo htmlgend[20173]: <3764344052> : htmlmgrInit: 44 built-in image definitions added
Oct 11 12:49:35 campo htmlgend[20173]: <3764344053> : htmlmgrInit: 0 user image definitions added
Oct 11 12:49:35 campo htmlgend[20173]: <3764344056> : htmlmgrInit: 6 html templates added
Oct 11 12:49:35 campo htmlgend[20173]: <3764344057> : htmlmgrInit: forecast html tags are disabled - /etc/wview/forecast.conf not found...
Oct 11 12:49:38 campo htmlgend[20173]: <3764347105> : ARCREC: using header file /etc/wview/arcrec-header.conf ...
Oct 11 12:49:38 campo htmlgend[20173]: <3764347108> : ARCREC: saving ALL daily archive reports ...
Oct 11 12:49:47 campo htmlgend[20173]: <3764356144> : ARCREC: 4 daily archive reports available
Oct 11 12:49:48 campo htmlgend[20173]: <3764356448> : starting html generation in 0 mins 22 secs
Oct 11 12:49:48 campo htmlgend[20173]: <3764356448> : doing initial html generation now...
Oct 11 12:49:48 campo htmlgend[20173]: <3764356899> : htmlgend: recv sig 11: shutting down! |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Tue Oct 11, 2005 11:20 am Post subject: |
|
|
It could be many things: specifying an image generator index in images.conf that does not exist in the wview or user jump tables, etc.
I notice that it is configured for metric units - have you confirmed that your images-metric.conf file is there and correct? This determines what images htmlgend will try to generate. Have you inspected the html-templates.conf file for correctness?
I would post the contents of these two files as well as a directory listing of your /etc/wview/html directory and a dir listing of the /var/wview/img directory (if that is where you have htmlgend configured to generate files, otherwise wherever you have configured htmlgend to generate files). Might as well post your htmlgen.conf file contents as well.
Mark |
|
Back to top |
|
|
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Tue Oct 11, 2005 11:56 am Post subject: |
|
|
Mark, thank you for your answer, here goes the listings ...
Actually, I don't realize where the "user jump tables" reside ...
/etc/wview/html
almanac.htx
Current_Conditions.htx
Current_Vantage_Pro.htx
Current_Vantage_Pro_Plus.htx
Daily_Vantage_Pro.htx
Daily_Vantage_Pro_Plus.htx
data.htx
index-above-clouds.htx
index-classic.htx
index-classic_Plus.htx
index-clouds.htx
index-darkblue.htx
index-day.htx
index-dusky.htx
index.htx
index-leaves.htx
index-night.htx
index_Plus.htx
Monthly_Vantage_Pro.htx
Monthly_Vantage_Pro_Plus.htx
parameterlist.txt
rotate-index.sh
Yearly_Vantage_Pro.htx
Yearly_Vantage_Pro_Plus.htx
/var/wview/img
above-clouds.jpg
ARC-2005-10-08.txt
ARC-2005-10-09.txt
ARC-2005-10-10.txt
ARC-2005-10-11.txt
barom.png
Clouds-blue.jpg
Clouds-darkblue.jpg
Clouds-dusky.jpg
Clouds.jpg
data.htm
davisticker.class
dayrain.png
dew.png
fc-icon-cloudy.gif
fc-icon-partlycloudyandrain.gif
fc-icon-partlycloudyandsnow.gif
fc-icon-partlycloudy.gif
fc-icon-rain.gif
fc-icon-snowandrain.gif
fc-icon-snow.gif
fc-icon-sunny.gif
hindex.png
humiddial.png
humid.png
leaves.jpg
monthrain.png
rainrate.png
stormrain.png
tempdial.png
temp.png
Ticker.htm
wchill.png
wind.png
yearrain.png
/etc/wview/htmlgen.conf
STATION_NAME=LaSonada
STATION_CITY=CapillaDelSenor
STATION_STATE=BuenosAires
IMAGE_PATH=/var/wview/img
HTML_PATH=/etc/wview/html
START_OFFSET=0
GENERATE_INTERVAL=1
METRIC_UNITS=1
EXTENDED_DATA=0
ARCHIVE_BROWSER_FILES_TO_KEEP=0 |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Tue Oct 11, 2005 12:49 pm Post subject: |
|
|
Please post the contents of your images-metric.conf as well...
Also any unusual log messages (see the User Manual for "usual" messages)... |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Wed Oct 12, 2005 10:12 pm Post subject: |
|
|
What happened to you? Have you figured it out, given up, or not had time?
It is failing on an image generation and posting your images-metric.conf would tell us which one based on what is in your img directory... |
|
Back to top |
|
|
kevork
Joined: 10 Oct 2005 Posts: 7
|
Posted: Thu Oct 13, 2005 1:06 am Post subject: |
|
|
Hi Mark, my windows on my notebook has blown up so I was quite delayed .... I'm sorry !.
Hope this info could help ....
Thank you again !.
Listing for images-metric.conf
#
# images-metric.conf - configure what images wview will generate
#
# File Format
#
# -> lines beginning with '#' or <blank> are ignored
# -> columns are whitespace delimited
#
# Column Format
#
# 1) image filename
# 2) image label (can be translated as desired)
# 3) image unit label (can be translated as desired)
# 4) decimal places
# 5) image generator function index (see images.c)
#
# Enabling/Disabling Image Generation
#
# -> To enable the generation of an image, uncomment it (remove any '#'
# characters in front of the image definition)
# -> To disable the generation of an image, comment it out by placing one or
# more '#' characters in front of it
################# D I A L S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
tempdial.png "Temp" C 0 109
humiddial.png "Humidity" % 0 110
wind.png "Wind" none 0 11
################# B U C K E T S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
temp.png "Temperature" degrees 1 0
humid.png "Humidity" % 1 1
dew.png "Dewpoint" degrees 1 2
wchill.png "Wind Chill" degrees 1 3
hindex.png "Heat Index" degrees 1 4
barom.png "Barometer" mb 2 5
dayrain.png "Day Rain" cm 2 6
stormrain.png "Storm Rain" cm 2 7
rainrate.png "Rain Rate" cm/hour 2 8
monthrain.png "Month Rain" cm 2 9
yearrain.png "Year Rain" cm 2 10
################# C H A R T S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
#### DAY VALUES ####
tempdaycomp.png "Temperature/Dewpoint" degrees 0 42
heatchillcomp.png "Wind Chill/Heat Index" degrees 0 43
humidday.png "Humidity" % 0 15
wspeedday.png "Wind" kph 0 21
wdirday.png "Wind DIR" degrees 0 24
hiwspeedday.png "HI Wind" kph 0 27
baromday.png "Barometer" mb 0 30
## tempday.png "Temperature" degrees 0 12
## dewday.png "Dewpoint" degrees 0 18
## wchillday.png "Wind Chill" degrees 0 36
## hindexday.png "Heat Index" degrees 0 39
#### MONTH VALUES ####
tempmonthcomp.png "Temperature/Dewpoint" degrees 0 44
heatchillmonthcomp.png "Wind Chill/Heat Index" degrees 0 45
humidmonth.png "Humidity (Hourly Avg)" % 0 16
wspeedmonth.png "Wind (Hourly Avg)" kph 0 22
wdirmonth.png "Wind DIR (Hourly Avg)" degrees 0 25
hiwspeedmonth.png "HI Wind (Hourly Avg)" kph 0 28
barommonth.png "Barometer (Hourly Avg)" mb 0 31
## tempmonth.png "Temperature (Hourly Avg)" degrees 0 13
## dewmonth.png "Dewpoint (Hourly Avg)" degrees 0 19
## wchillmonth.png "Wind Chill (Hourly Avg)" degrees 0 37
## hindexmonth.png "Heat Index (Hourly Avg)" degrees 0 40
#### YEAR VALUES ####
tempyear.png "Temperature (Daily Avg)" degrees 0 14
humidyear.png "Humidity (Daily Avg)" % 0 17
dewyear.png "Dewpoint (Daily Avg)" degrees 0 20
wspeedyear.png "Wind (Daily Avg)" kph 0 23
wdiryear.png "Wind DIR (Daily Avg)" degrees 0 26
hiwspeedyear.png "HI Wind (Daily Avg)" kph 0 29
baromyear.png "Barometer (Daily Avg)" mb 0 32
wchillyear.png "Wind Chill (Daily Avg)" degrees 0 38
hindexyear.png "Heat Index (Daily Avg)" degrees 0 41
################# B A R C H A R T S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
rainday.png "Rain/hour" cm 2 33
rainmonth.png "Rain/day" cm 2 34
rainyear.png "Rain/week" cm 1 35
################# V P P L U S D A T A B U C K E T S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
## UV.png "UV Index" index 1 106
## radiation.png "Radiation" watts/m^2 1 107
## ET.png "ET (day)" cm 3 108
################# V P P L U S D A T A C H A R T S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
## radiationDay.png "SolarRad" watts 0 46
## radiationMonth.png "SolarRad (Hourly Avg)" watts 0 47
## radiationYear.png "SolarRad (Daily Avg)" watts 0 48
## UVDay.png "UV Index" index 0 49
## UVMonth.png "UV Index (Hourly Avg)" index 0 50
## UVYear.png "UV Index (Daily Avg)" index 0 51
## ETDay.png "EvaPot (Hourly)" cm/hr 2 52
## ETMonth.png "EvaPot (Daily)" cm/day 2 53
## ETYear.png "EvaPot (Weekly)" cm/week 2 54
## leafTemp1Day.png "LeafTemp1" degrees 0 55
## leafTemp1Month.png "LeafTemp1 (Hourly Avg)" degrees 0 56
## leafTemp1Year.png "LeafTemp1 (Daily Avg)" degrees 0 57
## leafTemp2Day.png "LeafTemp2" degrees 0 58
## leafTemp2Month.png "LeafTemp2 (Hourly Avg)" degrees 0 59
## leafTemp2Year.png "LeafTemp2 (Daily Avg)" degrees 0 60
## leafWetness1Day.png "LeafWet1 Index" (0-15) 0 61
## leafWetness1Month.png "LeafWet1 Index (Hourly Avg)" (0-15) 0 62
## leafWetness1Year.png "LeafWet1 Index (Daily Avg)" (0-15) 0 63
## leafWetness2Day.png "LeafWet2 Index" (0-15) 0 64
## leafWetness2Month.png "LeafWet2 Index (Hourly Avg)" (0-15) 0 65
## leafWetness2Year.png "LeafWet2 Index (Daily Avg)" (0-15) 0 66
## soilTemp1Day.png "SoilTemp1" degrees 0 67
## soilTemp1Month.png "SoilTemp1 (Hourly Avg)" degrees 0 68
## soilTemp1Year.png "SoilTemp1 (Daily Avg)" degrees 0 69
## soilTemp2Day.png "SoilTemp2" degrees 0 70
## soilTemp2Month.png "SoilTemp2 (Hourly Avg)" degrees 0 71
## soilTemp2Year.png "SoilTemp2 (Daily Avg)" degrees 0 72
## soilTemp3Day.png "SoilTemp3" degrees 0 73
## soilTemp3Month.png "SoilTemp3 (Hourly Avg)" degrees 0 74
## soilTemp3Year.png "SoilTemp3 (Daily Avg)" degrees 0 75
## soilTemp4Day.png "SoilTemp4" degrees 0 76
## soilTemp4Month.png "SoilTemp4 (Hourly Avg)" degrees 0 77
## soilTemp4Year.png "SoilTemp4 (Daily Avg)" degrees 0 78
## extraHumid1Day.png "ExtraHumidity1" % 0 79
## extraHumid1Month.png "ExtraHumidity1 (Hourly Avg)" % 0 80
## extraHumid1Year.png "ExtraHumidity1 (Daily Avg)" % 0 81
## extraHumid2Day.png "ExtraHumidity2" % 0 82
## extraHumid2Month.png "ExtraHumidity2 (Hourly Avg)" % 0 83
## extraHumid2Year.png "ExtraHumidity2 (Daily Avg)" % 0 84
## extraTemp1Day.png "ExtraTemp1" degrees 0 85
## extraTemp1Month.png "ExtraTemp1 (Hourly Avg)" degrees 0 86
## extraTemp1Year.png "ExtraTemp1 (Daily Avg)" degrees 0 87
## extraTemp2Day.png "ExtraTemp2" degrees 0 88
## extraTemp2Month.png "ExtraTemp2 (Hourly Avg)" degrees 0 89
## extraTemp2Year.png "ExtraTemp2 (Daily Avg)" degrees 0 90
## extraTemp3Day.png "ExtraTemp3" degrees 0 91
## extraTemp3Month.png "ExtraTemp3 (Hourly Avg)" degrees 0 92
## extraTemp3Year.png "ExtraTemp3 (Daily Avg)" degrees 0 93
## soilMoist1Day.png "SoilMoist1" cb 0 94
## soilMoist1Month.png "SoilMoist1 (Hourly Avg)" cb 0 95
## soilMoist1Year.png "SoilMoist1 (Daily Avg)" cb 0 96
## soilMoist2Day.png "SoilMoist2" cb 0 97
## soilMoist2Month.png "SoilMoist2 (Hourly Avg)" cb 0 98
## soilMoist2Year.png "SoilMoist2 (Daily Avg)" cb 0 99
## soilMoist3Day.png "SoilMoist3" cb 0 100
## soilMoist3Month.png "SoilMoist3 (Hourly Avg)" cb 0 101
## soilMoist3Year.png "SoilMoist3 (Daily Avg)" cb 0 102
## soilMoist4Day.png "SoilMoist4" cb 0 103
## soilMoist4Month.png "SoilMoist4 (Hourly Avg)" cb 0 104
## soilMoist4Year.png "SoilMoist4 (Daily Avg)" cb 0 105
################# V P P L U S D I A L S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
netRainDay.png "Precip Day" cm 0 112
netRainMonth.png "Precip Month" cm 0 113
netRainYear.png "Precip Year" cm 0 114
################# D I A G N O S T I C S #################
# Filename Label Units DP FNIndex
#--------------------- ------------------------------ ---------- -- -------
rxcheck.png "RX Good Packets" % 0 111
About the log, what follows is what happends after starting wview:
Oct 11 14:40:04 campo wviewd[20169]: <3770973370> : storing record for 10/11/2005 14:40
Oct 11 14:41:04 campo wviewd[20169]: <3771033162> : storing record for 10/11/2005 14:41
Oct 11 14:41:18 campo wviewd[20169]: <3771047430> : wviewd: recv sig 15: exiting!
Oct 11 14:41:18 campo wviewd[20169]: <3771047430> : exiting normally...
Oct 11 14:41:59 campo wviewd[21058]: <3771087573> : radlib: wviewd started as a daemon ...
Oct 11 14:41:59 campo wviewd[21058]: <3771087614> : wview 1.8.1 starting ...
Oct 11 14:41:59 campo wviewd[21058]: <3771087617> : station interface: serial ...
Oct 11 14:41:59 campo wviewd[21058]: <3771087619> : console polling interval set to 15 seconds
Oct 11 14:42:00 campo htmlgend[21062]: <3771088689> : radlib: htmlgend started as a daemon ...
Oct 11 14:42:00 campo htmlgend[21062]: <3771088723> : !! configured for metric units/conversion !!
Oct 11 14:42:00 campo htmlgend[21062]: <3771088726> : running...
Oct 11 14:42:00 campo wvalarmd[21063]: <3771088743> : /etc/wview/wvalarm.conf does not exist - exiting...
Oct 11 14:42:00 campo wviewd[21058]: <3771088783> : Vantage Pro on /dev/ttyS0 opened ...
Oct 11 14:42:00 campo wviewd[21058]: <3771088784> : running...
Oct 11 14:42:00 campo wviewd[21058]: <3771088784> : starting too close to the top-of-minute, waiting 5 secs before continuing
Oct 11 14:42:00 campo wvcwopd[21065]: <3771088819> : /etc/wview/wvcwop.conf does not exist - exiting...
Oct 11 14:42:00 campo wviewftpd[21066]: <3771088873> : /etc/wview/wviewftp.conf does not exist - exiting...
Oct 11 14:42:00 campo wviewsshd[21067]: <3771088925> : /etc/wview/wviewssh.conf does not exist - exiting...
Oct 11 14:42:05 campo wviewd[21058]: <3771093836> : station location: elevation: 174 feet
Oct 11 14:42:05 campo wviewd[21058]: <3771093836> : station location: latitude: 34.2 S longitude: 59.0 W
Oct 11 14:42:05 campo wviewd[21058]: <3771093864> : newest archive record is: 10/11/2005 14:41
Oct 11 14:42:05 campo wviewd[21058]: <3771094084> : storing record for 10/11/2005 14:42
Oct 11 14:42:06 campo wviewd[21058]: <3771095382> : station time synchronized to: 10-11-2005 14:42:06
Oct 11 14:42:06 campo wviewd[21058]: <3771095383> : initializing computed data values...
Oct 11 14:42:07 campo htmlgend[21062]: <3771095492> : received archive path /var/wview/archive from wviewd: 20051011 14:42:07
Oct 11 14:42:07 campo htmlgend[21062]: <3771095492> : Vantage Pro station using 1 minute archive interval...
Oct 11 14:42:07 campo htmlgend[21062]: <3771095497> : htmlmgrInit: 44 built-in image definitions added
Oct 11 14:42:07 campo htmlgend[21062]: <3771095518> : htmlmgrInit: 0 user image definitions added
Oct 11 14:42:07 campo htmlgend[21062]: <3771095529> : htmlmgrInit: 6 html templates added
Oct 11 14:42:07 campo htmlgend[21062]: <3771095530> : htmlmgrInit: forecast html tags are disabled - /etc/wview/forecast.conf not found...
Oct 11 14:42:10 campo htmlgend[21062]: <3771098690> : ARCREC: using header file /etc/wview/arcrec-header.conf ...
Oct 11 14:42:10 campo htmlgend[21062]: <3771098692> : ARCREC: saving ALL daily archive reports ...
Oct 11 14:42:19 campo htmlgend[21062]: <3771108094> : ARCREC: 4 daily archive reports available
Oct 11 14:42:20 campo htmlgend[21062]: <3771108448> : starting html generation in 2 mins 50 secs
Oct 11 14:42:20 campo htmlgend[21062]: <3771108449> : doing initial html generation now...
Oct 11 14:42:20 campo htmlgend[21062]: <3771108956> : htmlgend: recv sig 11: shutting down!
Oct 11 14:43:04 campo wviewd[21058]: <3771153146> : storing record for 10/11/2005 14:43
Oct 11 14:43:05 campo wviewd[21058]: <3771153700> : radQueueSend: write failed on fd 10: Broken pipe
Oct 11 14:43:05 campo wviewd[21058]: <3771153700> : radProcessQueueSend failed: notify
Oct 11 14:44:04 campo wviewd[21058]: <3771212913> : storing record for 10/11/2005 14:44
Oct 11 14:45:05 campo wviewd[21058]: <3771273698> : storing record for 10/11/2005 14:45
Oct 11 14:46:05 campo wviewd[21058]: <3771333461> : storing record for 10/11/2005 14:46
Oct 11 14:47:04 campo wviewd[21058]: <3771393232> : storing record for 10/11/2005 14:47
Oct 11 14:48:04 campo wviewd[21058]: <3771453009> : storing record for 10/11/2005 14:48
Oct 11 14:49:04 campo wviewd[21058]: <3771512795> : storing record for 10/11/2005 14:49 |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Thu Oct 13, 2005 5:22 am Post subject: |
|
|
AHA!!!
Quote: | Oct 11 14:40:04 campo wviewd[20169]: <3770973370> : storing record for 10/11/2005 14:40
Oct 11 14:41:04 campo wviewd[20169]: <3771033162> : storing record for 10/11/2005 14:41
|
You must have your archive interval set on the Vantage Pro to be 1 minute!!! wview will not work with a 1 minute archive interval - it must be 5,10,15,or 30. This is in the User Manual...
If you want to use wview, you will need to do the following:
1) Remove the old archive files from /var/wview/archive, you are going to have to start fresh
2) Run the VP Console setup utility on the console and make sure you change the archive interval to 5 or 10 or 15 or 30 minutes; also make sure the rain bucket type is set to 0.01 inches (wview does the metric conversions internally); also turn off daylight savings, wview does that manually as well
3) Delete the /var/wview/noaa/noaa.dat file if it exists
4) start wview
Let us know how it goes... |
|
Back to top |
|
|
|