exit 126 + retrieve_conf

Discussion in 'General' started by vlad, Apr 7, 2009.

  1. vlad

    Joined:
    Nov 15, 2007
    Messages:
    86
    Likes Received:
    0
    After a long time that im dont install and use elastix, freepbx asterisk and linux, today im installed elastix 1.5.2-2 and when im had configurated extensions and trunks, im find on issue when im apply the changes...

    Reload failed because retrieve_conf encountered an error: 126

    Im changed the functions.inc.php by 'AMPMGRPASS' => array('std' , 'elastix456')

    And the same problem, im had solved disabling selinux:

    echo 0 >/selinux/enforce

    Regards.

    Vlad.
     
  2. elrefugo

    Joined:
    May 18, 2009
    Messages:
    4
    Likes Received:
    0
    Hello Vlad:

    I have the same problem that you, but I dont get to fix it with the solution that you give, disabling the SELINUX.
    Particularly, the message the FreePBX shows is:

    Code:
    exit: 126
    sh: /var/lib/asterisk/bin/retrieve_conf: /usr/bin/php: bad interpreter: No such file or directory
    Im running Elastix 1.5.2-2.
    Im discouraged because I couldnt register any SIP phone and any trunk yet!
    What can it be?

    Thank you,
    Nicolás.
     
  3. vlad

    Joined:
    Nov 15, 2007
    Messages:
    86
    Likes Received:
    0
    Edit /etc/selinux/config

    SELINUX=permissive

    and restart your Elastix.
     

Share This Page