Opened 15 years ago

Closed 10 years ago

Last modified 10 years ago

#17196 closed defect (invalid)

wview 4.0.1 install missing daemons wvhttpd wviewsqld

Reported by: tshaw@… Owned by: mbrooksclark@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: wview

Description (last modified by blb@…)

missing wvhttpd and wviewsqld. all other daemons installed fine:

-rwxr-xr-x     2 root  admin    23084 Nov  6 16:15 radmrouted
-rwxr-xr-x     2 root  admin    46920 Nov 11 17:11 wvalarmd
-rwxr-xr-x     2 root  admin    33228 Nov 11 17:11 wvcwopd
-rwxr-xr-x     2 root  admin    72512 Nov 11 17:11 wviewconfig
-rwxr-xr-x     2 root  admin    97464 Nov 11 17:11 wviewd
-rwxr-xr-x     2 root  admin    33376 Nov 11 17:11 wviewftpd
-rwxr-xr-x     2 root  admin     6148 Nov 11 17:11 wviewhtmlconfig
-rwxr-xr-x     2 root  admin    33320 Nov 11 17:11 wviewsshd
-rwxr-xr-x     2 root  admin    33912 Nov 11 17:11 wvpmond
-rwxr-xr-x     2 root  admin   245032 Nov 11 17:11 htmlgend

Change History (12)

comment:1 Changed 15 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to mbrooksclark@…
Port: 4.0.1 removed

How did you install the port? wview has a +http variant which may be what you need for wvhttpd, and two different database variants (+mysql5 and +pgresql) that may get you wviewsqld.

comment:2 Changed 15 years ago by tshaw@…

not knowing any better I just:

sudo port install wview

There seemed to be no description for anything else and wview description indicated that daemon could be controlled from config files rather than compile options.

Base upon your email should I have

sudo port install wview +http +mysql5

? Sorry to be a dunce but this was not clear and, I though, I assimilated all the docs....

comment:3 Changed 15 years ago by mbrooksclark@…

Sometimes I regret not having the variants all install by default, but I didn't really want to require installation of mysql5 and pgresql for the default installation. Similarly, you're likely to need only one of the supported weather stations, so it doesn't make sense to compile support for all of the others in as well.

For a complete list of variants, use the command:

port variants wview

comment:4 Changed 15 years ago by tshaw@…

Thanks. I tried (on a 10.4.11 OSX)

sudo port clean wview sudo port install wview +mysql5 +http

and this build missed the radlib dependancy of +mysql5 and caused the build error below. After correcting this I got

Nov 12 09:20:47 TR-Shaws-Computer SystemStarter[17189]: "/Library/StartupItems" failed security check: not owned by GID 0 Nov 12 09:20:47 TR-Shaws-Computer SystemStarter[17189]: Unknown service: wview

For some reason that I haven't run down, /Library/StartupItems and /Library/StartupItems/wview had the owner/group as root:admin. I changed them to root:wheel and all started up fine.

All seems to be well with one exception and that is that wvcwopd is running and I have both deamon log and log wx packets on for CWOP yet I cant find anything logged in syslog or at findu.com for CW2823. I checked DNS and port numbers and all match findu. Any ideas on tracking this down?

Tom

sudo port install wview +mysql5 +http +vpro ---> Fetching wview ---> Verifying checksum(s) for wview ---> Extracting wview ---> Configuring wview ---> Building wview with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_wview/work/wview-4.0.1" && make all " returned error 2 Command output: then mv -f ".deps/ethernet.Tpo" ".deps/ethernet.Po"; else rm -f ".deps/ethernet.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common -I../../stations/common -I/opt/local/include -DHOST_IS_BIGENDIAN=1 -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\" -DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVIEWD -I/opt/local/include -O2 -MT stormRain.o -MD -MP -MF ".deps/stormRain.Tpo" -c -o stormRain.o test -f '../../stations/common/stormRain.c' || echo './'../../stations/common/stormRain.c; \ then mv -f ".deps/stormRain.Tpo" ".deps/stormRain.Po"; else rm -f ".deps/stormRain.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common -I../../stations/common -I/opt/local/include -DHOST_IS_BIGENDIAN=1 -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\" -DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVIEWD -I/opt/local/include -O2 -MT vproInterface.o -MD -MP -MF ".deps/vproInterface.Tpo" -c -o vproInterface.o test -f '../../stations/VantagePro/vproInterface.c' || echo './'../../stations/VantagePro/vproInterface.c; \ then mv -f ".deps/vproInterface.Tpo" ".deps/vproInterface.Po"; else rm -f ".deps/vproInterface.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common -I../../stations/common -I/opt/local/include -DHOST_IS_BIGENDIAN=1 -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\" -DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVIEWD -I/opt/local/include -O2 -MT vproStates.o -MD -MP -MF ".deps/vproStates.Tpo" -c -o vproStates.o test -f '../../stations/VantagePro/vproStates.c' || echo './'../../stations/VantagePro/vproStates.c; \ then mv -f ".deps/vproStates.Tpo" ".deps/vproStates.Po"; else rm -f ".deps/vproStates.Tpo"; exit 1; fi /usr/bin/gcc-4.0 -O2 -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -o wviewd -L/usr/lib -L/usr/local/lib -L/opt/local/lib -L/opt/local/lib/mysql -L/usr/lib/mysql sensor.o wvutils.o dbfiles.o windAverage.o computedData.o daemon.o station.o serial.o ethernet.o stormRain.o vproInterface.o vproStates.o -lc -lm -lrad -lmysqlclient -lz -lrad -lpng -lm -lgd -lc /usr/bin/ld: warning -L: directory name (/opt/local/lib/mysql) does not exist /usr/bin/ld: warning -L: directory name (/usr/lib/mysql) does not exist make[3]: Nothing to be done for `all-am'. Making all in sqld if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\" -DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVSQLDD -I/opt/local/include -O2 -MT wvutils.o -MD -MP -MF ".deps/wvutils.Tpo" -c -o wvutils.o test -f '../common/wvutils.c' || echo './'../common/wvutils.c; \ then mv -f ".deps/wvutils.Tpo" ".deps/wvutils.Po"; else rm -f ".deps/wvutils.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\" -DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVSQLDD -I/opt/local/include -O2 -MT dbfiles.o -MD -MP -MF ".deps/dbfiles.Tpo" -c -o dbfiles.o test -f '../common/dbfiles.c' || echo './'../common/dbfiles.c; \ then mv -f ".deps/dbfiles.Tpo" ".deps/dbfiles.Po"; else rm -f ".deps/dbfiles.Tpo"; exit 1; fi if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/opt/local/include -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/opt/local/etc/wview\" -DWV_RUN_DIR=\"/opt/local/var/wview\" -DBUILD_WVSQLDD -I/opt/local/include -O2 -MT sqld.o -MD -MP -MF ".deps/sqld.Tpo" -c -o sqld.o test -f '../sqld/sqld.c' || echo './'../sqld/sqld.c; \ then mv -f ".deps/sqld.Tpo" ".deps/sqld.Po"; else rm -f ".deps/sqld.Tpo"; exit 1; fi In file included from ./sqld.h:58,

from ../sqld/sqld.c:36:

../common/dbdatabase.h:40:25: error: raddatabase.h: No such file or directory In file included from ./sqld.h:58,

from ../sqld/sqld.c:36:

../common/dbdatabase.h:61: error: parse error before "DATABASE_ID" ../common/dbdatabase.h:61: warning: no semicolon at end of struct or union ../common/dbdatabase.h:70: error: parse error before '}' token ../common/dbdatabase.h:70: warning: data definition has no type or storage class make[2]: * [sqld.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Status 1 encountered during processing.

comment:5 in reply to:  4 ; Changed 15 years ago by blb@…

Replying to tshaw@…:

and this build missed the radlib dependancy of +mysql5 and caused the build error below. After correcting this I got

That's odd, radlib is specifically listed as a dependency for wview. Not sure why it failed to install it for you.

Nov 12 09:20:47 TR-Shaws-Computer SystemStarter[17189]: "/Library/StartupItems" failed security check: not owned by GID 0 Nov 12 09:20:47 TR-Shaws-Computer SystemStarter[17189]: Unknown service: wview

If possible, the wview should move over to using startupitem in the Portfile, may help with this issue.

comment:6 in reply to:  5 ; Changed 15 years ago by tshaw@…

Replying to blb@…:

Replying to tshaw@…:

and this build missed the radlib dependancy of +mysql5 and caused the build error below. After correcting this I got

That's odd, radlib is specifically listed as a dependency for wview. Not sure why it failed to install it for you.

It installed but didn't configure it with +mysql5 that matched the +mysql5 of the wview install. radlib was just configured vanilla

comment:7 in reply to:  6 ; Changed 15 years ago by tshaw@…

Replying to blb@…:

PS As I noted before I have all logs set on and wvcwop set to log all packets but no packets are getting logged - in fact nothing is getting logged. Any ideas on where I should look to run this down?

comment:8 in reply to:  6 Changed 15 years ago by mbrooksclark@…

It installed but didn't configure it with +mysql5 that matched the +mysql5 of the wview install. radlib was just configured vanilla

I don't think it's possible to include variants in the portfile dependencies, so you need to install radlib (specifying the +mysql5 variant) before installing wview.

Similarly, I think you need to specify the +server variant for the mysql5 installation.

See instructions for installation of wview (with mysql) on a Mac here:

http://web.mac.com/mbrooksclark/Mac_OS_X_Home_Automation_Pages/wview_%28Leopard%29.html

comment:9 in reply to:  7 Changed 15 years ago by mbrooksclark@…

PS As I noted before I have all logs set on and wvcwop set to log all packets but no packets are getting logged - in fact nothing is getting logged. Any ideas on where I should look to run this down?

Hard to say what the issue is without a little more information. Are you sure all of the config files are set up properly (do you have the wvcwop.conf file in /opt/local/etc/wview?)? This question might be better addressed on the wview discussion group as I don't think it's a MacPorts issue.

http://groups.google.com/group/wview

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:11 Changed 10 years ago by mbclark@…

Resolution: invalid
Status: newclosed

Very old ticket. No longer relevant as wview is at v5.21.5.

comment:12 Changed 10 years ago by mf2k (Frank Schima)

Keywords: wview wvhttpd wviewsqld removed
Note: See TracTickets for help on using tickets.