[SR-Users] Kamailio with Sqlite
Ashwin Kumar R
ec.rakumar at tatapowersed.com
Wed May 21 17:24:48 CEST 2014
Dear Sir,
I'm still getting the same error .
I checked the log file ,following is the comments in syslog.
May 21 20:11:44 r13pc80-desktop /usr/local/sbin/kamailio[3470]: ERROR:
db_sqlite [dbase.c:67]: db_sqlite_new_connection(): failed to open
sqlite database '/etc/kamailio/kamailio.db'
I have attached my kamctlrc & kamailio.conf files.Please advice.
Regards
Ashwin
On 2014-05-21 01:15, Daniel-Constantin Mierla wrote:
> 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kamailio.cfg
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140521/96dc80b0/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kamctlrc.txt
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140521/96dc80b0/attachment.txt>
More information about the sr-users
mailing list