Hi,

pf is used to connect to the MySQL database.

You need to change the password on the database to match the one in the config 
(in pf.conf I think).

I had to do the same when I installed it.

Cheers,

Mark

On 22 Feb 2011, at 03:24, "Ming Tao Ling" <[email protected]> wrote:

> I am trying to install and configure PacketFence on a CentOS 5.5
> Following the Admin Guide, I imported the DAG and PacketFence repositories. 
> Groupinstalled the PacketFence package and all the dependencies. Ran the 
> installer.pl, and configurator.pl, my LAN is pretty simple, no VLAN, so I 
> chose the 5th template of ARP mode, After configurator.pl, I started the 
> mysqld service, then started packetfence service, then following messages 
> showed
> <code>Starting PacketFence...Checking configuration sanity...
> Uncaught exception from user code:
>         unable to connect to database: Access denied for user 
> 'pf'@'localhost' (using password: YES) at /usr/local/pf/lib/pf/person.pm line 
> 52
>  at /usr/local/pf/lib/pf/db.pm line 104
>         pf::db::db_connect() called at /usr/local/pf/lib/pf/db.pm line 127
>         pf::db::get_db_handle() called at /usr/local/pf/lib/pf/person.pm line 
> 52
>         pf::person::person_db_prepare() called at /usr/local/pf/lib/pf/db.pm 
> line 224
>         pf::db::db_query_execute('person', 'HASH(0x98f74d8)', 
> 'person_exist_sql', 1) called at /usr/local/pf/lib/pf/person.pm line 79
>         pf::person::person_exist(1) called at /usr/local/pf/bin/pfcmd line 
> 2593
>         main::sanity_check('pfdhcplistener', 'pfmon', 'pfdetect', 'httpd', 
> 'snort') called at /usr/local/pf/bin/pfcmd line 1252
>         main::service() called at /usr/local/pf/bin/pfcmd line 189
>         main::__ANON__() called at /usr/local/pf/bin/pfcmd line 205
> 
> </code>
> 
> The admin guide focuses on VLAN configuration. Is there any ARP mode 
> configuration guide available.
> Thanks.
> ------------------------------------------------------------------------------
> Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
> Collect, index and harness all the fast moving IT data generated by your 
> applications, servers and devices whether physical, virtual or in the cloud.
> Deliver compliance at lower cost and gain new business insights. 
> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to