Can not login
Here is my config
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
[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
look this thread: View Post 9
hope i could help you.
tobi
[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.
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 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.