Hi Szél,

Just to make sure:

after having done all the below, you DID also go through the configurator?

Because that will configure the database access, credentials, etc, etc?

https://@ip_of_packetfence:1443/configurator

MJ

On 21-10-2019 18:12, Szél Gábor via PacketFence-users wrote:
Hi MJ,

we tried again with clean install, the next steps:

- VM on Proxmox (KVM, 8 core, 16Gb RAM, 3 disk for VM)
- boot from curren debian 9 netinstall ISO
- one network interface, static IP address
- use deutschland debian APT mirrors (but prev. installs I used Hungarian mirrors)
- seperated mount points for /, /var, /usr (20G, 30G, 20G), ext4 FS
- with installer tools install "standard system utilities" and SSH server, no other
- debian installer finish, reboot
- apt-get install dirmngr (it has been installed previous installations!)
- add inverse, repository, keys and apt update|upgrade
- last step, apt-get install packetfence
- waiting ... :)
- after ~10 minutes, apt "finished", but packetfence packate installation is broken.

I have no idea, this is very simple task, I don't understand the mistakes.

I'll attach some logs:
- installer console log - https://megosztasom.hu/s/ZRbq7TgyMeDFaz2
- syslog - https://megosztasom.hu/s/cWM6rPbMGRWGMKm
- packetfence.log - https://megosztasom.hu/s/Q2sj6nAxAp58KzS


When you look at the logs, you see myssql error.
I think this is a main problem, the packetfence package installer not setting mysql.
No database, no user, nothing.

--
Üdvözlettel,
Szél Gábor

WanTax Kft.
------------
tel.: +36 20 3838 171
fax: +36 82 357 585
email:[email protected]
web:http://wantax.hu
web:http://halozatom.hu


2019. 10. 21. 13:45 keltezéssel, lists via PacketFence-users írta:
Hi Szél Gábor,

Just for the record: just did a 9.1 test install, using fresh minimal debian 9, and the instructions on https://packetfence.org/support/faq/how-to-install-packetfence-on-debian.html

Instructions are missing a step:
> apt-get install dirmngr

During the install, there were many errors like:
Could not write namespace resource::all_cluster_hosts() to L2 cache !
Could not write namespace resource::all_cluster_servers() to L2 cache !
.....
Could not write namespace interfaces::management_network() to L2 cache !

But everything installed fine, and the configurator was listening.

Step 2, Networks:
This was the usual frustrating experience, with interfaces often loosing their configured type & configuration, after edits in another interface, so you are forced to keep making the same edits, before being able to click next. But it basically does work.

Step 3, Database:
- click test, and were offered to set a mysql root password
- provided *again* the root password, and it created the pf database
- also the user pf was created successfully

The rest was just next, next, and everything worked perfectly.

So your problem is something specific to what you are doing, and the procedure works fine. Only complaint, being: it would be nice if the network configuration step would behave a bit more consistantly...

MJ

On 18-10-2019 21:39, Szél Gábor via PacketFence-users wrote:
I think this is a normal way.
But, I dont know what is wrong on my install.
We dont install any package, only default clean install. We dont make any settings. After debian clean installation we add packetfence APT repo, and a try to install packetfence with apt.

I think current packetfence debian package is broken :(

I was trying to find an older packetfence debian package, but I couldn't find it.



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





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



_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
  • [PacketFenc... Szél Gábor via PacketFence-users
    • Re: [P... Szél Gábor via PacketFence-users
      • Re... lists via PacketFence-users
        • ... Szél Gábor via PacketFence-users
          • ... lists via PacketFence-users
            • ... Szél Gábor via PacketFence-users
              • ... mj via PacketFence-users
                • ... Szél Gábor via PacketFence-users
        • ... Birner, Sebastian (StBA Amberg-Sulzbach) via PacketFence-users

Reply via email to