I shall look into that a bit later
Thanks

but for now for Debian here is a step by step guide of what I’m doing
(This is a fresh install which I am doing right now as I write these steps)

1) Setting up my VM (Xen)
(Fairly sure this shouldn’t affect it in any way?)
Networks: management, external, internal
(using external to download packages)

2) Installing fresh copy of Debian 8.8 (Net installer)
NZ mirror
static IP on internet interface
using googledns (8.8.8.8, 8.8.4.4)
Removing the desktop environment and print server from the install, Keeping 
standard system utils
Installing SSH after initial install

3) adding to /etc/apt/sources.list.d/packetfence.list
“deb http://inverse.ca/downloads/PacketFence/debian jessie jessie”

4) add keys
apt-key adv –keyserver keys.gnupg.net –recv-key 0x810273C4

5) Update and install PF
Apt-get update
Apt-get install packetfence

6a) Setup Fingerbank API
6b) Setup MariaDB root PW
6c) Default Kerberos Realm (Left Blank)
6d) Remove database files when purging graphite-carbon? (No)

Cron Transfer Fails:
curl: (18) transfer closed with 122154665 bytes remaining to read
dpkg: error processing package fingerbank (--configure):
subprocess installed post-installation script returned error exit status 18

(Apt-Get log upto this point: https://pastebin.com/XHfniADW )

7) Fix cron timeout
/var/lib/dpkg/info/fingerbank.postinst
“curl -o $FINGERBANK/db/fingerbank_Upstream.db 
https://fingerbank.inverse.ca/api/v1/download?key=${_APIKEY} –compressed”
Adding compressed to this line allows the file size to be small enough to not 
timeout

8) redownload packetfence
Apt-get install packetfence

Cron passes just fine, then fails at the same point I mentioned in my first 
message
(Apt-get log for second install: https://pastebin.com/qVcYGxLp )

This is where I’m at currently

Thanks
Tom





From: Durand fabrice via PacketFence-users
Sent: Thursday, 13 July 2017 13:05
To: [email protected]
Cc: Durand fabrice
Subject: Re: [PacketFence-users] Installing PacketFence Help?

Hello Thomas,
yes it's possible to do that, just configure snat interface in network config.
This will enable nating on the specific interface but you will need to use the 
router ip as the default gateway on packetfence.
Also i prefer debian as centos (i do the debian packaging) and i did a test for 
7.2 with a debian jessie minimal install and didn't see any issue to install 
packetfence.
Before you start to install on debian be sure that the server is able to reach 
internet and to resolv any fqdn.
Btw give me all the step you did.
Regards
Fabrice


Le 2017-07-12 à 20:50, Thomas via PacketFence-users a écrit :
 
I tried it, but still seem to be having the same issue
I finally bit the bullet and went for CentOS, even though I’m a debian guy.

I got the install to happen with 0 issues, went to go though the configuration 
steps and this is where I am now getting confused.

I want to setup PF as a inline device between my router and my switch

Internet ---- Router ---- PF ---- Network

The way I understand the documentation is to set the connection between the 
router and PF as the management network, and the PF to Network connection as 
the Inline connection

However what id like to do, if possible, is add a third network to PF for the 
management.

Internet --- Router --- PF --- Network
                                            --- Management

So the 3 interfaces I would end up with is Public Internet, Private Lan and 
Management

I hope this makes sense, and when I get some more free time, ill go back to 
playing with debian and see if I can get the installer to work on there as well

Thanks
 
 
From: jrouzier via PacketFence-users
Sent: Thursday, 13 July 2017 02:53
To: [email protected]
Cc: jrouzier
Subject: Re: [PacketFence-users] Installing PacketFence Help?
 
Thomas,
It looks like there is a package missing
Try this and let me know.
apt-get install libclass-xsaccessor-perl
 
On 2017-07-11 6:01 PM, Thomas via PacketFence-users wrote:
Hey team

Im trying to install packetfence on a VM and I keep running into issue after 
issue
I have tried to fix a few of them, but just keep hitting walls.

Can I get some help with installing it on my system.
I am installing it on a XenServer VM, happy to provide specs if required

Here are the steps I have taken 
 
First I installed Debian 8, updated everything and started the install 
instructions from here
https://packetfence.org/doc/PacketFence_Administration_Guide.html
The first problem I kept running into was getting the key from keys.gnupg.net 
(kept timing out)
I fixed this by pinging the server and using the IP that it returned rather 
then the domain
(Although the domain worked fine this last time I did it while writing these 
notes)

The next problem is when downloading what I assume is the FingerBank Database
fingerbank_Upstream.db, always times out with the error 
“curl: (18) transfer closed with 719998577 bytes remaining to read”
I have managed to fix it by going into 
/var/lib/dpkg/info/fingerbank.postinst
and changing the curl command to the following
curl -o $FINGERBANK/db/fingerbank_Upstream.db 
https://fingerbank.inverse.ca/api/v1/download?key=${_APIKEY} --compressed
This allows it to shrink the file enough to download it.
(From aprox 1.5GB to 382MB)
This is where I am upto with Debian 8

first comes a long list of errors similar to this
insserv: warning: current start runlevel(s) (empty) of script `freeradius' 
overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script 
`freeradius' overrides LSB defaults (0 1 6).

Then 
Could not write namespace config::
Could not write namespace interfaces
Quite a few lines of this

Followed by a few lines of
BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/dal/iterator.pm line 
19.
Compilation failed in require at /usr/local/pf/lib/pf/dal.pm line 25.

And finally
Job for packetfence-httpd.admin.service failed.

Full PasteBin Here
https://pastebin.com/ygpJ43nk

I have tried Debian 7 as well, and gotten different errors
(Cant remember which off the top of my head, but I can redo it if you need logs)

And the Virtual Appliance (OVF) file Imports fine into my VM
Then hangs on 
A start job is running for dev-mapp...100.device
I have left it for half an hour which I know is excessive but nothing changed 

I know its a lot going on, and I feel like i’m missing an important step 
causing all these errors during install.
Any help would be appreciated.

Thanks
Tom







------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
 
 



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to