Try to run 'openser_mysql.sh reinstall' before testing again... it seems to
be a table version mismatch.
Edson.
-----Original Message-----
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
Behalf Of Johannes Lehninger
Sent: terça-feira, 13 de junho de 2006 10:00
To: users(a)openser.org
Subject: [Users] Usrloc failure on startup
Hi,
I use openser 1.0.1 and I get the following error on starting it up
0(0) AUTH module - initializing
0(0) AUTH_DB module - initializing
vm10:~ # 0(0) usrloc:preload_udomain: Wrong version v136427728 for table
<location>, expected v1001
0(0) register_udomain(): Error while preloading domain 'location'
0(0) domain_fixup(): Error while registering domain
ERROR: error -1 while trying to fix configuration
My config file is the default one except of the additional modules:
mysql,mediaproxy, domain.
loadmodule "/usr/local/openser10/lib/openser/modules/mysql.so"
loadmodule "/usr/local/openser10/lib/openser/modules/mediaproxy.so"
loadmodule "/usr/local/openser10/lib/openser/modules/domain.so"
loadmodule "/usr/local/openser10/lib/openser/modules/xlog.so"
..
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/openser10/lib/openser/modules/auth.so"
loadmodule "/usr/local/openser10/lib/openser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("auth_db|usrloc|domain", "db_url",
"mysql://openser:openserrw@localhost/openser10")
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
Regards
Hannes
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users