hello, ich have installed the latest version from kamailio
kamailio-1.5.0-tls_src.tar.gz
Compiled and installed with this parameters
NICER=1 make all
make include_modules="db_mysql" all
make install
the database tables created with
/usr/local/sbin/kamdbctl create
and then start kamailio with
kamctl start
the output on cmd is :
gateway2:/usr/local/sbin # kamctl start
INFO: Starting Kamailio :
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start
failed
my logfile:
...
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:fix_actions: fixing record_route, line 310
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:fix_actions: fixing is_method, line 313
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:parse_methods: methods 0x1
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:textops:fixup_method: using id for method [INVITE/1]
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:fix_actions: fixing append_hf, line 320
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:fix_actions: fixing is_method, line 334
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:parse_methods: methods 0x2200
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:textops:fixup_method: using id for methods [PUBLISH,SUBSCRIBE/8704]
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:fix_actions: fixing is_method, line 337
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:parse_methods: methods 0x80
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:textops:fixup_method: using id for method [REGISTER/128]
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:fix_actions: fixing save, line 339
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:db_do_init: connection 0x654220 not found in pool
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:db_mysql:db_mysql_new_connection: opening connection:
mysql://xxxx:xxxx@localhost/openser
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
ERROR:db_mysql:db_mysql_new_connection: driver error: Access denied for user
'openser'@'localhost' (using password: YES)
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
ERROR:core:db_do_init: could not add connection to the pool
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
ERROR:usrloc:register_udomain: failed to open database connection
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
ERROR:registrar:domain_fixup: failed to register domain
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 339
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
CRITICAL:core:fix_expr: fix_actions error
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]: ERROR:core:main:
failed to fix configuration with err code -1
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:destroy_modules: shutting down module auth_db
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:destroy_modules: shutting down module auth
Mar 9 13:17:19 gateway2 /usr/local/sbin/kamailio[9496]:
DBG:core:destroy_modules: shutting down module acc
....
username and pw ist default.
i try it on console and login is ok:
gateway2:/usr/local/sbin # mysql -uopenser -h localhost -popenser
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5894 to server version: 5.0.26
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use openser
Database changed
mysql> Bye
what is wrong in my config?
--
View this message in context:
http://www.nabble.com/kamailio-start-with-error-Access-denied-for-user..-tp…
Sent from the OpenSER Users Mailing List mailing list archive at
Nabble.com.