[asterisk-bugs] [JIRA] (ASTERISK-23410) Asterisk not executing properly on CentOS 6.5

Trent Creekmore (JIRA) noreply at issues.asterisk.org
Tue Mar 4 18:53:48 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216095#comment-216095 ] 

Trent Creekmore edited comment on ASTERISK-23410 at 3/4/14 6:52 PM:
--------------------------------------------------------------------

Following the guidance from the wiki, I was able to figure out why Asterisk 11 and 12 were crashing (changed to: ./configure --libdir=/usr/lib64 ) , however is it now executes and performs jut like the 1.8.x versions.

I have now tested on CentOS 6.4 using the most recent yum repos binaries with the same result.


They all now execute without crashing, but none of the versions load the modules as shown below:

------------------------------------------
 Connected to Asterisk 11.8.0 currently running on localhost (pid = 9771)
localhost*CLI> module show
Module                         Description                              Use Count 
0 modules loaded
------------------------------------------

Then trying to load manually:

localhost*CLI> module load chan_sip.so
Unable to load module chan_sip.so
Command 'module load chan_sip.so' failed.
SIP channel loading...

----------------------------------------------
localhost*CLI> module show
Module                         Description                              Use Count 
chan_sip.so                    Session Initiation Protocol (SIP)        0         
1 modules loaded
-------------------------------------------------

localhost*CLI> sip show peers
No such command 'sip show peers' (type 'core show help sip show' for other possible commands)

--------------------------------------------------

This is now replicated in all versions of asterisk mentioned above.




I should also note the Schmooze/FreePBX repos are not having this issue and Asterisk functions correctly if using their CentOS repos.


On the other hand using all CentOS repos, the EPEL build of Asterisk fails, as well as the Schmooze/FreePBX repo.








was (Author: tcreek):
Following the guidance from the wiki, I was able to figure out why Asterisk 11 and 12 were crashing (changed to: ./configure --libdir=/usr/lib64 ) , however is it now executes and performs jut like the 1.8.x versions.

I have now tested on CentOS 6.4 using the most recent yum repos binaries with the same result.


They all now execute without crashing, but none of the versions load the modules as shown below:

------------------------------------------
 Connected to Asterisk 11.8.0 currently running on localhost (pid = 9771)
localhost*CLI> module show
Module                         Description                              Use Count 
0 modules loaded
------------------------------------------

Then trying to load manually:

localhost*CLI> module load chan_sip.so
Unable to load module chan_sip.so
Command 'module load chan_sip.so' failed.
SIP channel loading...

----------------------------------------------
localhost*CLI> module show
Module                         Description                              Use Count 
chan_sip.so                    Session Initiation Protocol (SIP)        0         
1 modules loaded
-------------------------------------------------

localhost*CLI> sip show peers
No such command 'sip show peers' (type 'core show help sip show' for other possible commands)

--------------------------------------------------

This is now replicated in all versions of asterisk mentioned above.




I should also note the Schmooze/FreePBX repos are not having this issue and Asterisk functions correctly if using their CentOS repos.







> Asterisk not executing properly on CentOS 6.5
> ---------------------------------------------
>
>                 Key: ASTERISK-23410
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23410
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 1.8.12.2, 1.8.25.0, 11.7.0, 12.0.0
>         Environment: CentOS 6.5 latest update
>            Reporter: Trent Creekmore
>            Assignee: Trent Creekmore
>            Severity: Critical
>
> Compiling on the machine doing:
> /configure
> make menuselect (tried Build Native checked and unchecked after v1.8.12)
> make 
> make install
> starting with /usr/sbin/safe_asterisk
> Versions 11 and 12 are reporting:
> Asterisk ended with exit status 127 
> Asterisk died with code 127. 
> Automatically restarting Asterisk
> Version 1.8.x is not reporting any errors, just refuses to load any modules.
> This have been tested on four different machines with different CPUs (P4, AMD X2s, and Intel Core 2 Duo).



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list