Can anyone give me some help troubleshooting my wview start problem? All was working well until I had to shut down the machine for some electrical works. Now when wview tries to start I get this
Here's a bit more context.
root@loststation:/var/log# tail -50 wview.log
Apr 11 12:46:12 loststation radmrouted[4535]: <1365680772736> : started on radlib system 1, workdir /var/lib/wview
Apr 11 12:46:12 loststation radmrouted[4535]: <1365680772737> : running...
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774219> : radlib: wviewd started as a daemon ...
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774223> : wview 5.20.2 starting ...
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774244> : station interface: native USB ...
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774249> : Rain Season Start Month set to 1
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774251> : Rain Storm Start Trigger set to 0.05 in/hr
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774259> : Rain Storm Stop Time set to 12 hours
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774261> : Rain YTD preset set to 0.00 inches
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774263> : ET YTD preset set to 0.000 inches
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774269> : bad rain/ET YTD Year given, disabling...
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774271> : station polling interval set to 30 seconds
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774462> : HILOW: database OK
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774463> : HILOW: beginning normal LOOP operation
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774464> : -- Station Init Start --
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774465> : WH1080 on USB 1941:8021 configured ...
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774522> : station archive interval: 5 minutes
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774523> : Starting station interface: WH1080
Apr 11 12:46:14 loststation wviewd[4539]: <1365680774527> : wviewd: recv sig 11: shutting down!
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775509> : radlib: htmlgend started as a daemon ...
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775544> : !! configured for metric units/conversion !!
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775559> : !! Rain units will be mm !!
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775598> : generating to /var/lib/wview/img
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775600> : templates at /etc/wview/html
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775606> : !! Dual units will be displayed !!
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775619> : Using mph as default wind units
Apr 11 12:46:15 loststation htmlgend[4543]: <1365680775662> : Tag Search red-black tree: max black node tree height: 8
Apr 11 12:46:15 loststation wvalarmd[4546]: <1365680775791> : radlib: wvalarmd started as a daemon ...
Apr 11 12:46:15 loststation wvalarmd[4546]: <1365680775825> : ALARM daemon not enabled - exiting...
Apr 11 12:46:16 loststation wvcwopd[4549]: <1365680776041> : radlib: wvcwopd started as a daemon ...
Apr 11 12:46:16 loststation wvcwopd[4549]: <1365680776088> : CWOP daemon is NOT enabled - exiting...
Apr 11 12:46:16 loststation htmlgend[4543]: <1365680776225> : running...
Apr 11 12:46:16 loststation radmrouted[4535]: <1365680776227> : radQueueSend: write failed on fd 8: Broken pipe
Apr 11 12:46:16 loststation radmrouted[4535]: <1365680776228> : SendToClient: wviewd: radProcessQueueSend failed!
Apr 11 12:46:16 loststation radmrouted[4535]: <1365680776228> : QueueMsgHandler: wviewd: SendToClient failed!
Apr 11 12:46:16 loststation wvhttpd[4552]: <1365680776305> : radlib: wvhttpd started as a daemon ...
Apr 11 12:46:16 loststation wvhttpd[4552]: <1365680776345> : WEATHERFORYOU station ID not given - disabling...
Apr 11 12:46:16 loststation wvhttpd[4552]: <1365680776369> : WEATHERFORYOU passwd not given - disabling...
Apr 11 12:46:16 loststation wvhttpd[4552]: <1365680776370> : WUNDERGROUND: configured to submit station IBERKSHI30 data to
wunderground.comApr 11 12:46:16 loststation wviewftpd[4555]: <1365680776599> : radlib: wviewftpd started as a daemon ...
Apr 11 12:46:16 loststation wviewftpd[4555]: <1365680776633> : ftp daemon disabled - exiting...
Apr 11 12:46:16 loststation wviewsshd[4558]: <1365680776859> : radlib: wviewsshd started as a daemon ...
Apr 11 12:46:16 loststation radmrouted[4535]: <1365680776900> : radQueueSend: write failed on fd 8: Broken pipe
Apr 11 12:46:16 loststation radmrouted[4535]: <1365680776900> : SendToClient: wviewd: radProcessQueueSend failed!
Apr 11 12:46:16 loststation radmrouted[4535]: <1365680776900> : QueueMsgHandler: wviewd: SendToClient failed!
Apr 11 12:46:16 loststation wviewsshd[4558]: <1365680776906> : ssh daemon disabled - exiting...
Apr 11 12:46:17 loststation wvpmond[4561]: <1365680777107> : radlib: wvpmond started as a daemon ...
Apr 11 12:46:17 loststation radmrouted[4535]: <1365680777174> : radQueueSend: write failed on fd 8: Broken pipe
Apr 11 12:46:17 loststation radmrouted[4535]: <1365680777174> : SendToClient: wviewd: radProcessQueueSend failed!
Apr 11 12:46:17 loststation radmrouted[4535]: <1365680777174> : QueueMsgHandler: wviewd: SendToClient failed!
The various searches I've done suggest that the radQueueSend failure is a memory problem but I can't find any evidence of that in any other logs and no sign of magic number problems
That would have picked up today's post boot messages, syslog and the wview.log which goes back to before the shut down.
One thing I also noticed is that whenever I do a "service wview stop" the wview.pid file gets left behind in /var/lib/wview and has to be deleted manually.
I've enabled logging on all services in the management portal. Any ideas where I should look next.
Oh, this is a buffalo linkstation running Debian Squeeze btw which has been running happily since Christmas when I installed wview. There's plenty of disk space remaining and top suggests that memory and cpu capacity is ok
top - 13:27:17 up 1:12, 2 users, load average: 0.12, 0.14, 0.35
Tasks: 94 total, 1 running, 93 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.0%us, 0.7%sy, 0.0%ni, 97.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 126024k total, 105272k used, 20752k free, 1904k buffers
Swap: 506008k total, 26872k used, 479136k free, 53816k cached