Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I think it's the check_from() that gives the error. Check if you've loaded uri_db.so module...
On 7/21/06, Klaus Darilion klaus.mailinglists@pernau.at wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
thanks.. after installing back version 0.8.14 now ser seems to be starting correctly but actually, looking at active processes, I cannot find it. That is why I think:
ser[32367]: ERROR: acc: can't get code for the Sip-Translated-Request-URI attribute dns ser[32367]: init_mod(): Error while initializing module acc dns ser[32367]: WARNING:fm_free: free(0) called
here is acc module in my configuration file:
loadmodule "/usr/local/lib/ser/modules/acc.so"
...
modparam("acc", "log_fmt", "cdfimorstup") modparam("acc", "log_level", 1) modparam("acc", "failed_transactions", 1) modparam("acc", "report_cancels", 1) modparam("acc", "report_ack", 0) modparam("acc", "radius_config", "/usr/local/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "radius_flag", 2) modparam("acc", "radius_missed_flag", 3)
if I comment #modparam("acc", "radius_config", "/usr/local/etc/radiusclient-ng/radiusclient.conf") it starts.. why ????
Giuseppe
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Saturday, July 22, 2006 12:02 PM Subject: Re: [Serusers] error configuration file
I think it's the check_from() that gives the error. Check if you've loaded uri_db.so module...
On 7/21/06, Klaus Darilion klaus.mailinglists@pernau.at wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006
make sure acc.so is loaded before certain modules (dont remember which ones exactly, but plz check the acc.so README file for dependencies). it may also be that when you were downgrading back to 0.8.x, acc.so was not removed properly. othrwise, i have no more ideas.
On 7/23/06, Giuseppe Parlato gparlato@tnet.it wrote:
thanks.. after installing back version 0.8.14 now ser seems to be starting correctly but actually, looking at active processes, I cannot find it. That is why I think:
ser[32367]: ERROR: acc: can't get code for the Sip-Translated-Request-URI attribute dns ser[32367]: init_mod(): Error while initializing module acc dns ser[32367]: WARNING:fm_free: free(0) called
here is acc module in my configuration file:
loadmodule "/usr/local/lib/ser/modules/acc.so"
...
modparam("acc", "log_fmt", "cdfimorstup") modparam("acc", "log_level", 1) modparam("acc", "failed_transactions", 1) modparam("acc", "report_cancels", 1) modparam("acc", "report_ack", 0) modparam("acc", "radius_config", "/usr/local/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "radius_flag", 2) modparam("acc", "radius_missed_flag", 3)
if I comment #modparam("acc", "radius_config", "/usr/local/etc/radiusclient-ng/radiusclient.conf") it starts.. why ????
Giuseppe
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Saturday, July 22, 2006 12:02 PM Subject: Re: [Serusers] error configuration file
I think it's the check_from() that gives the error. Check if you've loaded uri_db.so module...
On 7/21/06, Klaus Darilion klaus.mailinglists@pernau.at wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006
Before (0.8.14) in conf file uri_db.so was not loaded but everything worked the same. In my conf file I had: modparam("auth_db|domain|group|uri|usrloc", "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but if I upgrade to 0.9.6 I get an error on this line.
..I'm using freeradius
thanks Giuseppe
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Saturday, July 22, 2006 12:02 PM Subject: Re: [Serusers] error configuration file
I think it's the check_from() that gives the error. Check if you've loaded uri_db.so module...
On 7/21/06, Klaus Darilion klaus.mailinglists@pernau.at wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006
If I unload uri.so and but I load uri_db.so I get the following error: bind_dbmod: Module sql does not export db_use_table function ERROR: mod_init(): Can't bind database module init_mod(): Error while initializing module usrloc WARNING:fm_free: free(0) called
However I dont get error no more on this line: modparam("auth_db|domain|group|uri|usrloc", "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser")
???
Giuseppe
----- Original Message ----- From: "Giuseppe Parlato" gparlato@tnet.it To: "Andrey Kouprianov" andrey.kouprianov@gmail.com Cc: serusers@iptel.org Sent: Sunday, July 23, 2006 8:11 PM Subject: Re: [Serusers] error configuration file
Before (0.8.14) in conf file uri_db.so was not loaded but everything worked the same. In my conf file I had: modparam("auth_db|domain|group|uri|usrloc", "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but if I upgrade to 0.9.6 I get an error on this line.
..I'm using freeradius
thanks Giuseppe
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Saturday, July 22, 2006 12:02 PM Subject: Re: [Serusers] error configuration file
I think it's the check_from() that gives the error. Check if you've loaded uri_db.so module...
On 7/21/06, Klaus Darilion klaus.mailinglists@pernau.at wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006
Thing is, 0.8.14 doesnt have uri_db.so module (only uri.so), which was introduced in version 0.9.x. That's why it would not work.
On 7/24/06, Giuseppe Parlato gparlato@tnet.it wrote:
If I unload uri.so and but I load uri_db.so I get the following error: bind_dbmod: Module sql does not export db_use_table function ERROR: mod_init(): Can't bind database module init_mod(): Error while initializing module usrloc WARNING:fm_free: free(0) called
However I dont get error no more on this line: modparam("auth_db|domain|group|uri|usrloc", "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser")
???
Giuseppe
----- Original Message ----- From: "Giuseppe Parlato" gparlato@tnet.it To: "Andrey Kouprianov" andrey.kouprianov@gmail.com Cc: serusers@iptel.org Sent: Sunday, July 23, 2006 8:11 PM Subject: Re: [Serusers] error configuration file
Before (0.8.14) in conf file uri_db.so was not loaded but everything worked the same. In my conf file I had: modparam("auth_db|domain|group|uri|usrloc", "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but if I upgrade to 0.9.6 I get an error on this line.
..I'm using freeradius
thanks Giuseppe
----- Original Message ----- From: "Andrey Kouprianov" andrey.kouprianov@gmail.com To: serusers@iptel.org Sent: Saturday, July 22, 2006 12:02 PM Subject: Re: [Serusers] error configuration file
I think it's the check_from() that gives the error. Check if you've loaded uri_db.so module...
On 7/21/06, Klaus Darilion klaus.mailinglists@pernau.at wrote:
maybe && instead of & ?????
this error message also happens if you forget to close all if blocks (watch out for missing '}' )
regards klaus
Giuseppe Parlato wrote:
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule? ERROR: bad config file (1 errors) ser startup failed
so on my configuration file the problem is this here: } else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has not been changed. The same file worked on 0.8.14 version.
help please Giuseppe _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 21/07/2006