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. Manager authentication failed. Check credentials!

Manager authentication failed. Check credentials!

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 1.4k 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.
  • J
    J
    joebeach
    wrote on last edited by
    #1

    Hi everyone!

    I'm having an error while installing fop2 via yum install fop2 procedure.

    I have an elastix distro and everything works fine, until run "/usr/local/fop2/fop2_server --test" command.

    It looks like this:

    /usr/local/fop2/fop2_server --test
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "es_ES.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Flash Operator Panel 2 - Valid License (7)
    Manager authentication failed. Check credentials!

    This are my files:

    /etc/asterisk/fop2/fop2.cfg
    [general]
    ; AMI definitions
    manager_host=localhost
    manager_port=5038
    manager_user=admin
    #exec amipasswd.sh
    ;event_mask=agent,call,command,system,user,dialplan
    [more]

    /etc/asterisk/manager.conf

    ;
    ; AMI - Asterisk Manager interface
    ;
    ; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need
    ; to assure that this can't be reached from un-authorized hosts with the ACL settings (permit/deny).
    ; Also, remember to configure non-default port or IP-addresses in amportal.conf.
    ;
    ; The AMI connection is used both by the portal and the operator's panel in FreePBX.
    ;
    ; FreePBX assumes an AMI connection to localhost:5038 by default.
    ;
    [general]
    enabled = yes
    port = 5038
    bindaddr = 0.0.0.0
    displayconnects=no ;only effects 1.6+

    [admin]
    secret = Mysecret
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate

    #include manager_additional.conf
    #include manager_custom.conf

    /var/log/asterisk/full
    [Nov 26 18:47:07] NOTICE[23556] manager.c: 127.0.0.1 failed to authenticate as 'admin'

    I've been reading about the "password" I must configure on the files above, but they use an "exec" line recovering my configured password.

    I'm really lost on this one. I could use some help.

    Thank you very much for reading.

    Regards

    Joe

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

      Hi Joe,

      Elastix saves the ami password escaping some characters and breaking the authentication when those characters are used in the password itself. The solution is to modify fop2.cfg and enter the password manually

      remove the line

      #exec amipasswd.sh

      and change it to

      manager_secret=your_password

      If you do not know the ami password, you can check it out in /etc/elastix.conf

      Best regards,

      1 Reply Last reply
      0
      • J
        J
        joebeach
        wrote on last edited by
        #3

        Nicolás,

        It worked perfectly!

        Thank you.

        Joe

        1 Reply Last reply
        0
        • J
          J
          jrecho
          wrote on last edited by
          #4

          I am having the same problem

          root@as4 js]# /usr/local/fop2/fop2_server --text -c /etc/asterisk/fop2
          perl: warning: Setting locale failed.
          perl: warning: Please check that your locale settings:
          LANGUAGE = (unset),
          LC_ALL = (unset),
          LC_CTYPE = "UTF-8",
          LANG = "fr_FR.UTF-8"
          are supported and installed on your system.
          perl: warning: Falling back to the standard locale ("C").
          Unknown option: text
          Flash Operator Panel 2 - White Label Version.

          Can't listen to port 4445

          can you help please

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

            To test the command is "--test", not "--text"

            If the manager credentials are wrong, the solution is to fix them, I cannot help you much more, it is simple, put the correct credentials and be sure the manager in asterisk is enabled and working.

            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