# systemctl status packetfence-config.service
● packetfence-config.service - PacketFence Config Service
   Loaded: loaded (/usr/lib/systemd/system/packetfence-config.service;
enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-08-21 15:18:46 UTC; 20min ago
 Main PID: 4761 (pfconfig)
   Status: "Ready"
   CGroup:
/packetfence.slice/packetfence-base.slice/packetfence-config.service
           └─4761 pfconfig

Aug 21 15:18:53 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Caught error DBI
connect('database=pf;host=localhost;port=3306','pf',...) failed: Can't
connect to local MySQL server through socket '/va...mysql.pm line 47.
                                             while connecting to database.
(pfconfig::backend::mysql::_get_db)...
Aug 21 15:18:53 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Couldn't connect to MySQL database to access L2. This is a
major problem ! Check the MySQL section in /usr/local/pf/conf/pfconfig.conf
an...mysql::_db_error)
Aug 21 15:18:53 VMINEDNAC01 pfconfig[4761]: Could not write namespace
config::Stats(VMINEDNAC01) to L2 cache !
Aug 21 15:18:53 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Could not write namespace config::Stats(VMINEDNAC01) to L2
cache ! (pfconfig::manager::cache_resource)
Aug 21 15:18:59 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Caught error DBI
connect('database=pf;host=localhost;port=3306','pf',...) failed: Can't
connect to local MySQL server through socket '/va...mysql.pm line 47.
                                             while connecting to database.
(pfconfig::backend::mysql::_get_db)...
Aug 21 15:18:59 VMINEDNAC01 pfconfig[4761]: Could not write namespace
interfaces::listen_ints(VMINEDNAC01) to L2 cache !
Aug 21 15:18:59 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Couldn't connect to MySQL database to access L2. This is a
major problem ! Check the MySQL section in /usr/local/pf/conf/pfconfig.conf
an...mysql::_db_error)
Aug 21 15:18:59 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Caught error DBI
connect('database=pf;host=localhost;port=3306','pf',...) failed: Can't
connect to local MySQL server through socket '/va...mysql.pm line 47.
                                             while connecting to database.
(pfconfig::backend::mysql::_get_db)...
Aug 21 15:18:59 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Couldn't connect to MySQL database to access L2. This is a
major problem ! Check the MySQL section in /usr/local/pf/conf/pfconfig.conf
an...mysql::_db_error)
Aug 21 15:18:59 VMINEDNAC01 pfconfig[4761]: pfconfig(4761) ERROR:
[mac:[undef]] Could not write namespace
interfaces::listen_ints(VMINEDNAC01) to L2 cache !
(pfconfig::manager::cache_resource)
Hint: Some lines were ellipsized, use -l to show in full

A quarta, 21/08/2019, 16:34, Domingos Varela <[email protected]>
escreveu:

> Hi Nicolas,
>
> I managed to do it differently, downloaded the rpm file added to the
> server via ftp and then installed it from the folder.
>
> After the percona installation completed, during the cluster setup
> process, the mariadb service stopped working, both servers no longer opened
> the web page.
>
> # systemctl status packetfence-mariadb.service
> ● packetfence-mariadb.service - PacketFence MariaDB instance
>    Loaded: loaded (/usr/lib/systemd/system/packetfence-mariadb.service;
> enabled; vendor preset: disabled)
>    Active: failed (Result: start-limit) since Wed 2019-08-21 15:25:31 UTC;
> 7s ago
>   Process: 6306 ExecStartPre=/usr/local/pf/bin/pfcmd generatemariadbconfig
> (code=exited, status=203/EXEC)
>
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: packetfence-mariadb.service:
> control process exited, code=exited status=203
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: Failed to start PacketFence
> MariaDB instance.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: Unit packetfence-mariadb.service
> entered failed state.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: packetfence-mariadb.service failed.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: packetfence-mariadb.service
> holdoff time over, scheduling restart.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: Stopped PacketFence MariaDB
> instance.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: start request repeated too quickly
> for packetfence-mariadb.service
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: Failed to start PacketFence
> MariaDB instance.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: Unit packetfence-mariadb.service
> entered failed state.
> Aug 21 15:25:31 VMINEDNAC01 systemd[1]: packetfence-mariadb.service failed.
>
>
>
>
> A quarta, 21/08/2019, 12:18, Nicolas Quiniou-Briand <[email protected]>
> escreveu:
>
>> On 2019-08-20 4:49 p.m., Domingos Varela wrote:
>> > I think if it were a network problem, it would be general and not just
>> > for him.
>>
>> What I can tell you is you're not able to reach www.percona.com using
>> yum from your VM.
>>
>> Try to get RPM file with other tool like wget or curl to see if it's
>> better.
>>
>> Try to get index.html on www.percona.com to see if you can reach this
>> website.
>> --
>> Nicolas Quiniou-Briand
>> [email protected]  ::  +1.514.447.4918 *140  ::  https://inverse.ca
>> Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence
>> (https://packetfence.org) and Fingerbank (http://fingerbank.org)
>>
>
> A quarta, 21/08/2019, 12:18, Nicolas Quiniou-Briand <[email protected]>
> escreveu:
>
>> On 2019-08-20 4:49 p.m., Domingos Varela wrote:
>> > I think if it were a network problem, it would be general and not just
>> > for him.
>>
>> What I can tell you is you're not able to reach www.percona.com using
>> yum from your VM.
>>
>> Try to get RPM file with other tool like wget or curl to see if it's
>> better.
>>
>> Try to get index.html on www.percona.com to see if you can reach this
>> website.
>> --
>> Nicolas Quiniou-Briand
>> [email protected]  ::  +1.514.447.4918 *140  ::  https://inverse.ca
>> Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence
>> (https://packetfence.org) and Fingerbank (http://fingerbank.org)
>>
>
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to