Magento2 giving preg_match error while running setup upgrade command - magento2

I am doing a fresh magento2 v-2.4.5-p1 installation while doing bin/magento s:up i am getting an error.
Warning: preg_match(): Compilation failed: range out of order in character class at offset 25 ...vendor/magento/framework/DB/Adapter/SqlVersionProvider.php on line 91
I have edited the file app/etc/di.xml to use my current MariaDB version.
<item name="MariaDB-(10.2-10.10)" xsi:type="string">^10\.[2-10]\.></item>
My MariaDB version is : 10.10.2-MariaDB.
and PHP version is : php#8.1.

Related

Error runing mftf in Magento 2.3.5 I get an error on build:project

First time eveer runing mftf I installed with composer with in a m2 2.3.5 and when I run the build I get this message:
mftf build:project
mftf files removed from filesystem.
codeception.yml applied to /var/www/html/dev/tests/acceptance/codeception.yml
functional.suite.yml configuration successfully applied.
functional.suite.yml applied to /var/www/html/dev/tests/acceptance/tests/functional.suite.yml
command.php copied to /var/www/html/dev/tests/acceptance/utils/command.php
.credentials.example successfully applied.
.env configuration successfully applied.
In Configuration.php line 212:
Output path is not defined by key "paths: output"
In BuildProjectCommand.php line 105:
The codecept build command failed unexpectedly. Please see the above output for more details.
Any ideas what can be ?

How to debug the problem not able to translate OID with a new MIB file for UPS-MIB?

On Centos, I ran into the following error:
sudo snmptrap -v 2c -c read localhost '' UPS-MIB::upsTraps
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (UPS-MIB): At line 0 in (none)
UPS-MIB::upsTraps: Unknown Object Identifier
The above error happened after
Copied UPS-MIB.txt to /usr/share/snmp/mibs
I started snmptrapd:
snmptrapd -f -Lo -Dread-config -m ALL
The version of the Net-SNMP is 5.2.x.
The same procedures work fine with Ubuntu 18.04/Net-SNMP 5.3.7.
I wonder how to debug and fix the problem?
Besides the Net-SNMP version difference, on Ubuntu, I found an instruction to install mib-download-tool, and execute it after the installation of Net-SNMP, and comment out the lines beginning with min: in snmp.conf in order to fix the error of missing MIB's.
However, for the Centos, I had no need and found no such instruction, thus I have not done it yet, as there is no error message of missing MIB's.
The MIB file is downloaded from https://tools.ietf.org/rfc/rfc1628.txt
renamed to UPS-MIB.txt (It seems to me that the name of the MIB file does not matter, as long as it's unique? I tried to use a different names, upsMIB.txt, rfc1628.txt, but it does not help to improve.)
I solved the problem as follows:
manually copied /usr/share/snmp/mibs/ietf/UPS-MIB on an Ubuntu with Net-SNMP 5.7.3 installed to the Centos /usr/share/snmp/mibs/UPS-MIB
then restart the snmpd
by the command:
service snmpd restart
then the OID of UPS-MIB becomes visible and accessible.
Maybe, the version that I downloaded from https://tools.ietf.org/rfc/rfc1628.txt is not suitable??

FreeRadius 3.0.8 installation error of rlm_perl

I have installed freeradius 3.0.8 and I want to integrate or connect it with perl and for that I enter perl in /usr/local/etc/raddb/mods-available/perl and /usr/local/etc/raddb/sites-available/default is also edited as per instructions on http://wiki.freeradius.org/modules/Rlm_perl.
After entering radiusd -Xxx, I got the following error:
-Wed Jun 3 18:43:10 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[477]: Failed to find "Perl" as a module or policy.
-Wed Jun 3 18:43:10 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[477]: Please verify that the configuration exists in /usr/local/etc/raddb/mods-enabled/Perl.
-Wed Jun 3 18:43:10 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[447]: Errors parsing authenticate section.
However, I also created symbolic link and the error pasted above is after creating symbolic link.
Please help me in resolving this issue.
It should be 'perl' not 'Perl' (you have the capitalisation wrong).

OTRS 3.2.* installation error on CentOS 6.5

I have installed CentOS 6.5 x86_64 on VMWare Workstation 9.
Then run updates after it disabled SELinux.
Now I'm trying to install otrs 3.3.6 but I'm get an error as below.
Have I challenges to fix it? Or it is a compatible issue?
Total size: 73 M
Installed size: 73 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Error in PREIN scriptlet in rpm package otrs-3.3.6-01.noarch
Check OTRS user ... otrs exists.
usermod: user otrs is currently logged in
error: %pre(otrs-3.3.6-01.noarch) scriptlet failed, exit status 8
error: install: %pre scriptlet failed (2), skipping otrs-3.3.6-01
Verifying : otrs-3.3.6-01.noarch 1/1
Failed:
otrs.noarch 0:3.3.6-01
I faced the issue because I created otrs user before installation.

Solaris 11 cannot install zones

Hi all staff today I try to create zone on Oracle solaris 11 but when I use command:
"zoneadm -z testzone install" and get Error
Checkpoint execution error:
The following pattern(s) did not match any allowable packages. Try
using a different matching pattern, or refreshing publisher information:
pkg:///entire#0.5.11,5.11-0.175.0.6.0.6.0:20120410T204143Z
Installation: Failed. See install log at /system/volatile/install.4373/install_log
ERROR: auto-install failed.
Any one can help me please...
That's a know bug fixed in SRU 7:
https://forums.oracle.com/forums/thread.jspa?threadID=2380689