Hi everybody.

I'm having problems with TinyDB.

I'm running TinyOS 1.1.7 on mica2 motes (as it is the latest TinyOS version to work with TinyDB). According to the documentation I've seen, in order to use the logging features of TinyDB, I must first initialize the PostGreSQL database. This is confirmed due to error messages that occur in the cygwin window whenever I attempt to use the "log to database" button or create a buffer.

The instructions seem to be lacking and if someone could point out where I went wrong, I'd appreciate it.

export PGDATA=/pgdata

mkdir /pgdata

initdb

The version of PostGreSQL (one with Moteview 1.0 is PostGreSQL version 8.0.0

the /usr/sbin folders of my installation do not have initdb, createuser, createdb, cygserver executables. However my /Program Files/PostgreSQL/8.0.0-rc1/bin folder does have these files.

I attempted to run the cygserver and initdb files from these locations and into the /pgdata folder but it did not work. I attempted to copy the cygserver and initdb executables into the /usr/sbin folder but that doesn't work either.

I'm stuck here, and I've been through several installs and uninstalls, so help is very much appreciated.

Did anyone have problems with their postgresql initialization?


Thanks for your time.

James Radion
University of Pittsburgh

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to