Can not login

Here is my config
[general]
; AMI definitions
manager_host=localhost
manager_port=5038
manager_user=fop2
manager_secret=test
;event_mask=call,agent

; Daemon definitios
;listen_port      = 4445
;restrict_host    = www.asternic.org
;web_dir          = /var/www/html/operator/fop2

; Global Config
language           = en
poll_interval      = 86400
poll_voicemail     = 1
;monitor_ipaddress  = 0

master_key = 12345678


; USER LIST
;user=1260:1234:all
;user=621:1234:all
;user=622:1234:all
;user=623:1234all
;buttonfile=buttons.cfg

#exec autoconfig-users-freepbx.sh

I try logging in via web, with user 1260 and password of 1234, and it always comes back saying "could not connect to server"

fop2_server --test
Flash Operator Panel 2 - No valid license found. Demo Mode
Connection to manager OK!

I am trying to login with a ext and voicemail password
Here is the output of autoconfig-users-freepbx.sh
user=1260:1234:all
user=1262:1234:all
user=1261:1234:all
buttonfile=autobuttons.cfg

I am running /etc/init.d/fop2 start and it comes back OK
and a ps ax | grep fop2 shows /usr/local/fop2/fop2_server -d running

Any ways to debug?

Thankss

Comments

  • do you use firefox or an other browser without the newest flash-plugin?

    look this thread: View Post 9

    hope i could help you.

    tobi
  • I have flash installed and it works fine on other sites. I have also tried it in IE inside Virtual Box, with the same result.
  • I am getting this in the /var/log/httpd/error_log:

    [Sat Jul 11 18:39:54 2009] [error] [client 65.185.182.35] File does not exist: /var/www/html/fop2/css/fluid/css, referer: http://test.support.net/fop2/
    [Sat Jul 11 18:39:55 2009] [error] [client 65.185.182.35] File does not exist: /var/www/html/fop2/js/dragdrop.js, referer: http://test.support.net/fop2/
    [Sat Jul 11 18:39:55 2009] [error] [client 65.185.182.35] File does not exist: /var/www/html/fop2/js/controls.js, referer: http://test.support.net/fop2/
    [Sat Jul 11 18:39:55 2009] [error] [client 65.185.182.35] File does not exist: /var/www/html/fop2/js/slider.js, referer: http://test.support.net/fop2/
    [Sat Jul 11 18:39:55 2009] [error] [client 65.185.182.35] File does not exist: /var/www/html/fop2/js/sound.js, referer: http://test.support.net/fop2/
    [Sat Jul 11 18:40:00 2009] [error] [client 65.185.182.35] File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt, referer: http://test.support.net/fop2/

    These files do not exist in the directory either. I downloaded the tar again and checked and those are not in the tar file either.
  • Do not worry about the apache error log. It has nothing to do with the authentication issues you are having. Are you running FOP 1? If so, did you change FOP 1 listen port?

    The fop2.cfg you posted here is incomplete, it is more important the last part for the button and user configuration... not so the manager credentials (You can for example login to FOP2 although the manager credentials are incorrect).

    Maybe your fop2.cfg file is missing the #exec line that runs the auto configuration for freepbx. Maybe the script does not have execute permissions... or maybe port 4445 is blocked.

    Try to catch me online in the live chat on monday, I might be able to help you out debugging it.

    Best regards,
  • I am running FOP1, but I changed it to port 4446

    I posted the entire fop2.cfg, and I also checked the fop2.cfg file from the tar file, and it had the exact same info. If you scroll down in the code the line #exec autoconfig-users-freepbx.sh is there. The scripts have execute permissions for everyone, and I can also run them from a prompt.
  • Are you trying to login with an extension and their voicemail password? If you still cannot login try to catch me on the live chat. est regards,
Sign In or Register to comment.