[SR-Users] Kamailio with Sqlite
Daniel-Constantin Mierla
miconda at gmail.com
Tue May 20 21:45:33 CEST 2014
Hello,
try with:
modparam("auth_db", "db_url", "sqlite:////etc/kamailio/kamailio.db")
Note the four times /.
Cheers,
Daniel
On 20/05/14 16:09, Ashwin Kumar R wrote:
> Hi,
>
> I want to configure kamailio to use SQLITE instead of MYSQL.I made
> DB_ENGINE=SQLITE in kamctlrc file and loadmodule "db_sqlite.so" in
> kamctl.conf file.
>
> But when I changed these parameters
>
>
> modparam("auth_db", "db_url", "sqlite:///etc/kamailio/kamailio.db")
>
> #!define DBURL "sqlite:///etc/kamailio/kamailio.db"
>
> Im getting the following error
>
> ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start
> failed
>
>
> I checked the log file ,following is the comment in syslog
>
> May 20 19:16:30 r13pc80-desktop /usr/local/sbin/kamailio[10920]:
> ERROR: db_sqlite [dbase.c:67]: db_sqlite_new_connection(): failed to
> open sqlite database 'etc/kamailio/kamailio.db'
>
> What kamailio.cfg and kamctlrc parameters do I need to change to do
> this?
>
> Regards
> Ashwin
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
More information about the sr-users
mailing list