Hello Daniel

I pulled the branch 3.1 again and its working correctly now.
Thank you so much for your assistance.

Regards
Phillip

On Tue, Jan 11, 2011 at 6:04 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

can you pull again the branch 3.1 and try? There were some fixes regarding shared db connections that shouldn't have happened in the first place, but seems that some modules do some inappropriate checks for it.

Thanks,
Daniel


On 1/11/11 3:57 PM, Phillman25 Kyriacou wrote:
Hi
I performed the following maintenance actions to my server that is currently installed with kamailio v3.1

cd /usr/local/src/kamailio-3.1.0/kamailio
git pull origin
make all
make install

After this action the dialog module is not working, after investigation, i found out that the following entry is causing this issue:

modparam("dialog", "db_mode", 1)

In my syslog i find the following errors:

Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7397]: CRITICAL: dialog [dlg_db_handler.c:117]: BUG - db connection found already open
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 33
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 34
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7397]: ERROR: dialog [dialog.c:620]: failed to connect to database (rank=24)
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7397]: ERROR: <core> [sr_module.c:832]: init_mod_child(): Error while initializing module dialog (/usr/local/lib/kamailio/modules_k/dialog.so)
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7397]: ERROR: <core> [pt.c:481]: ERROR: fork_tcp_process(): init_child failed for process 30, pid 7397, "tcp receiver child=7"
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7397]: ERROR: <core> [tcp_main.c:4811]: ERROR: tcp_main: fork failed: Success
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 37
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 43
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 30
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 41
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 5
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7396]: WARNING: <core> [db_id.c:281]: identical DB URLs, but different DB connection pid [7396/7349]
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7391]: INFO: <core> [main.c:807]: INFO: signal 15 received
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 47
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7396]: CRITICAL: dialog [dlg_db_handler.c:117]: BUG - db connection found already open
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7396]: ERROR: dialog [dialog.c:620]: failed to connect to database (rank=23)
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7396]: ERROR: <core> [sr_module.c:832]: init_mod_child(): Error while initializing module dialog (/usr/local/lib/kamailio/modules_k/dialog.so)
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7396]: ERROR: <core> [pt.c:481]: ERROR: fork_tcp_process(): init_child failed for process 29, pid 7396, "tcp receiver child=6"
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 39
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7396]: ERROR: <core> [tcp_main.c:4811]: ERROR: tcp_main: fork failed: Success
Jan 11 16:45:54 SipProxy /usr/local/sbin/kamailio[7398]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 45


Only the dialog module is facing this problem

Has anyone faced this before?

Thanks
Phillip

--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com