Hi guys !
I'm new here and I came to the list to try solve a problem first. =) Good.... I have a SIPProxy installed in my machine working with Openser 1.1.1. Now I need to do this SIPProxy answer for 2 different domains and to do something depending of where request came. Now, I have almost everything functional (like freeradius and mediaproxy and mysql requests), but the Openser can't startup..... For a while, I copy his binary (*/usr/local/sbin/openser*) to* /usr/local/sbin/openserhost* and change the openser file's content -- where was openser.cfg now is openserhost.cfg) -- with a hexadecimal editor (GHex). I created a */etc/init.d/openserhost , /etc/default/openserhost* and a* /usr/local/etc/openserhost/ *too. Finally, I edit the "port" (to 5070) and de informations to database connect in new config file. When I try start the software, I get a error like this:
*siphost01:/usr/local/etc/openser# /etc/init.d/openserhost start Not starting openserhost: invalid configuration file! siphost01:/usr/local/etc/openser# *
Continuing, looking for a log, I see the /var/log/openser/openserhost.log and got:
* Oct 9 09:57:17 siphost01 kernel: openserhost[12020]: segfault at 0000000000000004 rip 00000000f7f6696e rsp 00000000ffcccaec error 4 Oct 9 10:04:33 siphost01 kernel: openserhost[12207]: segfault at 0000000000000004 rip 00000000f7fa096e rsp 00000000ffbc49ec error 4 Oct 9 10:05:36 siphost01 kernel: openserhost[12241]: segfault at 0000000000000004 rip 00000000f7f8096e rsp 00000000fff58d7c error 4 Oct 9 10:54:39 siphost01 kernel: openserhost[13443]: segfault at 0000000000000004 rip 00000000f7f7b96e rsp 00000000ffc52a6c error 4*
And that is All..... Sorry if I'm doing somethig stupid or if my english is very very bad.... I'm "new" in "Sr world" and I'm brazilian... =) Wait someone helpme with this....
Regards......
Érico Oliveira Solution Manager
Erico Oliveira writes:
Now, I have almost everything functional (like freeradius and mediaproxy
and mysql requests), but the Openser can't startup..... For a while, I copy his binary (*/usr/local/sbin/openser*) to* /usr/local/sbin/openserhost* and change the openser file's content -- where was openser.cfg now is openserhost.cfg) -- with a hexadecimal editor (GHex). I created a */etc/init.d/openserhost , /etc/default/openserhost* and a* /usr/local/etc/openserhost/ *too.
i suggest that you install latest kamailio package for distribution of your choice. then, if your problems still persist, send another email to the list.
-- juha
I recommend the same of installing last kamailio version, 1.1.1 is really really old.
However, I don't understand why you need to edit the binary with GHex. You can run kamailio (or older versions that had openser name) as many times as you want with different configuration files, just be sure you don't conflict on listening sockets.
For example:
/usr/local/sbin/kamailio -f /usr/local/etc/kamailio/kamailio1.cfg /usr/local/sbin/kamailio -f /usr/local/etc/kamailio/kamailio2.cfg
Cheers, Daniel
On 10/9/10 4:58 PM, Juha Heinanen wrote:
Erico Oliveira writes:
Now, I have almost everything functional (like freeradius and mediaproxy
and mysql requests), but the Openser can't startup..... For a while, I copy his binary (*/usr/local/sbin/openser*) to* /usr/local/sbin/openserhost* and change the openser file's content -- where was openser.cfg now is openserhost.cfg) -- with a hexadecimal editor (GHex). I created a */etc/init.d/openserhost , /etc/default/openserhost* and a* /usr/local/etc/openserhost/ *too.
i suggest that you install latest kamailio package for distribution of your choice. then, if your problems still persist, send another email to the list.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users