Re: [asterisk-users] Asterisk Not Starting after YUM Update - Solved
On 13 Feb 2014, at 09:55, Aldo Bergamini aabe...@gmail.com wrote: Hi, I did compile the latest DAHDI and LibPRI, with no success… So I thought about updating the Asterisk package to the last known 1.6.2 release. Now it's crashing at some different point. This is the the strace result: Hi all, thanks for the hints. I did solve the problem… After reinstalling both DAHDI and LibPRI I first did recompile Asterisk, using the 1.6.2 release tarball. This proved to still make fuss, so that I redid the installation, this time with the latest 1.6.0 code. Aside complaining about some incompatible modules, the PBX went up well. I did even reload the binaries for G729, Skype and the fax stuff. They do not activate themselves (as an aside from the update nightmare, I had to replace an ethernet card), but this is probably due to host identification fingerprinting… Does anybody know if it is still possible to receive a 'move to new host' authorisation from Digium for the now unsupported Skype bridge? Thanks and best regards, Aldo -- _ -- 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] Asterisk Not Starting after YUM Update
On Wednesday 12 Feb 2014, Aldo Bergamini wrote: Hi List, it feels silly, but here I am. My Asterisk box is useless, after running a long delayed yum update (Centos box). If you got a new kernel as part of the upgrade, you will need to rebuild at least DAHDI and maybe Asterisk. Just cd to the folder with your DAHDI source code and # make install The `make` command does the magic for you, and only rebuilds what needs rebuilding. All should be fine after a reboot. If not, run the same command in your Asterisk source folder and reboot again. -- AJS Answers come *after* questions. -- _ -- 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] Asterisk Not Starting after YUM Update
On 12 Feb 2014, at 23:22, Tzafrir Cohen tzafrir.co...@xorcom.com wrote: Try: # standard asterisk command-line. No verbosity strace -eopen asterisk -U asterisk -c See which module was the one last loaded. -- Tzafrir Cohen Hi, I did compile the latest DAHDI and LibPRI, with no success… So I thought about updating the Asterisk package to the last known 1.6.2 release. Now it's crashing at some different point. This is the the strace result: [root@hermes sources]# strace -eopen asterisk -U asterisk -c open(/etc/ld.so.cache, O_RDONLY) = 3 open(/lib/libssl.so.6, O_RDONLY) = 3 open(/lib/libcrypto.so.6, O_RDONLY) = 3 open(/lib/libc.so.6, O_RDONLY)= 3 open(/usr/lib/libxml2.so.2, O_RDONLY) = 3 open(/lib/libz.so.1, O_RDONLY)= 3 open(/lib/libm.so.6, O_RDONLY)= 3 open(/lib/libdl.so.2, O_RDONLY) = 3 open(/lib/libcap.so.1, O_RDONLY) = 3 open(/lib/libpthread.so.0, O_RDONLY) = 3 open(/lib/libtermcap.so.2, O_RDONLY) = 3 open(/lib/libresolv.so.2, O_RDONLY) = 3 open(/usr/lib/libgssapi_krb5.so.2, O_RDONLY) = 3 open(/usr/lib/libkrb5.so.3, O_RDONLY) = 3 open(/lib/libcom_err.so.2, O_RDONLY) = 3 open(/usr/lib/libk5crypto.so.3, O_RDONLY) = 3 open(/usr/lib/libkrb5support.so.0, O_RDONLY) = 3 open(/lib/libkeyutils.so.1, O_RDONLY) = 3 open(/lib/libselinux.so.1, O_RDONLY) = 3 open(/lib/libsepol.so.1, O_RDONLY)= 3 open(/etc/selinux/config, O_RDONLY|O_LARGEFILE) = 3 open(/proc/mounts, O_RDONLY|O_LARGEFILE) = 3 open(/dev/urandom, O_RDONLY|O_LARGEFILE) = 3 Asterisk 1.6.2.24, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer marks...@digium.com Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. = [ Booting... [ Reading Master Configuration ] open(/etc/asterisk/asterisk.conf, O_RDONLY|O_LARGEFILE) = 4 open(/etc/nsswitch.conf, O_RDONLY)= 4 open(/etc/ld.so.cache, O_RDONLY) = 4 open(/lib/libnss_files.so.2, O_RDONLY) = 4 open(/etc/passwd, O_RDONLY) = 4 open(/proc/sys/kernel/ngroups_max, O_RDONLY) = 4 open(/etc/group, O_RDONLY)= 4 Unable to access the running directory (Permission denied). Changing to '/' for compatibility. open(/usr/share/terminfo/x/xterm, O_RDONLY|O_LARGEFILE) = 4 [ Initializing Custom Configuration Options ] open(/etc/asterisk/extconfig.conf, O_RDONLY|O_LARGEFILE) = 4 open(/etc/termcap, O_RDONLY) = 4 open(/root/.asterisk_history, O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied) open(/var/run/asterisk.pid, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4 open(/etc/asterisk/logger.conf, O_RDONLY|O_LARGEFILE) = 5 open(/var/log/asterisk/messages, O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = -1 EACCES (Permission denied) Logger Warning: Unable to open log file '/var/log/asterisk/messages': Permission denied open(/var/log/asterisk/event_log, O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = -1 EACCES (Permission denied) open(/etc/localtime, O_RDONLY|O_LARGEFILE) = 5 open(/etc/localtime, O_RDONLY)= 5 open(/var/log/asterisk/queue_log, O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = -1 EACCES (Permission denied) [root@hermes sources]# It's a long time I do not compile Asterisk; compiling from root does set a specific user under which to run the binaries? Does it run as root? Another idea I had is if the presence of now outdated binaries for fax, Skype and G729 (all from Digium, but made for Ast 16.0.x) could cause the problem.. Thanks in advance! Aldo-- _ -- 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] Asterisk Not Starting after YUM Update
Hi List, it feels silly, but here I am. My Asterisk box is useless, after running a long delayed yum update (Centos box). * A few details on the box: cat /etc/redhat-release CentOS release 5.10 (Final) arch i686 uname -a Linux hermes 2.6.18-371.4.1.el5 #1 SMP Thu Jan 30 06:09:24 EST 2014 i686 athlon i386 GNU/Linux asterisk -r Asterisk 1.6.2.20, Copyright (C) 1999 - 2010 Digium, Inc. and others. * Starting Asterisk very verbosely seems to load the dialplan, but at some point I get a segmentation fault. This is new to me! […] edited […] chan_agent.so = (Agent Proxy Channel) == Registered custom function 'EXTENSION_STATE' func_extstate.so = (Gets an extension's state in the dialplan) == Registered application 'DAHDIBarge' app_dahdibarge.so = (Barge in on DAHDI channel application) == Registered custom function 'CALLERPRES' == Registered custom function 'CALLERID' func_callerid.so = (Caller ID related dialplan functions) [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:760 load_module: G.729A transcoding module version 1.6.0_3.1.4, Copyright (C) 1999-2009 Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:761 load_module: This module is supplied under a commercial license granted by Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:762 load_module: Please see the full license text supplied by the accompanying [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:763 load_module: register utility, or ask for a copy from Digium. Segmentation fault The problem seems to come after the callerid module loads: does this make sense? BTW: I do have a G729 pack of licenses (they were actually active without any problem before messing with the update).. What should the clever sysadmin do? Thanks in advance, Aldo -- _ -- 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] Asterisk Not Starting after YUM Update
On Wed, Feb 12, 2014 at 10:44:42PM +0100, Aldo Bergamini wrote: Hi List, it feels silly, but here I am. My Asterisk box is useless, after running a long delayed yum update (Centos box). [snip] Starting Asterisk very verbosely seems to load the dialplan, but at some point I get a segmentation fault. This is new to me! […] edited […] chan_agent.so = (Agent Proxy Channel) == Registered custom function 'EXTENSION_STATE' func_extstate.so = (Gets an extension's state in the dialplan) == Registered application 'DAHDIBarge' app_dahdibarge.so = (Barge in on DAHDI channel application) == Registered custom function 'CALLERPRES' == Registered custom function 'CALLERID' func_callerid.so = (Caller ID related dialplan functions) [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:760 load_module: G.729A transcoding module version 1.6.0_3.1.4, Copyright (C) 1999-2009 Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:761 load_module: This module is supplied under a commercial license granted by Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:762 load_module: Please see the full license text supplied by the accompanying [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:763 load_module: register utility, or ask for a copy from Digium. Segmentation fault The problem seems to come after the callerid module loads: does this make sense? BTW: I do have a G729 pack of licenses (they were actually active without any problem before messing with the update).. What should the clever sysadmin do? Thanks in advance, Aldo Try: # standard asterisk command-line. No verbosity strace -eopen asterisk -U asterisk -c See which module was the one last loaded. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- _ -- 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] Asterisk Not Starting after YUM Update
DAHDI might be the culprit. You may have had a better version from Asterisk than the new one that YUM got you. Check to see if YUM gave you a new DAHDI. Who's your daddy now? You may want to rebuild the Asterisk DAHDI and install it over the DAHDI from your Linux distro. Ron On 12/02/2014 5:22 PM, Tzafrir Cohen wrote: On Wed, Feb 12, 2014 at 10:44:42PM +0100, Aldo Bergamini wrote: Hi List, it feels silly, but here I am. My Asterisk box is useless, after running a long delayed yum update (Centos box). [snip] Starting Asterisk very verbosely seems to load the dialplan, but at some point I get a segmentation fault. This is new to me! […] edited […] chan_agent.so = (Agent Proxy Channel) == Registered custom function 'EXTENSION_STATE' func_extstate.so = (Gets an extension's state in the dialplan) == Registered application 'DAHDIBarge' app_dahdibarge.so = (Barge in on DAHDI channel application) == Registered custom function 'CALLERPRES' == Registered custom function 'CALLERID' func_callerid.so = (Caller ID related dialplan functions) [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:760 load_module: G.729A transcoding module version 1.6.0_3.1.4, Copyright (C) 1999-2009 Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:761 load_module: This module is supplied under a commercial license granted by Digium, Inc. [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:762 load_module: Please see the full license text supplied by the accompanying [2014-02-12 22:40:07] NOTICE[13842]: codec_g729a.c:763 load_module: register utility, or ask for a copy from Digium. Segmentation fault The problem seems to come after the callerid module loads: does this make sense? BTW: I do have a G729 pack of licenses (they were actually active without any problem before messing with the update).. What should the clever sysadmin do? Thanks in advance, Aldo Try: # standard asterisk command-line. No verbosity strace -eopen asterisk -U asterisk -c See which module was the one last loaded. -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 -- _ -- 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