NO BUTTONS

Hello I have this error

[root@localhost fop2]# /usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - Valid License (7)

Can't exec "/usr/local/fop2/autoconfig-buttons.sh": Permission denied at script/fop2_server.pl line 580, <$CONFIG> line 1.
Connection to manager OK!

My system is
Centos 6.5
Asterisk 12
freepbx 12 beta
FOP 2.28 final

Regards,
Marcelo

Comments

  • How did you install FOP2? It seems files were copied across systems without preserving permissions. Check that you have the /usr/local/fop2/autoconfig-buttons.sh file and that it has execute permissions. If on doubt, assign execute permissions with the command
    chmod a+x /usr/local/fop2/autoconf*.sh
    
  • I've installed it from a tarball.
    I've executed the command and the previous error disappeared.
    I have no buttons on my screen.
    I have this error:
    [root@localhost fop2]# ./autoconfig-buttons.sh
    ! Cannot connect to Fo2 Manager database
  • I've installed it from a tarball.
    I've executed the command and the previous error disappeared.
    I have no buttons on my screen.
    I have this error:
    [root@localhost fop2]# ./autoconfig-buttons.sh
    ! Cannot connect to Fo2 Manager database
  • Did you run "make" or copied files by hand? The autoconf* scripts are bundled with execute permissions, so you shouldn't have the first issue at all. Anyways, now we made some progress.

    Now onto the 2nd problem, perhaps FreePBX 12 beta does not store configuration details in the /etc/amportal.conf file or /etc/freepbx.conf file, that the autoconf scripts use in order to connect to the asterisk mysql database. Do you have those files? Do not paste their contents as is here as they contain sensitive information (like your mysql password!).

    Try this:
    cat /etc/amportal.conf | grep AMPDBNAME
    

    and this:
    cat /etc/freepbx.conf | grep AMPDBNAME
    

    Does it return anything?



  • This are the results

    [root@localhost ~]# cat /etc/freepbx.conf | grep AMPDBNAME
    $amp_conf = 'asterisk';

    [root@localhost ~]# cat /etc/amportal.conf | grep AMPDBNAME
    AMPDBNAME=asterisk
  • Perhaps you have some symbols in the password that are not parsed correctly? Run the above commands but check the AMPDBPASS entry. Do you have any symbols in the password?
  • Hello,

    I've downgraded to version 2.27 and it is working fine.
Sign In or Register to comment.