Stuck initializing mysql for wallet

Tom_Krauss thomas.krauss at itserv.de
Thu Jul 25 11:19:49 EDT 2013


Hi, 

I would like to play around a bit with wallet. Unfortunately it does not let
me.

#  wallet-admin initialize wallet at MY.REALM
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
unversioned. Please call upgrade on your schema to sync the DB. at
lib/site_perl/5.8.8/Wallet/Schema.pm line 51
DBIx::Class::Storage::DBI::deployment_statements(): Can't deploy without a
ddl_dir or SQL::Translator >= 0.11016 (see
DBIx::Class::Optional::Dependencies for details) at
lib/site_perl/5.8.8/Wallet/Admin.pm line 92

#  wallet-admin upgrade
prints the same errors.

I have:
wallet 1.0
SQL-Translator 0.11016
DBIx-Class 0.08250
DBD-mysql 4.023
DBI 1.627
Mysql 5.1

# cat /etc/wallet/wallet.conf
$DB_DRIVER = 'mysql';
$DB_NAME = 'wallet';
$DB_HOST = 'localhost';
$DB_USER = 'wallet';
$DB_PASSWORD = 'secret';
1;

Since the minimal requirements for SQL::Translator are met I assume the
ddl_dir cannot be found.
I did not configure it in wallet.conf so the default /usr/local/share/wallet
should be valid.
# ls -l /usr/local/share/wallet/
total 73
-rw-rw-rw-   1 root     root         216 Jul  8 15:26
Wallet-Schema-0.07-0.08-MySQL.sql
-rw-rw-rw-   1 root     root         142 Jul  8 15:26
Wallet-Schema-0.07-0.08-SQLite.sql
-rw-rw-rw-   1 root     root        6786 Jul  8 15:26
Wallet-Schema-0.07-MySQL.sql
-rw-rw-rw-   1 root     root        5844 Jul  8 15:26
Wallet-Schema-0.07-SQLite.sql
-rw-rw-rw-   1 root     root        6571 Jul  8 15:26
Wallet-Schema-0.08-MySQL.sql
-rw-rw-rw-   1 root     root        6972 Jul  8 15:26
Wallet-Schema-0.08-PostgreSQL.sql
-rw-rw-rw-   1 root     root        5623 Jul  8 15:26
Wallet-Schema-0.08-SQLite.sql

Maybe someone can give me a hint.
Thanks in advance

Tom





--
View this message in context: http://kerberos.996246.n3.nabble.com/Stuck-initializing-mysql-for-wallet-tp37908.html
Sent from the Kerberos - General mailing list archive at Nabble.com.


More information about the Kerberos mailing list