installing votorola
Michael Allan
mike at zelea.com
Wed Feb 18 12:36:50 EST 2009
You sent an image of the error trace, so I can't quote it. But you
see the database engine is complaining of a password authentication
failure? The problem is on step 1.3.4 of the manual. You did not
enter this:
createuser SUBSERVER-NAME
Instead you entered this:
createuser -P SUBSERVER-NAME
So you assigned a client password to the database user. Refer to your
PostgreSQL client authentication config:
/var/lib/postgresqul/data/pa_hba.conf
What is the authentication METHOD? If 'trust' or 'ident', then no
password is needed. You have two choices:
(1). Do dropuser, and createuser again, without -P. It should work.
(2). Otherwise, if you need/want a password, then tell it to Votorola.
http://zelea.com/var/tmp-public/votorola-0.1.12/votorola/_/javadoc/votorola/g/sql/Database.ConfigurationContext.html
(a) So add these to your subserver.js:
subserverCC.geocodeDatabase().setUserPassword(PASSWORD);
subserverCC.userDatabase().setUserPassword(PASSWORD);
// http://zelea.com/var/tmp-public/votorola-0.1.12/votorola/_/javadoc/votorola/a/ElectoralSubserver.ConfigurationContext.html
(b) Add these to your register service.js:
registerCC.listDatabase().setUserPassword(PASSWORD);
registerCC.voterInputDatabase().setUserPassword(PASSWORD);
// http://zelea.com/var/tmp-public/votorola-0.1.12/votorola/_/javadoc/votorola/a/register/Register.ConfigurationContext.html
(c) Do likewise when you config each election. See
http://zelea.com/var/tmp-public/votorola-0.1.12/votorola/_/javadoc/votorola/a/election/Election.ConfigurationContext.html
Try that, see if it works. (PS - If there a further problems, please
post the error trace as text the email body, rather than an image in a
Word doc.)
--
Michael Allan
Toronto, 647-436-4521
http://zelea.com/
More information about the Votorola
mailing list