Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
[SOLVED] Fatal error after installing HAproxy
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Fatal error after installing HAproxy (Read 8015 times)
Htillberg
Newbie
Posts: 6
Karma: 1
[SOLVED] Fatal error after installing HAproxy
«
on:
January 21, 2017, 06:47:46 pm »
Hi
First install ever of Opnsense and after trying to add HAproxy I end up with a fatal error.
1. download latest 16.7
2. installed on VMware workstation 12.1.0 pro no problem so far
3. configured IP address on LAN and DHCP on WAN interface
4. logging in to web interface and run wizard still no problem
5. adding HAproxy and the installer starts but after a min admin interface hangs
6. trying to reload and get Fatal error: Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
I get the same fatal error message in the CLI and after reboot the vm it won't start anything with Opnsense.
Additional info
VM 20GB hdd/4GB ram/4 cores
Host system Windows 8.1 18GB I7
Edit: I noticed the hdd requirement in the get started section i will try to add 120GB and see if that is the problem
«
Last Edit: January 26, 2017, 11:50:27 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Fatal error after installing HAproxy
«
Reply #1 on:
January 21, 2017, 07:02:33 pm »
This isn't good. It looks like a package install went wrong... Can you run this from the console and reboot?
# opnsense-update -f
# /usr/local/etc/rc.reboot
It will reinstall the full system, but leave your settings intact.
Cheers,
Franco
Logged
Htillberg
Newbie
Posts: 6
Karma: 1
Re: Fatal error after installing HAproxy
«
Reply #2 on:
January 21, 2017, 07:48:09 pm »
Hi Franco
Thanks for a quick reply, I just need to configure network properties it seems to run just a blank FreeBSD after the fatal error. I will get back as soon as I can.
«
Last Edit: January 22, 2017, 01:50:25 pm by Htillberg
»
Logged
Htillberg
Newbie
Posts: 6
Karma: 1
Re: Fatal error after installing HAproxy
«
Reply #3 on:
January 21, 2017, 09:03:53 pm »
Update:
After reinstalling and added 120GB hdd instead of 20GB it seems to work better.
HAproxy is installed but when navigating away from plugins i get "Script:
http://192.168.1.193/ui/js/jquery-1.12.0.min.js:2
not responding" ofcorse you can stop or wait for it, all done with Firefox.
I have a general question is it always this CPU heavy it hoggs 84% constantly of my Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz (4 cores).
After 10min of navigating the admin interface I have not had any more issue with script warnings.
Update2:
From nowhere when trying to access
http://192.168.1.193/vpn_ipsec.php
to look at VPN fetures i get Fatal error: Class 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
If I try to restart web interface (option 11) I get same error from CLI
Impossible to restart with option 6 but shell works and reboot can be done from shell. After reboot i'm back to my previous state with a total broken Opnsense
«
Last Edit: January 21, 2017, 09:26:35 pm by Htillberg
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Fatal error after installing HAproxy
«
Reply #4 on:
January 21, 2017, 09:50:11 pm »
This doesn't happen normally. I don't know how much HAProxy does in this. Is it the fatal trigger? How long does your install work? What is configured right before it goes south?
Logged
Htillberg
Newbie
Posts: 6
Karma: 1
Re: Fatal error after installing HAproxy
«
Reply #5 on:
January 21, 2017, 10:01:33 pm »
I would say after HAproxy let me have a try to reinstall and leave HAproxy out of the ekvation.
Logged
Htillberg
Newbie
Posts: 6
Karma: 1
Re: Fatal error after installing HAproxy
«
Reply #6 on:
January 21, 2017, 10:48:20 pm »
Ok this is what I found so far.
When I use Firefox and go to check for updates I get this:
There is a mandatory update for the package manager available. Please install and fetch updates again.
pkg 1.8.7 1.9.3_3
And when I try to install i get this script error
http://192.168.1.193/ui/js/jquery-1.12.0.min.js:2
not responding
But if I use Chrome I can update 96 files:
There are 96 updates available, total download size is 70MiB. This update requires a reboot.
No crash so far and no HAproxy installed so far.
Logged
Htillberg
Newbie
Posts: 6
Karma: 1
Re: Fatal error after installing HAproxy
«
Reply #7 on:
January 22, 2017, 12:54:49 pm »
Final update.
After applying all updates using Chrome I could finally install HAproxy and so far no issue with anything.
The developer should take a look at the behavior of Firefox and Opnsense.
Thanks to Franco for your response and feedback.
«
Last Edit: January 22, 2017, 01:50:04 pm by Htillberg
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
[SOLVED] Fatal error after installing HAproxy