Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Markus_MSP

#1
Hi,

bekomme aktuell Fehlermeldungen zu PHP und Zenarmor. Sind diese bekannt, oder gibt es einen Fix dazu ?

Der Versuch Zenarmor zu deinstallieren ( delete all data and folder ) und dann wieder frisch zu installieren behebt den Fehler nicht.

Fehlermeldung:
[01-Aug-2024 09:10:03 Europe/Berlin] Error: Call to undefined method OPNsense\Sensei\Api\UserenricherController::initialize() in /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Dispatcher.php:160
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(156): OPNsense\Mvc\Dispatcher->dispatch(Object(OPNsense\Mvc\Request), Object(OPNsense\Mvc\Response), Object(OPNsense\Mvc\Session))
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Mvc/Router.php(139): OPNsense\Mvc\Router->performRequest(Object(OPNsense\Mvc\Dispatcher))
#2 /usr/local/opnsense/www/api.php(36): OPNsense\Mvc\Router->routeRequest('/api/sensei/Use...', Array)
#3 {main}

Grüße und danke vorab für jeden Hinweis  :)
#2
Und täglich grüßt das Murmeltier ....

Es kam in der Vergangenheit leider schon öfter vor, dass nach einem Update der OPNsense Zenarmor nicht mehr lief. Das konnte durch neu Installation behoben werden. Nur jetzt geht das nicht mehr  :(

Fehlermeldung beim öffnen im Menü von Zenarmor->Dashboard:

Fatal error: Uncaught Error: Class 'Phalcon\Config' not found in /usr/local/opnsense/mvc/app/models/OPNsense/Sensei/Sensei.php:113 Stack trace: #0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(364): OPNsense\Sensei\Sensei->init() #1 /usr/local/opnsense/mvc/app/controllers/OPNsense/Sensei/IndexController.php(21): OPNsense\Base\BaseModel->__construct() #2 [internal function]: OPNsense\Sensei\IndexController->indexAction() #3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(OPNsense\Sensei\IndexController), 'indexAction', Array) #4 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #5 /usr/local/opnsense/www/index.php(72): Phalcon\Mvc\Application->handle('/ui/sensei/inde...') #6 {main} thrown in /usr/local/opnsense/mvc/app/models/OPNsense/Sensei/Sensei.php on line 113

Fehlermeldung beim Deinstallieren von Zenarmor:

***GOT REQUEST TO REMOVE***
Currently running OPNsense 22.1.10 (amd64/OpenSSL) at Thu Jul  7 16:44:57 CEST 2022
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
   os-sensei: 1.11.2

Number of packages to be removed: 1

The operation will free 128 MiB.
[1/1] Deinstalling os-sensei-1.11.2...
Zenarmor service is running, saving state to resume after upgrade...
Stopping eastpect.
Waiting for PIDS: 56605.
No matching processes were found
Removing Zenarmor cron jobs...
pkg: DEINSTALL script failed
[1/1] Deleting files for os-sensei-1.11.2: .......... done
Invalidating OPNsense cache...done
Remove dashboard...
Invalidating Zenarmor cache...done
Restarting configd service...done
Removing Zenarmor rc configuration file...done
Reloading OPNsense plugin configuration...done
Restarting web gui...done
Unregistering plug-in from the OPNsense firmware system...done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:

Installed packages to be REMOVED:
   ubench: 0.32

Number of packages to be removed: 1
[1/1] Deinstalling ubench-0.32...
[1/1] Deleting files for ubench-0.32: ..... done
***DONE***

Möchte ungern alles neu aufsetzen. Gibt es noch eine Möglichkeit Zenarmor sauber zu deinstallieren ?

Danke vorab.
#3
Hi zusammen,

versuche vergeblich ein Update auf die Sense 21.7.6 zu starten. Leider schlägt das Update mit der Meldung fehl:

Fetching change log information, please wait... done

This will automatically fetch all available updates and apply them.

This update requires a reboot.

Proceed with this action? [y/N]: y

Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Checking for upgrades (139 candidates): .......... done
Processing candidates (139 candidates): ....... done
The following 87 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        lua53: 5.3.6 [OPNsense]
        openldap24-client: 2.4.59_4 [OPNsense]
        py38-dnspython2: 2.1.0 [OPNsense]

Installed packages to be UPGRADED:
        acme.sh: 2.9.0_1 -> 3.0.1 [OPNsense]
        bash: 5.1.8 -> 5.1.12 [OPNsense]
        bind-tools: 9.16.19 -> 9.16.23 [OPNsense]
        boost-libs: 1.72.0_5 -> 1.72.0_6 [OPNsense]
        c-icap: 0.5.8,2 -> 0.5.10,2 [OPNsense]
        ca_root_nss: 3.68 -> 3.71 [OPNsense]
        clamav: 0.103.3,1 -> 0.104.1,1 [OPNsense]
        curl: 7.78.0 -> 7.79.1 [OPNsense]
        dnsmasq: 2.85_1,1 -> 2.86,1 [OPNsense]
        e2fsprogs-libuuid: 1.46.2 -> 1.46.4 [OPNsense]
        filterlog: 0.4_3 -> 0.5 [OPNsense]
        glib: 2.66.8,2 -> 2.70.1,2 [OPNsense]
        groff: 1.22.4_3 -> 1.22.4_4 [OPNsense]
        icu: 69.1,1 -> 70.1_1,1 [OPNsense]
        ifinfo: 10.1 -> 13.0 [OPNsense]
        jansson: 2.13.1 -> 2.14 [OPNsense]
        libcjson: 1.7.14 -> 1.7.15 [OPNsense]
        libfido2: 1.8.0 -> 1.9.0 [OPNsense]
        libgcrypt: 1.9.3 -> 1.9.4 [OPNsense]
        libgpg-error: 1.42 -> 1.43 [OPNsense]
        libnghttp2: 1.44.0 -> 1.46.0 [OPNsense]
        libuv: 1.41.0 -> 1.42.0 [OPNsense]
        lighttpd: 1.4.59 -> 1.4.61 [OPNsense]
        monit: 5.28.0 -> 5.29.0_1 [OPNsense]
        mpd5: 5.9 -> 5.9_4 [OPNsense]
        mysql57-client: 5.7.35_1 -> 5.7.36 [OPNsense]
        ndpi: 3.4.d20201222_1,1 -> 4.0.d20210818,1 [OPNsense]
        nss: 3.68 -> 3.72 [OPNsense]
        ntopng: 4.2.d20210615,1 -> 5.0.d20210923,1 [OPNsense]
        ntp: 4.2.8p15 -> 4.2.8p15_3 [OPNsense]
        openssh-portable: 8.6.p1,1 -> 8.8.p1_1,1 [OPNsense]
        openssl: 1.1.1k_1,1 -> 1.1.1l,1 [OPNsense]
        openvpn: 2.5.3 -> 2.5.4_1 [OPNsense]
        opnsense: 21.7.1 -> 21.7.6 [OPNsense]
        opnsense-update: 21.7.1 -> 21.7.5_2 [OPNsense]
        os-acme-client: 2.6 -> 3.5 [OPNsense]
        os-c-icap: 1.7_1 -> 1.7_2 [OPNsense]
        os-dyndns: 1.24_2 -> 1.27 [OPNsense]
        os-etpro-telemetry: 1.5 -> 1.6 [OPNsense]
        os-wireguard: 1.7 -> 1.9 [OPNsense]
        pcre: 8.44_1 -> 8.45 [OPNsense]
        pcre2: 10.37 -> 10.39 [OPNsense]
        php74: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-ctype: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-curl: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-dom: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-filter: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-gettext: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-json: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-ldap: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-mbstring: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-openssl: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-pdo: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-phpseclib: 2.0.32 -> 2.0.34 [OPNsense]
        php74-session: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-simplexml: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-sockets: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-sqlite3: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-xml: 7.4.22_1 -> 7.4.25 [OPNsense]
        php74-zlib: 7.4.22_1 -> 7.4.25 [OPNsense]
        py38-Jinja2: 2.11.2_1 -> 3.0.1 [OPNsense]
        py38-beautifulsoup: 4.9.3 -> 4.10.0 [OPNsense]
        py38-certifi: 2021.5.30 -> 2021.10.8 [OPNsense]
        py38-cffi: 1.14.6 -> 1.15.0 [OPNsense]
        py38-dns-lexicon: 3.6.1 -> 3.8.2 [OPNsense]
        py38-lxml: 4.6.3 -> 4.6.4 [OPNsense]
        py38-markupsafe: 1.1.1_1 -> 2.0.1 [OPNsense]
        py38-pytz: 2021.1,1 -> 2021.3,1 [OPNsense]
        py38-sqlite3: 3.8.11_7 -> 3.8.12_7 [OPNsense]
        py38-urllib3: 1.26.6,1 -> 1.26.7,1 [OPNsense]
        python38: 3.8.11 -> 3.8.12_1 [OPNsense]
        redis: 6.0.15 -> 6.2.6 [OPNsense]
        smartmontools: 7.2_1 -> 7.2_2 [OPNsense]
        socat: 1.7.4.1_1 -> 1.7.4.2 [OPNsense]
        sqlite3: 3.35.5_3,1 -> 3.35.5_4,1 [OPNsense]
        strongswan: 5.9.2_2 -> 5.9.4 [OPNsense]
        sudo: 1.9.7p1 -> 1.9.8p2 [OPNsense]
        suricata: 5.0.7 -> 6.0.4 [OPNsense]
        syslog-ng: 3.33.2 -> 3.34.1 [OPNsense]
        unbound: 1.13.1 -> 1.13.2 [OPNsense]
        wireguard-go: 0.0.20210424,1 -> 0.0.20211016,1 [OPNsense]
        wireguard-tools: 1.0.20210424 -> 1.0.20210914_1 [OPNsense]

Installed packages to be REINSTALLED:
        readline-8.1.1 [OPNsense] (options changed)
        squid-4.15 [OPNsense] (direct dependency changed: openldap24-client)

Number of packages to be installed: 3
Number of packages to be upgraded: 82
Number of packages to be reinstalled: 2

The process will require 15 MiB more space.
98 MiB to be downloaded.
[1/85] Fetching unbound-1.13.2.txz: .......... done
pkg-static: cached package unbound-1.13.2: size mismatch, fetching from remote
[2/85] Fetching unbound-1.13.2.txz: .......... done
pkg-static: cached package unbound-1.13.2: size mismatch, cannot continue
Consider running 'pkg update -f'
Starting web GUI...done.
Generating RRD graphs...done.

Der versuch pkg update -f per console läuft durch, aber der Fehler bleibt weiterhin mit dem Hinweis auf unbound 1.13.2.

Auch ein Versuch per console das Update zu starten bringt den selben Fehler.

Hm, keine Ahnung was man noch machen kann.

Viele Grüße  :)

#4
Hi zusammen, nach dem heutigen Update auf 21.1.8 (community) laufen viele Dienste nicht mehr.

Neuinstallation der Dienste brachte auch keinen Erfolg.

Hier ein Auszug der Fehlermeldungen:

User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
FreeBSD 12.1-RELEASE-p19-HBSD #0  0c59842367b(stable/21.1)-dirty: Mon Jul  5 15:08:43 CEST 2021     root@sensey:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64
OPNsense 21.1.8 1ce87376d
Plugins os-acme-client-2.5 os-bind-1.17 os-c-icap-1.7_1 os-clamav-1.7_1 os-dyndns-1.24_2 os-etpro-telemetry-1.5 os-haproxy-3.3 os-mdns-repeater-1.0_1 os-ntopng-1.2_1 os-redis-1.1_1 os-sensei-1.9.2 os-sensei-updater-1.9 os-smart-2.2 os-sunnyvalley-1.2_1 os-theme-cicada-1.28 os-wireguard-1.7 os-wol-2.4
Time Wed, 07 Jul 2021 16:49:00 +0200
OpenSSL 1.1.1k  25 Mar 2021
PHP 7.4.20

[07-Jul-2021 18:20:27 Europe/Berlin] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /usr/local/etc/inc/IPv6.inc on line 683

Diese Meldung tritt sekündlich auf.

Alle diese Dienste haben leider ihren Dienst eingestellt.

Gibt es eine Möglichkeit auf 21.1.7 downzugraden ???

Viele Dank vorab.
#5
Hallo zusammen, ich verwende die sense schon eine Weile. Bin aus Begeisterung auf die devel Version umgestiegen. Nach dem letzten Update leider auf die Version OPNsense 21.7.a_314-amd64 FreeBSD 12.1-RELEASE-p15-HBSD OpenSSL 1.1.1k 25 Mar 2021 und anschließendem Suricata Update "devel" stürzte der Dienst ab und lässt sich auch nicht starten.

Siehe Fehlermeldung:

2021-04-05T14:28:32   suricata[44148]   [101257] <Error> -- [ERRCODE: SC_ERR_FATAL(171)] - Engine unable to disable detect thread - "W#01-igb1^". Killing engine   
2021-04-05T14:27:31   suricata[44148]   [101257] <Notice> -- Signal Received. Stopping engine.   
2021-04-05T14:22:26   suricata[44148]   [101257] <Notice> -- all 2 packet processing threads, 4 management threads initialized, engine started.   
2021-04-05T14:22:26   suricata[44148]   [101186] <Notice> -- opened netmap:igb1/T from igb1: 0x300e2dfc300   
2021-04-05T14:22:26   suricata[44148]   [101186] <Notice> -- opened netmap:igb1^ from igb1^: 0x300e2dfc000   
2021-04-05T14:22:26   suricata[44148]   [101174] <Notice> -- opened netmap:igb1^ from igb1^: 0x300967ed300   
2021-04-05T14:22:26   suricata[44148]   [101174] <Notice> -- opened netmap:igb1/R from igb1: 0x300967ed000   
2021-04-05T14:21:52   suricata[34757]   [100425] <Warning> -- [ERRCODE: SC_WARN_NO_JA3_SUPPORT(308)] - no MD5 calculation support built in (LibNSS), disabling JA3   
2021-04-05T14:21:52   suricata[34757]   [100425] <Notice> -- This is Suricata version 6.0.2 RELEASE running in SYSTEM mode   
2021-04-05T14:21:52   suricata[98729]   [100258] <Error> -- [ERRCODE: SC_ERR_FATAL(171)] - Engine unable to disable detect thread - "W#01-igb1^". Killing engine   
2021-04-05T14:20:51   suricata[98729]   [100258] <Notice> -- Signal Received. Stopping engine.   
2021-04-05T14:20:20   suricata[98729]   [100258] <Notice> -- rule reload complete   
2021-04-05T14:19:43   suricata[98729]   [100258] <Notice> -- rule reload starting   
2021-04-05T14:19:04   suricata[98729]   [100258] <Notice> -- all 2 packet processing threads, 4 management threads initialized, engine started.   
2021-04-05T14:19:04   suricata[98729]   [100967] <Notice> -- opened netmap:igb1/T from igb1: 0x423849a7300   
2021-04-05T14:19:03   suricata[98729]   [100967] <Notice> -- opened netmap:igb1^ from igb1^: 0x423849a7000   
2021-04-05T14:19:03   suricata[98729]   [100954] <Notice> -- opened netmap:igb1^ from igb1^: 0x42333c03300   
2021-04-05T14:19:03   suricata[98729]   [100954] <Notice> -- opened netmap:igb1/R from igb1: 0x42333c03000   
2021-04-05T14:18:21   suricata[55427]   [100082] <Warning> -- [ERRCODE: SC_WARN_NO_JA3_SUPPORT(308)] - no MD5 calculation support built in (LibNSS), disabling JA3   
2021-04-05T14:18:21   suricata[55427]   [100082] <Notice> -- This is Suricata version 6.0.2 RELEASE running in SYSTEM mode

Ist nur eine Vermutung aber evtl. ist irgendeine Lib in Mitleidenschaft gezogen worden. Der Dienst killt sich nach einer Weile selbst und bleibt dann hängen.

Danke vorab für die Unterstützung  ;D