sqlbox with pgsql
Phillip Grobler <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to get sqlbox with pgsql working. I initialy downloaded the
1.4.0but the make patch then gives errors.
I then downloaded the last daily-snapshot.
I tried the following
1) in sqlbox I did "make patch" which worked fine.
2) in gateway I did configure --with-pgsql
3) Start bearerbox - fine
4) Start smsbox - fine - logging of DLR to the DB is also working fine.
5) Starting sqlbox gicves
PANIC: Trying to fetch variable `pgsql-username' in group `pgsql-c
onnection', not allowed.
6) I then updated sqlbox_pgsql.c changing
if (!(pgsql_user = cfg_get(grp, octstr_imm("pgsql-username"))))
panic(0, "SQLBOX: PGSQL: directive 'pgsql-username' is not
specified!");
if (!(pgsql_pass = cfg_get(grp, octstr_imm("pgsql-password"))))
panic(0, "SQLBOX: PGSQL: directive 'pgsql-password' is not
specified!");
To
if (!(pgsql_user = cfg_get(grp, octstr_imm("username"))))
panic(0, "SQLBOX: PGSQL: directive 'username' is not
specified!");
if (!(pgsql_pass = cfg_get(grp, octstr_imm("password"))))
panic(0, "SQLBOX: PGSQL: directive 'password' is not
specified!");
7) I now get "Unknown dbpool type defined."
--
Phillip Grobler