Can't exec '/usr/local/fop2/autoconfig-users-freepbx.sh':

  1. 12 years ago

    I have tested my fop2 system, and it shows that error:

    [root@elastix fop2]# /usr/local/fop2/fop2_server -test
    Flash Operator Panel 2 - Valid License (1)
    Can't exec "/usr/local/fop2/autoconfig-users-freepbx.sh": No such file or directory at script/fop2_server.pl line 3068, <CONFIG> line 14.
    Connection to manager OK!
    [root@elastix fop2]#

    Any idea how to fix this?

  2. admin

    8 Nov 2012 Administrator

    How did you install FOP2? Does the .sh script have execute permissions? Is it installed in /usr/local/fop2 ?

  3. yes, fop2 is installed in /usr/local/fop2

    there is no autoconfig-users-freepbx.sh" no idea why

    here you go printscreen

    [url=http://imageshack.us/photo/my-images/715/fop2.png/:20bvxcnh]http://img715.imageshack.us/img715/7308/fop2.png[/url:20bvxcnh]

    Uploaded with [url=http://imageshack.us:20bvxcnh]ImageShack.us[/url:20bvxcnh]

  4. admin

    8 Nov 2012 Administrator

    How did you install?

    If you use Elastix or FreePBX rpm, the scripts are located in /etc/asterisk/fop2, and any invokation of fop2_server must included the -c command like parameter, like

    /usr/local/fop2/fop2_server -c /etc/asterisk/fop2 --test

    /usr/local/fop2/fop2_server -c /etc/asterisk/fop2 --register

    etc

or Sign Up to reply!