Can't open FreePBX management page

Problem description:
After successful installation of PIAF 1.4, can’t connect to configure the FreePBX page (Asterisk Management) through web.

What have been done:

  1. Installed PiAF 1.4 successfully in a PII (400MHz), 512 MB RAM, 30 GB HDD box
  2. Ran “update-scripts” to update/add the scripts
  3. Ran “netconfig” to set the static IP address (192.168.0.105) and other network parameters
  4. Rebooted the machine, PiAF started without any error
  5. Logged as “root” on the CLI and verified the connectivity by pinging google
  6. Connected the box from another home computer (through firefox, http://192.168.0.105)
  7. Web page opened at 192.168.0,.105

What problem encountered:

  1. After connected through web browser, the user mode was switched to “Admin”, clicked on the “Asterisk Mgmt” icon to open the administration page of the FreePBX
  2. Asked for user ID and password, entered admin/admin (default value as in the document)
  3. Can’t connect, tried root (as set during Centos installation) and its password, can’t connect
  4. Opened Webmin page as root, it logs into the Webmin page (I know this is Centos admin page)
  5. Tried back again for logging to FreePBX page, can’t connect and after few trial browser drops the connection to the box telling “time out error”
  6. To reconnect through web, I had to reboot the PBX box again

Please help to resolve the issue.

from the command line type “help-pbx” to see all the PIAF utilities. i think there is one call passwd-master that will allow you to reset all the freePBX passwords you need, including the admin password to the freePBX admin page

“…i think there is one call passwd-master that will allow you to reset all the freePBX passwords you need, including the admin password to the freePBX admin page”

I did, but no luck yet.

It could be that fail2ban has banned you if you’ve failed 3 times at logging in. In /etc/fail2ban/jail.conf, add your local network or PC’s IP address to the ignoreip list and uncomment it (that line is normally commented out in the default install).

Once that is done, from the Linux command prompt (ssh in using putty), type update-scripts, update-fixes and then passwd-master to update all passwords.

Everything I did as suggested by Eugene, but no LIGHT yet at the tunnel :frowning:

What I am convinced now, there is something “mysteriously hidden” in the FreePBX Administration, which I need to master as a new user. This is probably the SINGLE most hurdle every new user is facing !

Anyway, as I need your help to setup FreePBX, here are snippets from relevant .conf and log files:

[[Snippets from /etc/amportal.conf, where 192.168.0.105 is the PBX server]]

AMPMGRUSER: the user to access the Asterisk manager interface

AMPMGRUSER=admin

AMPMGRPASS: the password for AMPMGRUSER

AMPMGRPASS=admin

AMPWEBADDRESS: the IP address or host name used to access the AMP web admin

AMPWEBADDRESS=192.168.0.105

AUTHTYPE: authentication type to use for web admin

If type set to ‘database’, the primary AMP admin credentials will be the AMPDBUSER/AMPDBPASS above

valid: none, database

AUTHTYPE=database

#Piaf specific section
AMPDBUSER=admin
AMPDBPASS=admin
AMPDBNAME=asterisk
ASTETCDIR=/etc/asterisk
ASTMODDIR=/usr/lib/asterisk/modules
ASTVARLIBDIR=/var/lib/asterisk
ASTAGIDIR=/var/lib/asterisk/agi-bin
ASTSPOOLDIR=/var/spool/asterisk
ASTRUNDIR=/var/run/asterisk
ASTLOGDIR=/var/log/asterisk
AMPDISABLELOG=true

[[Snippets from /etc/pbx/httpd/pbx.conf]]
#Password proctect /var/www/html/admin
[Directory /var/www/html/admin]
AuthType Basic
AuthName "Restricted Admin Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user wwwadmin maint
[/Directory]

[[Snippets from /etc/httpd/logs/error_log, where 192.168.0.105 is the PBX server and 192.168.0.100 is the browsing client]]

[Sun Mar 14 20:48:49 2010] [error] [client 192.168.0.105] script not found or unable to stat: /var/www/cgi-bin/awstats.pl
[Sun Mar 14 20:49:04 2010] [error] [client 192.168.0.100] user admin not found: /admin, referer: http://192.168.0.105/menu.php?id=admin
[Sun Mar 14 20:49:19 2010] [error] [client 192.168.0.100] user admin not found: /admin, referer: http://192.168.0.105/menu.php?id=admin
[Sun Mar 14 20:49:22 2010] [error] [client 192.168.0.105] script not found or unable to stat: /var/www/cgi-bin/awstats.pl
[Sun Mar 14 20:50:11 2010] [error] [client 192.168.0.105] script not found or unable to stat: /var/www/cgi-bin/awstats.pl
[Sun Mar 14 20:50:25 2010] [error] [client 192.168.0.100] user admin not found: /panel, referer: http://192.168.0.105/menu.php?id=panel
[Sun Mar 14 21:21:59 2010] [error] [client 192.168.0.105] script not found or unable to stat: /var/www/cgi-bin/awstats.pl
[Sun Mar 14 21:22:16 2010] [error] [client 192.168.0.100] user admin not found: /admin, referer: http://192.168.0.105/menu.php?id=admin
[Sun Mar 14 21:22:23 2010] [error] [client 192.168.0.100] user admin not found: /admin, referer: http://192.168.0.105/menu.php?id=admin
[Sun Mar 14 21:22:26 2010] [error] [client 192.168.0.105] script not found or unable to stat: /var/www/cgi-bin/awstats.pl

I think you are confusing the piaf maintain page with FreePBX. Iirc, the username for piaf is maint. To logon to FreePBX directly, try accessing you server at http://my ip/admin. That should give you direct access to FreePBX.

Sorry for confusion and here is the clarification…

  1. I can open the PIAF portal (as shown in the following link)
    http://picasaweb.google.com/akarui.tomodachi/FreePBX#slideshow/5448880533959518514

  2. After switching to “Admin” mode (from user), I can access to “Linux Webmin” and “Menu Configuration” (as indicated in GREEN at the above link’s image)

  3. My problem is for accessing “FreePBX Administration” (as indicated in RED at the above link’s image), where a login dialog box asks me Uid/password, but no Uid/password is working.

2.1) I have tried admin/admin which was default
2.2) I have changed password by “passwd-master”, didn’t work
2.3) I have tried by AUTHTYPE=none and database, nothing worked…

  1. Last night, I even reinstalled PBX from scratch and having same problem

Please help…

Did you try user maint?

The default usernames after doing a password-master (or password-master16) for PiaF FreePBX interface are maint and wwwadmin with the password that you set.

You should be talking on the PiaF forum as the users there are way more familiar with PiaF then the FreePBX forum.

The problem is fixed after using user “maint”.
Thanks for correcting my mistake. I was using user “admin” after following the book Piaf Without Tears (page:26 of http://dumbme.mbit.com.au/piaf/piaf_without_tears.pdf).

Thanks all for a great help !

Glad I was able to be of help!

I thought I was reading my own posts that I wanted to make when I saw yours! We had nearly the same problem and your fix was mine too!Thanks!

I was in the same situation as tadpole… Thank you so much Moshe!

I am having the same issue but i know the user name is maint and i still can not access the admin page to add a queue grp this is really frustrating any other things i can try to maybe get access so i can make this queue grp without having to complete reload PIAF

FreePBX is one part of an Open Source phone system. Asterisk and all of the backend services (MySQL, httpd, PHP etc) are the basics of a distro.

FreePBX has our own distro, but should not be confused with the actual FreePBX software.

PBXIAF is another distro that includes Astersk and FreePBX.

An offtopic question, but what exactly is pbx in a flash?
Visited the site but all I see is freepbx with a few little options?