PfSense moved to new box, snort / NUT now gives error



  • If I try and install NUT, it succeeds now (wow), but if I try and go and configure it I get this error:

    Warning: main(guiconfig.inc) [function.main]: failed to open stream: No such file or directory in /usr/local/www/pfswww/packages/config/nut/status_nut.php on line 31

    Fatal error: main() [function.require]: Failed opening required 'guiconfig.inc' (include_path='.:/usr/local/share/pear') in /usr/local/www/pfswww/packages/config/nut/status_nut.php on line 31

    The new hardware is a VIA Mini-ITX ML C3 800 Mhz with 1 GB ram.

    Snort's settings page shows ok, but if I go to Update rules, Categories or Rules I get:
    Warning: main(guiconfig.inc) [function.main]: failed to open stream: No such file or directory in /usr/local/www/pfswww/packages/config/snort/snort_download_rules.php on line 34

    Fatal error: main() [function.require]: Failed opening required 'guiconfig.inc' (include_path='.:/usr/local/share/pear') in /usr/local/www/pfswww/packages/config/snort/snort_download_rules.php on line 34

    IMSpector shows:
    Warning: main(guiconfig.inc) [function.main]: failed to open stream: No such file or directory in /usr/local/www/pfswww/packages/config/imspector/services_imspector_logs.php on line 33

    Fatal error: main() [function.require]: Failed opening required 'guiconfig.inc' (include_path='.:/usr/local/share/pear') in /usr/local/www/pfswww/packages/config/imspector/services_imspector_logs.php on li

    So, some dependency got lost or?



  • I also am now getting this error. Prior to this error message I couldn't even get nut to download; it would fail partway thru.

    Additionally, http://192.168.1.1/status_nut.php is not actually dynamic. vi reveals that the page is just a dump of what it shows from some other page, I'm guessing its an error message from the installer for nut.



  • These packages should be fixed now, please try again and report back.



  • Works perfectly now (except NUT <-> SNMP, but that's not for this forum  ;))

    Thankyou!



  • @vsnine:

    Additionally, http://192.168.1.1/status_nut.php is not actually dynamic. vi reveals that the page is just a dump of what it shows from some other page.

    Glad it is working now. The status_nut.php page utilizes NUT's upsc. The page parses the data returned from the command.


Locked