I finally solved this problem,
1, kubedm reset
2, RM – RF/var/lib/etcd
3, iptables – F & amp& amp; iptables -t nat -F && amp; Iptables – t mangle – f (the reason why the card is stuck at 40ms is that there is a problem with the interaction between apiserver and etcd)
4. Kubedm init — config xx.yam
Category Archives: Error
[Solved] ClassNotFoundException: org.apache.storm.kafka.spout.KafkaSpoutConfig
When processing Kafka data with storm, the following errors are reported:
java.lang.NoClassDefFoundError: org.apache.storm.kafka.spout.KafkaSpout
or
ClassNotFoundException: org.apache.storm.kafka.spout.KafkaSpoutConfig
Solution:
Remove the <scope>provided</scope> line in pom.xml, refresh maven, and run again.
Fatal signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xc5614e64 in tid 22126 (w.ywmediaplayer),
1、 Overview
Case scenario: an exception occurred when using OpenGLES + EGL + surfaceview to implement texture mapping.
2、 Solution
Reason: in the method of reporting an error location, add return to because this method explicitly specifies that there should be a return value, which is forgotten when writing the result. The sad thing is that the compilation passes and an error is reported.
[Solved] Linux Execute File Error: no such file or directory (bit mismatch)
Recently, an executable file was executed in the Ubuntu 16.04 system, and the prompt no such file or directory appeared, as shown below:
In fact, this file exists
After consulting the data, it is found that the reason may be that the number of system bits does not match the number of Lib libraries required by the executable file, as shown below:
The system is a 64 bit system and the executable file is 32 bits
To run 32-bit programs with on a 64 bit system, you need to install the 32-bit lib library. For Ubuntu users, you can install using the following command:
sudo apt-get install ia32-libs
If the installation is not successful, lib32z1 can be used instead. Then you can run the previous executable file normally.
Temporary failure in name resolution solution when Ubuntu installs essential (GCC)
Just change DNS
1 view DNS
vi /etc/resolv.conf
2 add after the original DNS
nameserver 114.114.114.114
nameserver 8.8.8.8
3 reassembly
sudo apt-get install build-essential
Prompt for update during loading
Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
Just update
sudo apt-get update
4 check whether the installation is successful
gcc –version
reference resources
“Temporary failure resolving ‘CN. Archive. Ubuntu. Com’ appears in Ubuntu apt get install”_ Ben wolf CSDN blog
After introducing mybatisplus, the user-defined method is used to solve the invalid bound statement (not found) error
I tried all the methods on the Internet, but they didn’t work.
Finally, I took a look at the. YML configuration file,
mybatis-plus: mapper-locations: classpath:mappers/*Mapper.xml type-aliases-package: com.xxxxx.entity
Here I wrote mybatis: XXXXXX
When I used tkmapper before, there was no problem with writing this here.
If you use mybatis plus, write the configuration of mybatis plus here. The problem is solved
How to Solve Idea Issue: “marketplace plugins are not loaded”
When I click settings and open the plugins tool, I am prompted “marketplace plugins are not loaded”!
Solution:
The solution is as follows: click file -> settings-> Appearance& Behavior-> System Settings -> Updates
Remove the √ of the use secure connection option (Note: the English name will be different with different versions, and the Chinese name is check plug-in update)! Then restart the software
[Solved] Android Studio Install Error: Unable to access Android SDK add on list
Prompt when installing Android
Solution:
1. Install Android studio and start it. The error shown above will pop up
2. Navigate to the following steps and stop without operation
3.
In the installation directory of Android studio, find \ bin \ idea.properties.
4. add disable.Android.First.Run = true at the end of the line to indicate that the SDK will not be detected at the initial startup
5. click cancel in the warning window in Figure 1 to continue the installation.
6. create SKD installation path in advance
7. after installation, open SDK manager and select a new path. SDK can be installed successfully
Solution to Samba inaccessibility caused by CentOS turning on SELinux
SELinux is enabled by default when installing CentOS, so samba, FTP and other applications cannot access the corresponding directories. The solution is as follows:
Enable Samba user home directory permission
/usr/sbin/setsebool -P samba_enable_home_dirs=1
Turn on single shared directory (path) permission
chcon -t samba_share_t path
Open all shared directories
Read-only rights
/usr/sbin/setsebool -P samba_export_all_ro on
read-write permission
/usr/sbin/setsebool -P samba_export_all_rw on
Check whether a directory (path) has permission enabled
ls -ldZ path
Maven: idea cannot download the source code Issue [How to Solve]
Download the source code sources by clicking into the decompiled code file of idea.
The idea prompts an error and cannot download the source code.
Solution:
mvn dependency:resolve is to resolve all dependencies of the project. Finally, it prints out the details of the resolved dependencies. Specify the optional parameter classifier = sources to try to analyze and download the corresponding dependent source code. Open teminal, execute it using the local maven, and then download it.
1 mvn dependency:resolve -Dclassifier=sources
Later, I encountered the problem that idea could not download the source code.
First confirm the file | settings | build, execution, deployment > Maven settings, Maven version is 3.8.3, configuration file is also 3.8.3, and local Maven warehouse also has settings.
Click to download the source code again, and you still can’t download it.
First, check whether the local Maven warehouse has downloaded the source code, and find a file about slf4j-api-1.7.21-sources.jar.lastupdated. This file is a record file of Maven’s failure in trying to download the slf4j API source code.
Open the file with Notepad + +. According to the contents, it seems that the failure to download is closely related to the Maven default HTTP blocker.
1 #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. 2 #Sun Nov 21 16:52:48 CST 2021 3 http\://0.0.0.0/.error=Could not transfer artifact org.slf4j\:slf4j-api\:jar\:sources\:1.7.21 from/to maven-default-http-blocker (http\://0.0.0.0/)\: Blocked mirror for repositories\: [nexus-aliyun (http\://maven.aliyun.com/nexus/content/groups/public, default, releases)] 4 @default-maven-default-http-blocker-http\://0.0.0.0/.lastUpdated=1637484768579
Check the setting.xml file, find the following related configurations, and comment out the Maven default HTTP blocker image, which prevents you from finding dependencies in Alibaba’s image library. At that time, I didn’t know what the problem was to solve. I set it up and commented it out first.
After saving, restart idea, and then you can download it. The problem is solved.
The source code files are also downloaded from the local repository.