User "user": authentication failure for "/admin": Password Mismatch and slow login

I’m running FreePBX 2.7.0.10 and Asterisk 1.6.2.17.2 on Centos 5.6 on two servers, a primary and a secondary. We had a company setup these Asterisk servers for us, and I’m new to Asterisk. These servers have been up and running now without problem for about two months. Everthing was fine until yesterday when someone complained about how long it took to receive an inbound fax. When I tried to login to the primary box, it took more than 5 minutes for the home page to come up after I typed in the user credentials. I haven’t experienced this issue before since the server has been running. I’ve since rebooted the server to see if that would help, but the problem continues. I’ve checked the cpu utilization on this server, and that’s definitely not the issue. Also once I’m in the web gui, under server status, it says web server error. A tail of /var/log/httpd/error_log shows: [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined index: display in /var/www/html/admin/modules/fax/functions.inc.php on line 99, referer: http://xxx.xxx.xxx.xxx/admin/reports.php. Any ideas here?

As to the secondary server, I can’t login to the web interface. The password that I’ve been using since the servers were delivered to us all of a sudden doesn’t work. I did a tail of /var/log/httpd/error_log, and I saw this: [error] [client xxx.xxx.xxx.xxx] user maint: authentication failure for “/admin”: Password Mismatch, referer: http://xxx.xxx.xxx.xxx/menu.php?id=admin. Any ideas?

Thanks

Is this server connected to Internet? Is there a firewall between the server(s) and Internet?

Yes, there is a firewall between these servers and the internet.

The “Undefined index” are just cosmetic errors, does not affect your system. It must be something else slowing down the server.

If you can access mysql on the second server you can check the username/password used in freepbx by typing this in a mysql CLI: select * from asterisk.ampusers;
Compare those entries on both servers.

After using your mysql command I determined that indeed the password and username is the same on both servers. Where does freepbx store its password information? The reason I ask is because the username that I use to login to the freepbx web interface wasn’t listed in the results of the mysql command that you had me enter, on either server. So there must be an additional location where freepbx is storing this info.