OPNsense Forum

English Forums => General Discussion => Topic started by: justasking on May 21, 2017, 08:06:15 am

Title: [SOLVED] Fatal Error in Opnsense
Post by: justasking on May 21, 2017, 08:06:15 am
Good day!

I'm experiencing these problems today. Please help.

Failed loading /usr/local/lib/php/20151012/opcache.so: Cannot find "/usr/local/lib/php/20151012/opcache.so"

Fatal error: Clss 'Phalcon\DI\FactoryDefault' not found in /usr/local/opnsense/mvc/script/load_phalcon.php on line 32
Title: Re: Fatal Error in Opnsense
Post by: franco on May 22, 2017, 07:31:56 am
Hi there,

We're not using opcache and we don't even build it. Did you install it manually? If so, how?


Cheers,
Franco
Title: Re: Fatal Error in Opnsense
Post by: justasking on May 23, 2017, 05:16:27 am
What do you mean install it manually? I tried restarting the server but it directs me to shell. I tried to exit the shell but there were no console setups.

Anyways, I tried to re-install it it's working fine now. But I'm still curious.
Title: Re: Fatal Error in Opnsense
Post by: franco on May 23, 2017, 09:24:43 am
Hi there,

I don't know about your setup, but somehow you ended up with a PHP module called opcache, which was never there and couldn't have gotten there automatically, so it naturally fails...

How/what did you install in the first place?


Thanks,
Franco
Title: Re: Fatal Error in Opnsense
Post by: justasking on May 24, 2017, 01:13:27 am
Hi there,

I don't know about your setup, but somehow you ended up with a PHP module called opcache, which was never there and couldn't have gotten there automatically, so it naturally fails...

How/what did you install in the first place?


Thanks,
Franco

Downloaded the ISO and installed. It worked for how many minutes but when I restarted, I encountered the error. Anyways, all is working now. I just re-installed opnsense.