Jori,

Did you get packetfence running on EL7? I just tried running through the
initial install, port 1443 gives error:

{ "status":503, "message":"No server is available to handle this request" }


and syslog throws:
 packetfence: -e(1851) FATAL: unable to connect to database: Access denied
for user 'pf'@'localhost' (using password: YES) at -e line 1.#012
(pf::db::db_connect)

/usr/local/pf/conf/pfconfig.conf
# Copyright (C) Inverse inc.
[general]
backend=mysql

[mysql]
host=localhost
user=pf
pass=packet
db=pf
port=3306
table=keyed

db=pf is listed, but the db doesn't seem to have been created by the
installer:
MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| test               |
+--------------------+
4 rows in set (0.01 sec)

Thanks,
Steve


On Wed, Jul 28, 2021 at 4:40 AM Jori Luoto via PacketFence-users <
packetfence-users@lists.sourceforge.net> wrote:

> Hi Chris,
>
> Thank you for commenting but this answers only partly to my posting.
> Centos 8 part is now clear but still I'm wondering about ZEN image problem
> which still exists (cannot run configurator because configurator cannot
> login to db because of wrong credentials)
>
> After my initial question I already tried to install Centos7 which I used
> to install Packetfence directly from repos but pf service did not start
> properly so I did not succeed to run configurator from 
> https://<server-ip>:1443/
> and also there was same problem with db (wrong credentials for user root
> and pf) I will reinstall Centos7 and give it another try to get testing
> environment up and running...
>
> Regards
> -jori luoto-
> ------------------------------
> *Lähettäjä:* Chris Crawford <chris.crawf...@unb.ca>
> *Lähetetty:* maanantai 26. heinäkuuta 2021 15.03
> *Vastaanottaja:* packetfence-users@lists.sourceforge.net <
> packetfence-users@lists.sourceforge.net>
> *Kopio:* Jori Luoto <j...@luoto.me>
> *Aihe:* RE: CENTOS 8 (stream) installation problem
>
> Looking at the repo:
>
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.packetfence.org%2Fdownloads%2FPacketFence%2FCentOS8%2F&amp;data=04%7C01%7C%7C8912bc84af724d0fd69908d9502d68c5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637628978232423402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hY0wTCnRJ8SVrjBXt0agqe698aQ%2FI1nTqg5EgW85Wpo%3D&amp;reserved=0
>
> Looks like CentOS8 will be supported on PacketFence 11 which is currently
> under development. They're still actively developing it now (
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Finverse-inc%2Fpacketfence%2Fmilestone%2F43&amp;data=04%7C01%7C%7C8912bc84af724d0fd69908d9502d68c5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637628978232423402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QY%2B0EngIprzFJstEFQ%2FOPm95Qdu0P8PzJ8RIHFoXK1o%3D&amp;reserved=0.)
> But I wouldn't use that percentage as a goal for release. They released
> 10.3 with something like 80% complete. And they're still at 96% complete on
> 10.3, and it's been out since April.
>
> Their documentation states that they support RHEL 7.x, CentOS 7.x and
> Debian 9. See section 3.3 in the Installation Documentation:
>
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.packetfence.org%2Fdoc%2FPacketFence_Installation_Guide.html%23_system_requirements&amp;data=04%7C01%7C%7C8912bc84af724d0fd69908d9502d68c5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637628978232423402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=xktCerspAKWhnwz4LGDCnBKjdVgOrSAMkeP4FT2g700%3D&amp;reserved=0
>
> This doesn't answer your question.
>
> Good luck!
>
> -----Original Message-----
> From: Jori Luoto via PacketFence-users <
> packetfence-users@lists.sourceforge.net>
> Sent: Thursday, July 22, 2021 10:30 AM
> To: packetfence-users@lists.sourceforge.net
> Cc: Jori Luoto <j...@luoto.me>
> Subject: [PacketFence-users] CENTOS 8 (stream) installation problem
>
> ?External message: Use caution.
>
> Hi,
>
>
> I have tried to test Packetfence by creating virtual server and using ZEN
> image but reason unknown it seems that PF's initial configurator creates
> wrong credentials to db and configurators "dies" (or starts to tell that
> cannot access db...
>
> Then I tried to install Centos-8 stream to virtual server and install
> packetfence by using yum but manuals tells only RHEL7 installation
> procedure which seems to be outdated.
> I tried to upgrade repo from stable 7 to stable 8 but still there seems to
> be need to to do some serious compiling of ipt_NETFLOW and perl modules
> before system starts up...
>
> Is there any plans to fix OVF image or does somebody have advice how can
> I walk through configurator to create proper testing environment?
>
>
> Regards
> -jori luoto-
>
>
>
> _______________________________________________
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
>
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fpacketfence-users&amp;data=04%7C01%7C%7C8912bc84af724d0fd69908d9502d68c5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637628978232423402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=YT4AtBP63mbY9j5V9U4EwkKg4kY4d1mp281n7l39y2c%3D&amp;reserved=0
> _______________________________________________
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to