Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-08 Thread Ron Bergin
Jason Parker wrote:
 On 03/06/2012 12:31 PM, Ron Bergin wrote:

 Mathew,

 Each of those odbc modules are unavailable i.e., marked with XXX

 I even deleted the asterisk build directory and started over, but had
 the
 same results.

 What prereqs do I need besides these:

 mysql.i386  5.0.95-1.el5_7.1installed
 mysql-connector-odbc.i386   3.51.26r1127-1.el5  installed
 mysql-devel.i3865.0.95-1.el5_7.1installed
 mysql-server.i386   5.0.95-1.el5_7.1installed
 unixODBC.i386   2.2.11-7.1  installed
 unixODBC-devel.i386 2.2.11-7.1  installed


 libtool-ltdl-devel should be a dependency for unixODBC-devel in CentOS,
 but it
 is not.  You'll need to install that and re-run ./configure.

 --
 _


Jason,

Sorry for the delay in responding.  I just realized that my response,
which was shortly after yours, was stuck in limbo on my side.

Installing libtool-ltdl-devel fixed the odbc problem and asterisk is now
starting up fine.

Thanks
-- 
Ron Bergin
Network Operations Administrator
Fry's Electronics, Inc.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Ron Bergin
I have a working asterisk test box that I'm rebuilding with mysql support
so that I can test cdr stats (http://www.cdr-stats.org/).

When I run 'make memuselect', I select res_config_mysql, app_mysql,
cdr_mysql, and app_saycountpl components.  The build/install process goes
fine i.e. no errors.  However, I'm getting a seg fault error when starting
asterisk.

# /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault  (core
dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
 /dev/${TTY} 21  /dev/${TTY}

CentOS release 5.7
asterisk-1.8.9.2
dahdi-linux-complete-2.6.0
libpri-1.4.12

What am I missing?

-- 
Ron Bergin
Network Operations Administrator
Fry's Electronics, Inc.





--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Paul Belanger

On 12-03-06 12:05 PM, Ron Bergin wrote:

I have a working asterisk test box that I'm rebuilding with mysql support
so that I can test cdr stats (http://www.cdr-stats.org/).

When I run 'make memuselect', I select res_config_mysql, app_mysql,
cdr_mysql, and app_saycountpl components.  The build/install process goes
fine i.e. no errors.  However, I'm getting a seg fault error when starting
asterisk.

# /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault  (core
dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}

/dev/${TTY} 21  /dev/${TTY}


CentOS release 5.7
asterisk-1.8.9.2
dahdi-linux-complete-2.6.0
libpri-1.4.12

What am I missing?

For what ever reason, asterisk is crashing.  You'll need to generate a 
backtrace[1].


[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com  http://asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Matthew Jordan

- Original Message -
 From: Ron Bergin r...@i.frys.com
 To: asterisk-users@lists.digium.com
 Sent: Tuesday, March 6, 2012 11:05:35 AM
 Subject: [asterisk-users] Compiling asterisk with mysql support
 
 I have a working asterisk test box that I'm rebuilding with mysql
 support
 so that I can test cdr stats (http://www.cdr-stats.org/).
 
 When I run 'make memuselect', I select res_config_mysql, app_mysql,
 cdr_mysql, and app_saycountpl components.  The build/install process
 goes
 fine i.e. no errors.  However, I'm getting a seg fault error when
 starting
 asterisk.

Please also note that app_saycountpl, res_config_mysql, app_mysql, and
cdr_mysql are all either extended support modules or deprecated:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States

Note that if the segmentation fault is occurring in an extended support
module, development support typically comes from the Asterisk community.
In the case of deprecated modules, your mileage will vary considerably.

You may want to consider using an ODBC connection instead of interfacing
directly with the MySQL database, using the following:

* app_mysql = func_odbc
* cdr_mysql = cdr_adaptive_odbc
* res_config_mysql = res_odbc
* app_saycountpl = say.conf

 # /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault
  (core
 dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS}
 ${ASTARGS}
  /dev/${TTY} 21  /dev/${TTY}
 
 CentOS release 5.7
 asterisk-1.8.9.2
 dahdi-linux-complete-2.6.0
 libpri-1.4.12
 
 What am I missing?
 
 --
 Ron Bergin
 Network Operations Administrator
 Fry's Electronics, Inc.
 

Matthew Jordan
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com  http://asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Ron Bergin
Paul Belanger wrote:
 On 12-03-06 12:05 PM, Ron Bergin wrote:
  However, I'm getting a seg fault error when
 starting asterisk.

 # /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault  (core
 dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS}
 ${ASTARGS} /dev/${TTY} 21  /dev/${TTY}

 What am I missing?

 For what ever reason, asterisk is crashing.  You'll need to generate a
 backtrace[1].

 [1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

 --
 Paul Belanger
 Digium, Inc. | Software Developer
 twitter: pabelanger | IRC: pabelanger (Freenode)
 Check us out at: http://digium.com  http://asterisk.org

Thanks Paul, I'll look at getting the backtrace a little later today.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Ron Bergin
Matthew  Jordan wrote:

 - Original Message -
 From: Ron Bergin r...@i.frys.com
 To: asterisk-users@lists.digium.com
 Sent: Tuesday, March 6, 2012 11:05:35 AM
 Subject: [asterisk-users] Compiling asterisk with mysql support


 When I run 'make memuselect', I select res_config_mysql, app_mysql,
 cdr_mysql, and app_saycountpl components.  The build/install process
 goes
 fine i.e. no errors.  However, I'm getting a seg fault error when
 starting
 asterisk.

 Please also note that app_saycountpl, res_config_mysql, app_mysql, and
 cdr_mysql are all either extended support modules or deprecated:

 https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States

 Note that if the segmentation fault is occurring in an extended support
 module, development support typically comes from the Asterisk community.
 In the case of deprecated modules, your mileage will vary considerably.

 You may want to consider using an ODBC connection instead of interfacing
 directly with the MySQL database, using the following:

 * app_mysql = func_odbc
 * cdr_mysql = cdr_adaptive_odbc
 * res_config_mysql = res_odbc
 * app_saycountpl = say.conf


 What am I missing?

 --
 Ron Bergin
 Network Operations Administrator
 Fry's Electronics, Inc.


 Matthew Jordan
 Digium, Inc. | Software Developer
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: http://digium.com  http://asterisk.org

 --

Thanks for the info.  Can I assume that these (mysql) modules will be
removed soon or will they come alive again down the road?

-- 
Ron Bergin
Network Operations Administrator
Fry's Electronics, Inc.



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Ron Bergin
Matthew  Jordan wrote:

 - Original Message -
 From: Ron Bergin r...@i.frys.com
 To: asterisk-users@lists.digium.com
 Sent: Tuesday, March 6, 2012 11:05:35 AM
 Subject: [asterisk-users] Compiling asterisk with mysql support

 I have a working asterisk test box that I'm rebuilding with mysql
 support
 so that I can test cdr stats (http://www.cdr-stats.org/).

 When I run 'make memuselect', I select res_config_mysql, app_mysql,
 cdr_mysql, and app_saycountpl components.  The build/install process
 goes
 fine i.e. no errors.  However, I'm getting a seg fault error when
 starting
 asterisk.

 Please also note that app_saycountpl, res_config_mysql, app_mysql, and
 cdr_mysql are all either extended support modules or deprecated:

 https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States

 Note that if the segmentation fault is occurring in an extended support
 module, development support typically comes from the Asterisk community.
 In the case of deprecated modules, your mileage will vary considerably.

 You may want to consider using an ODBC connection instead of interfacing
 directly with the MySQL database, using the following:

 * app_mysql = func_odbc
 * cdr_mysql = cdr_adaptive_odbc
 * res_config_mysql = res_odbc
 * app_saycountpl = say.conf

 --
 Ron Bergin
 Network Operations Administrator
 Fry's Electronics, Inc.


 Matthew Jordan
 Digium, Inc. | Software Developer
 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
 Check us out at: http://digium.com  http://asterisk.org

 --

Mathew,

Each of those odbc modules are unavailable i.e., marked with XXX

I even deleted the asterisk build directory and started over, but had the
same results.

What prereqs do I need besides these:

mysql.i386  5.0.95-1.el5_7.1installed
mysql-connector-odbc.i386   3.51.26r1127-1.el5  installed
mysql-devel.i3865.0.95-1.el5_7.1installed
mysql-server.i386   5.0.95-1.el5_7.1installed
unixODBC.i386   2.2.11-7.1  installed
unixODBC-devel.i386 2.2.11-7.1  installed

-- 
Ron Bergin
Network Operations Administrator
Fry's Electronics, Inc.



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Compiling asterisk with mysql support

2012-03-06 Thread Jason Parker
On 03/06/2012 12:31 PM, Ron Bergin wrote:
 
 Mathew,
 
 Each of those odbc modules are unavailable i.e., marked with XXX
 
 I even deleted the asterisk build directory and started over, but had the
 same results.
 
 What prereqs do I need besides these:
 
 mysql.i386  5.0.95-1.el5_7.1installed
 mysql-connector-odbc.i386   3.51.26r1127-1.el5  installed
 mysql-devel.i3865.0.95-1.el5_7.1installed
 mysql-server.i386   5.0.95-1.el5_7.1installed
 unixODBC.i386   2.2.11-7.1  installed
 unixODBC-devel.i386 2.2.11-7.1  installed
 

libtool-ltdl-devel should be a dependency for unixODBC-devel in CentOS, but it
is not.  You'll need to install that and re-run ./configure.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users