[OpenSIPS-Users] Installation of opensips tls version 1.7
Vlad Paiu
vladpaiu at opensips.org
Tue Aug 23 10:55:39 CEST 2011
Hello,
Looking at your backtrace, it seems that the MySQL library fails to
fetch the column names from the database.
This is a very bogus case, maybe related to the bad installation of the
MySQL driver. Please fix that issue first and then retry running OpenSIPS.
Regards,
--
Vlad Paiu
OpenSIPS Developer
On 08/23/2011 09:10 AM, isshed wrote:
> Hi All,
> When I start openSIPS, It crashed with the following backtrace. There
> is one more thing I would like to tell. While compiling the source,
> the compilation was failing. It was not finding the mysql.h. So I
> copied the whole folder "/usr/local/include/mysql" from fedora core 11
> while i am using fedora core 8. Below are the version of mysql present
> on my fc8.
> ++++++++++++++++++++++
> rpm -qa | grep mysql
> mysql-server-5.0.45-4.fc8
> php-mysql-5.2.4-3
> mysql-connector-odbc-3.51.14r248-2.fc8
> mysql-5.0.45-4.fc8
> libdbi-dbd-mysql-0.8.2-1.2.fc8
> mysql-libs-5.0.45-4.fc8
> ++++++++++++++++++++
> Please let me know what is the issue. Also how to install the correct
> mysql header files, please let me know the source/rpm for the same.
> #0 0x0011bc31 in db_mysql_get_columns (_h=0x81f2974, _r=0x81f27b8) at
> res.c:71
> 71 RES_NAMES(_r)[col]->len =
> strlen(fields[col].name);
> (gdb) bt
> #0 0x0011bc31 in db_mysql_get_columns (_h=0x81f2974, _r=0x81f27b8) at
> res.c:71
> #1 0x00114d65 in db_mysql_fetch_result (_h=0x81f2974, _r=0xbfa18808,
> nrows=461) at dbase.c:912
> #2 0x001ba215 in preload_udomain (_c=0x81f2974, _d=0xb60e2db4) at
> udomain.c:363
> #3 0x001beeda in child_init (_rank=1) at ul_mod.c:323
> #4 0x080c8f8a in init_mod_child (m=0x81ea848, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:395
> #5 0x080c8eef in init_mod_child (m=0x81ea8f0, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #6 0x080c8eef in init_mod_child (m=0x81ea998, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #7 0x080c8eef in init_mod_child (m=0x81eaa40, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #8 0x080c8eef in init_mod_child (m=0x81eaae8, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #9 0x080c8eef in init_mod_child (m=0x81eab90, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #10 0x080c8eef in init_mod_child (m=0x81eac38, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #11 0x080c8eef in init_mod_child (m=0x81eace0, rank=1, type=0x81862ea
> "CHILD") at sr_module.c:389
> #12 0x08074a52 in main (argc=3, argv=0xbfa18c74) at main.c:721
>
> Thanks,
> Isshed
> On Tue, Aug 23, 2011 at 10:04 AM, isshed <isshed.sip at gmail.com
> <mailto:isshed.sip at gmail.com>> wrote:
>
> Yes, It was compiled from sources.
>
>
> On Mon, Aug 22, 2011 at 4:34 PM, Bogdan-Andrei Iancu
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
> Hi,
>
> in this case, was your opensips compiled from sources or still
> RPMs ?
>
> Regards,
> Bogdan
>
>
>
> On 08/20/2011 12:44 PM, isshed wrote:
>> Hello Bogdan,
>> Thanks for your reply. My installation was through after
>> doing the following.
>> ln -s ./libmysqlclient.so.16 ./libmysqlclient.so
>> But when I run it is not compinng up. Bellow is the error
>> message on console.
>>
>> INFO: Starting OpenSIPS :
>> /usr/local/sbin/opensipsctl: line 1478: 29359 Segmentation
>> fault (core dumped) $OSIPSBIN -P $PID_FILE $STARTOPTIONS
>> > /dev/null 2> /dev/null
>> ERROR: PID file /var/run/opensips/opensips.pid does not exist
>> -- OpenSIPS start failed
>> Could you please assist me setting it up.
>> Thanks
>> Isshed
>> On Fri, Aug 19, 2011 at 8:03 PM, Bogdan-Andrei Iancu
>> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>>
>> Hi,
>>
>> instead of manually downloading the RPM, better use
>> package manager on your OS. If it is debian derived, use
>> apt, if redhat derived use yum .
>>
>> Regards,
>> Bogdan
>>
>>
>> On 08/19/2011 07:38 AM, isshed wrote:
>>> Hello Vlad,
>>> Can you please let me know from where can i download the
>>> rpms. I am using mysql version 5.0-45-6.fc8.
>>> Thanks,
>>>
>>> On Thu, Aug 18, 2011 at 4:57 PM, isshed
>>> <isshed.sip at gmail.com <mailto:isshed.sip at gmail.com>> wrote:
>>>
>>> no I did not install it. i could not find the
>>> correct rpm..
>>> mysqlclient15-devel-5.0.67-1.fc8.remi.i386.rpm is i
>>> downloaded from internet but while installing it says
>>> warning:
>>> mysqlclient15-devel-5.0.67-1.fc8.remi.i386.rpm:
>>> Header V4 DSA signature: NOKEY, key ID 00f97f56
>>> error: Failed dependencies:
>>> mysqlclient15 = 5.0.67-1.fc8.remi is needed
>>> by mysqlclient15-devel-5.0.67-1.fc8.remi.i386
>>> I would be really thankful to you sir.
>>> Thanks
>>>
>>> On Thu, Aug 18, 2011 at 4:40 PM, Vlad Paiu
>>> <vladpaiu at opensips.org
>>> <mailto:vladpaiu at opensips.org>> wrote:
>>>
>>> Hello,
>>>
>>> Do you have libmysqlclient-dev installed on your
>>> machine ? Seems like an error related to it.
>>>
>>> Regards,
>>>
>>> --
>>> Vlad Paiu
>>> OpenSIPS Developer
>>>
>>>
>>>
>>> On 08/18/2011 02:08 PM, isshed wrote:
>>>> Hi All,
>>>> I am installing opensips-1.7.0-beta-tls.
>>>> make prefix=/usr/local all
>>>> the problem i am facing is .that it is failing
>>>> while compiling mysql database. it does not
>>>> find the files
>>>> mysql.h etc.
>>>> How to resolve it.
>>>> Can you please let me know the link of mysql
>>>> for fedora8.
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> --
>> Bogdan-Andrei Iancu
>> OpenSIPS eBootcamp - 19th of September 2011
>> OpenSIPS solutions and "know-how"
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS eBootcamp - 19th of September 2011
> OpenSIPS solutions and "know-how"
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110823/6600ac17/attachment-0001.htm>
More information about the Users
mailing list