[asterisk-users] Segmentation fault on Asteriskstartup:res_config_mysql.so problem?

kjcsb kjcsb at orcon.net.nz
Wed Sep 27 11:08:44 MST 2006


>>>
>> Did you do a make && make install for add-ons BEFORE doing
>> so for asterisk?
>> If so try asterisk first and when all is installed install
>> add-ons.
>>
>> -- 
>>
> I tried a make clean && make && make install for asterisk and then for 
> asterisk-addons but am still getting the segmentation fault on asterisk 
> startup. rm res_config_mysql.so allows Asterisk to start.
>
Still trying...
mkdir /usr/lib/asterisk.backup.20060928

mv /usr/lib/asterisk/* /usr/lib/asterisk.backup.20060928

mkdir /usr/include/asterisk.backup.20060928

mv /usr/include/asterisk/* /usr/include/asterisk.backup.20060928/



cd /usr/src/asterisk-1.2.12.1

make clean && make && make install

cd /usr/src/asterisk-addons-1.2.4

perl -p -i.bak -e 
's/CFLAGS.*D_GNU_SOURCE/CFLAGS+=-D_GNU_SOURCE\nCFLAGS+=-DMYSQL_LOGUNIQUEID/' 
Makefile

make clean && make && make install



Install logs look fine.


STARTING ASTERISK
/usr/sbin/safe_asterisk: line 40:  6631 Segmentation fault      (core 
dumped) asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
/usr/sbin/safe_asterisk: line 40:  6690 Segmentation fault      (core 
dumped) asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

rm res_config_mysql.so allows Asterisk to start.

Any advice appreciated.

Cameron 



More information about the asterisk-users mailing list