Hello Rob,

Try to empty the /usr/local/pf/conf/pf.conf then reload the config with:

/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
systemctl restart packetfence-config
/usr/local/pf/bin/pfcmd configreload hard
/usr/local/pf/bin/pfcmd service pf restart

https://github.com/inverse-inc/packetfence/blob/devel/docs/common/restart.asciidoc

Thanks,

Ludovic Zammit
Product Support Engineer Principal

Cell: +1.613.670.8432
Akamai Technologies - Inverse
145 Broadway
Cambridge, MA 02142
Connect with Us:         <https://community.akamai.com/>  
<http://blogs.akamai.com/>  <https://twitter.com/akamai>  
<http://www.facebook.com/AkamaiTechnologies>  
<http://www.linkedin.com/company/akamai-technologies>  
<http://www.youtube.com/user/akamaitechnologies?feature=results_main>

> On Jun 29, 2022, at 8:01 AM, Rob Kenny via PacketFence-users 
> <packetfence-users@lists.sourceforge.net> wrote:
> 
> Hi All,
> 
> Having an issue with installing Packetfence from the debian ISO, I've got the 
> install working and both Debian and Packetfence have fully installed. 
> According to the installation guide here:
> 
> https://www.packetfence.org/doc/PacketFence_Installation_Guide.html 
> <https://www.packetfence.org/doc/PacketFence_Installation_Guide.html>
> 
> The packetfence service should just start and I should be able to use the web 
> configurator to complete the setup
> 
> Unfortunately, the service fails to start citing the following:
> FATAL - please define exactly one management interface
> WARNING - internal network(S) not defined!
> FATAL - Unable to connect to your database. Please verify your connection 
> setting in conf/pf.conf and make sure that it is started
> WARNING - networks.conf is empty but services.dhcpd is enabled. Disable it to 
> remove this warning
> FATAL - Cannot connect to database to check schema version: unable to connect 
> to database: Access denied for user 'pf'@'localhost at 
> /usr/local/pf/lib/pf/dal.pm 
> <https://urldefense.com/v3/__http://dal.pm/__;!!GjvTz_vk!RLy0mRk0Fe3MbILV3m5fWmQ9RpIflNrIzPYcUsawGqLU664IvtISJ7uxOcrzH-fWCxY0ww6W-3BkLpTHVIbfNSz2CyH6iwjS0ccMSA$>
>  line 70.
> WARNING - Cannot detect apache SSL configuration. Not validating the 
> certificates
> 
> I'm more than happy to be told I'm oblivious to the obvious issue, however 
> I'm rather stuck with this one.
> 
> I've tried populating the networks.conf with some bits I found online but to 
> no avail.
> 
> Also tried running a few other commands I found, but a lot of the possible 
> fixes were from around 5-10 years ago.
> 
> Any guidance is appreciated
> --
> Thanks,
> 
> Rob.
> 
> Hoe Valley School (the School) is a charitable company limited by guarantee. 
> It is registered in England and Wales with company number 8833418 at Hoe 
> Valley School, Egley Road, Woking, Surrey, UK, GU22 0NH.  
> The information in this e-mail is confidential and may be legally privileged. 
> It is intended solely for the addressee. Access to this email by anyone else 
> is unauthorised.  
> Any views or opinions expressed in this e-mail may be solely those of the 
> author and are not necessarily those of the School. The School does not, as a 
> rule, enter into or modify contracts on behalf of the School by means of 
> email communications.  Accordingly you cannot rely on any purported contract 
> entered by email unless explicitly confirmed in an e-mail sent by a 
> representative duly authorised to enter contracts on behalf of the School.  
> The School reserves the right to monitor and intercept emails sent and 
> received on our network._______________________________________________
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/packetfence-users__;!!GjvTz_vk!RLy0mRk0Fe3MbILV3m5fWmQ9RpIflNrIzPYcUsawGqLU664IvtISJ7uxOcrzH-fWCxY0ww6W-3BkLpTHVIbfNSz2CyH6iwiluhuDng$
>  

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to