Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
OPNsense not booting anymore (during basic config setup) memory allocation
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNsense not booting anymore (during basic config setup) memory allocation (Read 3736 times)
marcelmah
Jr. Member
Posts: 61
Karma: 3
OPNsense not booting anymore (during basic config setup) memory allocation
«
on:
November 19, 2020, 11:59:24 am »
Hi,
I'm setting up a new OPNsense firewall based on a PC Engines APU4D4.
I started yesterday and this morning when I tried to login it was dead.
I restarted the device via power cable unplug and it never came back so I connected the serial console and it was empty, rebooted again via power cable and I noticed it booting.
It eventually hangs on:
Creating wireless clone interfaces...done.
Configuring LAN interface...done.
Configuring WAN interface...done.
Creating IPsec VTI instances...done.
Generating /etc/resolv.conf...done.
Configuring firewall...
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/BaseField.php on line 305
Enter full pathname of shell or RETURN for /bin/sh:
I tried multiple reboots, it always hangs on this.
Haven't done anything special yet (I think). It's not even in production (lucky me).
Any thoughts on this?
Logged
marcelmah
Jr. Member
Posts: 61
Karma: 3
Re: OPNsense not booting anymore (during basic config setup) memory allocation
«
Reply #1 on:
November 27, 2020, 11:34:04 am »
Hi,
I edited this file: vi /usr/local/opnsense/service/templates/OPNsense/WebGui/php.ini
To increase the memory, first to 1024 MB, but I got the same error, only the value was twice as high, I then edited it again to 2048 MB. Now it fails with the message: Configuring firewall.... killed.
So something in the firewall (config, which is almost default) is causing this.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
OPNsense not booting anymore (during basic config setup) memory allocation