Tag Archives: computer

[Solved] Module yaml error: Unexpected key in data: static_context

Problem description

An error occurs when executing the linux command on centos8

[root@VM-16-14-centos ~]# dnf update epel-release
Repository epel is listed more than once in the configuration
Last metadata expiration check: 2:24:16 ago on Mon 25 Apr 2022 07:27:51 AM CST.
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Dependencies resolved.
Nothing to do.
Complete!

Solution:

It can be solved by upgrading libmodulemd (DNF upgrade libmodulemd). The problem can be fixed in libmodulemd-2.13.0-1.fc33.

How to Solve Error: libproxychains4.So error

when compiling proxychains ng project, “libproxychains4.So error” is reported
the reason for this is that there is no libproxychains 4.so library file on the current system. You can install a lower version of proxychains ng to solve this problem, such as proxychains ng v4.11. Here, take the example of installing proxychains ng v4.11 on the MAC system.

1 download proxychains ng v4.11

address: https://github.com/rofl0r/proxychains-ng/archive/refs/tags/v4.11.zip

2 disable SIP function

if your system is a MAC system (Apple System), please disable the SIP function. If not, ignore this section
open the black box console and enter the following commands in sequence

2.1 restart the system

sudo reboot

2.2 disable SIP in the system recovery interface

## 1) Boot up and press Option key to enter the system interface
## 2) Press and hold Command + R key to enter the system recovery interface
## 3) In [Tools] â€" [Terminal], enter the command.
csrutil disable
reboot 

2.3 viewing SIP

csrutil status

if “system integrity protection status: disabled.” is printed, it indicates that SIP has been closed.

3 install and configure proxychains

3.1 compiling and installing proxychains

cd proxychains-ng-4.11
./configure --prefix=/usr --sysconfdir=/etc
sudo make && make install
sudo make install-config

3.2 setting proxychains parameters

a) modify proxychains parameter

## Enter the configuration directory
cd /etc

## configuration file
sudo cp proxychains.conf proxychains.conf.bak

## Modify the configuration
sudo vi proxychains.conf

in the [proxylist] field of proxychains.conf file, disable Socks4 and enable Socks5, as follows:
// proxychains.conf

[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
#socks4 	127.0.0.1 9050 ##Comment out sock4
socks5 127.0.0.1 XXXX ## Fill in this field

b) alias proxychains

sudo vi ~/.zshrc

## Add an alias to ~/.zshrc
alias pc4='proxychains4'

## Enabling configuration
source ~/.zshrc

c) test ProxyChain

pc4 curl cip.cc

the effect is as follows:

Figure (1) proxychain 4 runs successfully

 

 

Informatica error: Invalid connection license key for CMN_1022 [database [Microsoft SQL Server] solution

1. No problems caused by Lincense
Problem: The connection license key for CMN_1022 [database [Microsoft SQL Server] is invalid
Solution: Check your license on the console (click license to view permissions). Switch to ODBC connections.
 
2. Odbc connection to SQLServer.
In the system ODBC, establish a connection, for example: odBC_ORa_HR, test to see if it can connect to the remote Oracle Server. When you set up ODBC in the Workflow Manager, that ConnectString puts the name odBC_ora_hr. Odbc_ora_hr should be ok if it’s accessible from your system’S ODBC