Dashboard messed up after update to 2.3.3-RELEASE (amd64)



  • After update there is an area above the dashboard display; I left out theas with out it becomes easier to read and interpret. Sorry!

    –-----------------------------------------------------------------------------------------------------------------------------------------------------------
    4���^Y��{v� � Z T  � � q l $  � � � � : 5 � � � � - ' � � n i  ��zu#��ttcyrus*<<the cyrus="" mail="" server="" nonexistent="" usr="" sbin="" nologin�3<cyrus*<<the="" nologin�1cyruscyrus*<<the="" nologin�csquid="" caching-proxy="" pseudo="" user="" var="" squid="" nologin�3dsquidd="">squid caching-proxy pseudo user/var/squid/usr/sbin/nologin�1squidsquidd>squid caching-proxy pseudo user/var/squid/usr/sbin/nologin�Cdsquidd>squid caching-proxy pseudo user/var/squid/usr/sbin/nologin�Asquid_relayd��Relay Daemon/var/empty/usr/sbin/nologin�3�_relayd��Relay Daemon/var/empty/usr/sbin/nologin�C�_isakmpdDDisakmpd privsep/var/empty/sbin/nologin�3D_isakmpdDDisakmpd privsep/var/empty/sbin/nologin�CD_dhcpAAdhcp programs/var/empty/usr/sbin/nologin�2_dhcpAAdhcp programs/var/empty/usr/sbin/nologin�1_dhcp_dhcpAAdhcp programs/var/empty/usr/sbin/nologin�B_dhcpAAdhcp programs/var/empty/usr/sbin/nologin�A_dhcpmailnullSendmail Default User/var/spool/mqueue/usr/sbin/nologin�2 mailnullSendmail Default User/var/spool/mqueue/usr/sbin/nologin�1mailnullmailnullSendmail Default User/var/spool/mqueue/usr/sbin/nologin�B mailnullSendmail Default User/var/spool/mqueue/usr/sbin/nologin�Amailnulltty��Tty Sandbox//usr/sbin/nologin�3tty��Tty Sandbox//usr/sbin/nologin�CbinBinaries Commands and Source//usr/sbin/nologin�2binBinaries Commands and Source//usr/sbin/nologin�B��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/ * Copyright (C) 2011 - EATON * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA / /! \file nutscan-init.h \brief initialisation data \author Frederic Bohe / #ifndef SCAN_INIT #define SCAN_INIT #ifdef __cplusplus / INDENT-OFF / extern "C" { / INDENT-ON / #endif extern int nutscan_avail_avahi; extern int nutscan_avail_ipmi; extern int nutscan_avail_nut; extern int nutscan_avail_snmp; extern int nutscan_avail_usb; extern int nutscan_avail_xml_http; void nutscan_init(void); void nutscan_free(void); #ifdef __cplusplus / INDENT-OFF / } / INDENT-ON */ #endif #endif

    Dashboard shows below above display, but no selection works and the "Obtaining update status" keeps spinning and will not stop. Rebooting (option 5) does not fix the problem. I can not use the web interface to reboot as all function do not work.</the>



  • When starting the web interface I found that I get an error that there is a crash report. It follows:

    –-----------------------------------------------------------------------------------------------------------------------------------------------------------

    			Crash report begins.  Anonymous machine information:
    
    amd64
    10.3-RELEASE-p16
    FreeBSD 10.3-RELEASE-p16 #9 d88504507(RELENG_2_3_3): Wed Feb 15 11:30:33 CST 2017     root@ce23-amd64-builder:/builder/pfsense-233/tmp/obj/builder/pfsense-233/tmp/FreeBSD-src/sys/pfSense
    
    Crash report details:
    
    PHP Errors:
    [22-Feb-2017 10:54:51 America/Denver] PHP Parse error:  syntax error, unexpected 'version' (T_STRING) in /usr/local/www/widgets/widgets/snort_alerts.widget.php on line 1
    [22-Feb-2017 10:54:51 America/Denver] PHP Stack trace:
    [22-Feb-2017 10:54:51 America/Denver] PHP   1\. {main}() /usr/local/www/index.php:0
    [22-Feb-2017 10:57:15 America/Denver] PHP Parse error:  syntax error, unexpected 'version' (T_STRING) in /usr/local/www/widgets/widgets/snort_alerts.widget.php on line 1
    [22-Feb-2017 10:57:15 America/Denver] PHP Stack trace:
    [22-Feb-2017 10:57:15 America/Denver] PHP   1\. {main}() /usr/local/www/index.php:0
    
    No FreeBSD crash data found.
    

    –-----------------------------------------------------------------------------------------------------------------------------------------------------------

    First few lines of /usr/local/www/widgets/widgets/snort_alerts.widget.php

    
     <packagegui><copyright>/* $Id$ */
    /* ====================================================================================== */
    /*
            squidguard.xml
            part of pfSense (https://www.pfSense.org/)
            Copyright (C) 2006-2013 Sergey Dvoriancev <dv_serg@mail.ru>Copyright (C) 2015 ESF, LLC
            All rights reserved.
    */
    /* ====================================================================================== */
    /*
            Redistribution and use in source and binary forms, with or without
            modification, are permitted provided that the following conditions are met:
    
            1\. Redistributions of source code must retain the above copyright notice,
               this list of conditions and the following disclaimer.
    
            2\. Redistributions in binary form must reproduce the above copyright
               notice, this list of conditions and the following disclaimer in the
               documentation and/or other materials provided with the distribution.
    
            THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
            INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
            AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
            AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
            OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
            SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
            INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
            CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
            ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
            POSSIBILITY OF SUCH DAMAGE.
    */
    /* ====================================================================================== */
            ]]></dv_serg@mail.ru></copyright> 
            <name>squidguardgeneral</name>
            <title>Proxy filter SquidGuard: General settings</title>
            <include_file>/usr/local/pkg/squidguard.inc</include_file>
    
    <menu>
                    <name>SquidGuard Proxy Filter</name>
                    <tooltiptext>Modify the proxy server's filter settings</tooltiptext>
                    Services
                    <url>/pkg_edit.php?xml=squidguard.xml&id=0</url>
            </menu>
    
            <tabs>
                    <tab><text>General settings</text>
                            <url>/pkg_edit.php?xml=squidguard.xml&id=0</url>
                            <active></active></tab> 
                    <tab><text>Common ACL</text>
                            <url>/pkg_edit.php?xml=squidguard_default.xml&id=0</url></tab> 
                    <tab>
                            <text>Groups ACL</text></tab></tabs></packagegui>
    

    I reverted to previous versions with the same result. Restarting the web interface has no effect.
    I ran #fsck / from single user boot and the result was no problems on the disk.

    Anybody have any idea on how to fix this? Is there something I can add to the problem file?


  • Banned

    The way to fix this is to do a clean install and restore config.xml. The Snort widget sure like hell does not contain SquidGuard XML, your filesystem is toast.



  • @doktornotor:

    The way to fix this is to do a clean install and restore config.xml. The Snort widget sure like hell does not contain SquidGuard XML, your filesystem is toast.

    I got it to work! You gave me a clue that I had overlooked. Thanks! PHP is a foreign language to me since I don't do any web programming.

    Before I jumped into the frying pan and do a complete new install I tried something. Since the file seemed to be corrupt I deleted it (/usr/local/www/widgets/widgets/snort_alerts.widget.php).  I then tried the web interface again. The stuff in front of the dashboard was still there, but all of the menu items could be selected.

    I selected system –> package manager and deleted snort. It never came back and told me that it was deleted so I did a back space and checked to see if SNORT was still there and it was gone. The stuff in front of the dashboard disappeared and every thing seems to be to normal. All the function on the menu selections appears to be working correctly.

    I have not reinstalled snort yet, but it should work.

    I have not done a reboot. Could be a bad idea!

    What would have caused this? any idea?


Log in to reply