Bug #3101
closedrunning osmo-msc database
0%
Description
Hello there,
I'm quite surprising i found no topic with this issue and I didn't find anything related to my issue...
I'm just trying to launch osmo-msc and the daemon doesn't want to start because it cannot init the sms.db file (so the database).
However, I got the file sms.db as requested, i got sqlite3 on my server. Do I have to create some particular table on the file.
Here you got the error :
osmomsc@osmomsc:~$ osmo-msc -c osmo-msc.cfg
<0021> telnet_interface.c:101 telnet at 127.0.0.1 4254
<0017> smpp_smsc.c:1001 SMPP at 0.0.0.0 2775
<0028> control_if.c:824 CTRL at 127.0.0.1 4255
<000d> db.c:611 Failed to create connection.
DB: Failed to init database: sms.db
If someone have a solution, it could be great, thank you in advance for your time.
Vincent
Updated by laforge about 6 years ago
On Fri, Mar 23, 2018 at 05:11:06AM +0000, Endast [REDMINE] wrote:
I'm quite surprising i found no topic with this issue and I didn't find anything related to my issue...
Nobody has experienced this before :)
I'm just trying to launch osmo-msc and the daemon doesn't want to start because it cannot init the sms.db file (so the database).
try using strace on it when starting, so we can see what kind of syscalls are causing the failure.
Maybe the file exists but the process doesn't have write permissions? Or the file doesn't
exist but the process has no write/create permission in the directory?
Updated by Endast about 6 years ago
Hello,
Sorry I didn't want to offence anyone saying that.
So thanks to strace (very powerful command that I didn't know...), one of the sqlite3 dependency was missing :
libdbd-sqlite3
I still don't know why it was missing but I can install it right now and so run osmo-msc !
Thank you very much for your help and to the developers, nice work.
Updated by laforge about 6 years ago
- Status changed from New to Closed
- Assignee set to laforge