Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. NO BUTTONS

NO BUTTONS

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 304 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    K
    kreativitat
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      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
      
      1 Reply Last reply
      0
      • K
        K
        kreativitat
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • K
          K
          kreativitat
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #5

            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?

            1 Reply Last reply
            0
            • K
              K
              kreativitat
              wrote on last edited by
              #6

              This are the results

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

              [root@localhost ~]# cat /etc/amportal.conf | grep AMPDBNAME
              AMPDBNAME=asterisk

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #7

                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?

                1 Reply Last reply
                0
                • K
                  K
                  kreativitat
                  wrote on last edited by
                  #8

                  Hello,

                  I've downgraded to version 2.27 and it is working fine.

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups