Hello Guillaume
Adjust or add these fields in your pf.conf file ... :
[database]
pass=my_password
db=pf
user=pf
port=3306
host=localhost
Regards,
M-A
Le 11-03-02 03:20, Stagiaire DSTI a écrit :
>
> Hi,
>
> I’m a french student and I’m doing an internship into a company. For
> my project, I have to use PacketFence so I installed it.
>
> I have a problem when I want to start the Packetfence service and I
> don’t know yet how to solve it:
>
> [root@v-packetfence ~]# service packetfence start
>
> 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(0x8d31b20)',
> '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('named', 'pfdhcplistener', 'pfmon', 'pfdetect',
> 'httpd', 'snmptrapd', 'pfsetvlan', '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
>
> Could you help me please ?
>
> Thanks
>
> Guillaume SCHOOR
>
> /Stagiaire/
>
> *La Région Lorraine*
>
> *Pôle des Nouvelles Technologies*
>
>
> ------------------------------------------------------------------------------
> Free Software Download: 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. http://p.sf.net/sfu/splunk-dev2dev
>
>
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Marc-Andre Jutras, Project manager - Inverse inc.
[email protected] :: +1.514.447.4918 (x110) :: http://www.inverse.ca
Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
------------------------------------------------------------------------------
Free Software Download: 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. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users