linux

How To Build K8s Cluster On Centos7

## 1.Machine Information ``` [root@kube-gmg-03-master-1 ~]# uname -a Linux kube-gmg-03-master-…

TwoPunch created at April 6, 2022, 11:43 a.m.

Job For Docker.Service Failed Because The Control Process Exited With Error Code. See "Systemctl Sta...

## problem When we push the image to the private repository, as follows: ``` $ docker push…

TwoPunch created at April 6, 2022, 11:22 a.m.

Clang: Error: Linker Command Failed With Exit Code 1 (Use -V To See Invocation)

During the research process of the OCR project, an open source tool, gosseract, was found, and the …

TwoPunch created at April 6, 2022, 11:17 a.m.

Redis Start Error: /Var/Run/Redis_6379.Pid Exists, Process Is Already Running Or Crashed

## problem Execute the self-start command: ``` /etc/init.d/redis_6379 start ``` An error…

TwoPunch created at March 31, 2022, 10:52 a.m.

Nginx Install Error:Checking For --With-Ld-Opt="-Ljemalloc" ... Not Found

## problem Recently, when deploying a new centos7 server environment, I found that the nginx ins…

TwoPunch created at March 31, 2022, 10:43 a.m.

How To Implement The Post Request Interface When The Timed Task Calls The Curl Method

## problem Use `crontab -e` to add a new scheduled task, as follows: ``` */1 * * * * /usr/bi…

TwoPunch created at March 31, 2022, 10:34 a.m.

Solve The Problem That The Disk Space Is Not Freed After Deleting Files In Centos (Lsof Command)

## problem After a long time, the disk space under my cloud server is getting less and less, and…

TwoPunch created at March 25, 2022, 11:29 a.m.

Causes And Solutions Of Mysql Occupying A Lot Of Disk Space

## foreword When we use mysql or other data, we always encounter that the database occupies a lo…

TwoPunch created at March 25, 2022, 11:15 a.m.

Wsl/Window Terminal: Java 14 Switch Expressions Unrecognized

## problem `build` succeeds in IDEA, but `automated build` fails ``` $ ./gradlew > Task…

TwoPunch created at March 20, 2022, 8:40 a.m.

Blk_Update_Request: I/O Error, Dev Fd0, Sector 0

## problem When executing the command `netplan apply` to apply the configured ip, an error is r…

TwoPunch created at Jan. 30, 2022, 7:37 a.m.

【Linux】Git Error:Error: Rpc Failed; Curl 56 Gnutls Recv Error (-54): Error In The Pull Function.

## solution This is caused by insufficient git default cache size, use the following command to …

TwoPunch created at Jan. 27, 2022, 3:59 a.m.

Centos: Solution For Server Disk Is Full And Cannot Free Space

The hard disk shows that it is full, but the sum of the hard disk space occupied by `du -sh /*` is …

TwoPunch created at Jan. 25, 2022, 12:30 a.m.

Centos: Add User Into Sudoer And Set Password Free For Sudo Command

## add sudo permissions to the user Sometimes, running the sudo command under linux will prompt …

TwoPunch created at Jan. 25, 2022, 12:01 a.m.

[Shell] Real Solution For: Syntax Error:Unexpected End Of File?

## problem Today, I wrote a long shell script with a lot of nested structures. When I finally ra…

TwoPunch created at Jan. 19, 2022, 4:54 p.m.

Dpkg-Deb: Error: Paste Subprocess Was Killed By Signal (Broken Pipe)

## problem ``` Unpacking nvidia-340 (340.107-0ubuntu0~gpu18.04.1) ... dpkg: error processing a…

TwoPunch created at Jan. 8, 2022, 2:04 a.m.

Error: Unable To Verify The Graphical Display Setup.

## problem When installing Oracle under Linux running command ``` ./runInstaller ``` …

TwoPunch created at Jan. 7, 2022, 3:08 p.m.

Linux Builds A Kafka Cluster, And The Copy Command Can Be Successful

Today I share a set of notes for building a set of Kafka cluster from scratch. I almost helped you …

TwoPunch created at Jan. 2, 2022, 9:21 a.m.

Error: This Statement May Fall Through [-Werror=Implicit-Fallthrough=]

## error ``` /home/liuc/git/AnyQ/build/third_party/paddle/src/extern_paddle/paddle/fluid/stri…

TwoPunch created at Dec. 31, 2021, 4:42 a.m.
TwoPunch created at Dec. 30, 2021, 3:46 a.m.

Docusaurus Startup Error-Error: Getaddrinfo Enotfound Localhost

## solution Check the `hosts` file, it should be `localhost` is gone Add: ``` 127.0.0.1 l…

TwoPunch created at Dec. 28, 2021, 12:30 a.m.

Use Wiget To Install Node.Js In Centos

## download you can check [https://nodejs.org/dist/](https://nodejs.org/dist/) archive for versi…

TwoPunch created at Dec. 28, 2021, 12:02 a.m.

How To Decompress Tar.Xz In Ubuntu

## tar.xz Today I went to install nodejs on Ubuntu, the downloaded file `node-v6.10.1-linux-x64.…

TwoPunch created at Dec. 27, 2021, 11:40 p.m.

Xml/Apr_Xml.C:35:19: Fatal Error: Expat.H: No Such File Or Directory #Include <Expat.H>

The operating environment of this blog is **centos7.6** ## Problem Description I encountered …

TwoPunch created at Dec. 27, 2021, 8:35 a.m.

Compile Webrtc Under Linux (Linux And Android Version)

## Install depot\_tools git clone to get depot\_tools ``` git clone https://chromium.googles…

TwoPunch created at Dec. 25, 2021, 3:53 p.m.

Gazebo: Symbol Lookup Error: /Usr/Lib/X86_64-Linux-Gnu/Libgazebo_Common.So.9: Undefined Symbol: _Zn8

## error Gazebo prompts an error: ``` gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu…

TwoPunch created at Dec. 24, 2021, 2:42 p.m.

Configure: Error: ***A Compiler With Support For C++11 Language Features Is Required

## Version Information * Red Hat 5.5 * gcc-4.9.4 ## problem Encountered when compilin…

TwoPunch created at Dec. 23, 2021, 4:13 a.m.

Error: No Compiled Wrf Code Found. Please Check That The Wrf Model Has Been Compile

## 1\. Error prompt Install `wrf`, and report this error when compiling `wps`: ``` Error: No…

TwoPunch created at Dec. 22, 2021, 9:37 a.m.

Bringing Up Interface Eth0: Error: No Suitable Device Found: No Device Found For Connection 'System Eth0'. [Failed]

## error Configure the IP of the virtual machine to restart the network card: `service network r…

TwoPunch created at Dec. 13, 2021, 3:08 p.m.

Nc: Getnameinfo: Temporary Failure In Name Resolution

## error Use `nc -lvp 7777` to monitor port got an error: ``` [root@localhost ~] nc -lvp …

TwoPunch created at Dec. 13, 2021, 2:47 p.m.

Linux: Cannot Execute Binary File: Exec Format Error

The problem of `cannot execute binary file` encountered under linux system is generally caused by t…

TwoPunch created at Dec. 13, 2021, 2:43 p.m.

How To Solve Ing, Error And Other Errors In Ubuntu Update

## error When executing `sudo apt update`, I found that there are errors similar to Ing and erro…

TwoPunch created at Dec. 5, 2021, 11:29 p.m.

Yum:Error: Db5 Error(-30973) From Dbenv-≫Failchk: Bdb0087 Db_Runrecovery: Fatal Error, Run Data...

## 1 error On the Linux server, execute the yum command and report an error as follows: ``` …

TwoPunch created at Dec. 5, 2021, 7:16 p.m.

Unable To Register Authentication Agent: Gdbus.Error:Org.Freedesktop.Policykit1.Error.Failed

## Problem description When deploying `k8s`, there is a step to set the time zone of the `centos…

TwoPunch created at Dec. 5, 2021, 7 p.m.

The Cloned Centos Virtual Machine Starts, But The Network Card Does Not Start Up

## error Vcenter cloned a virtual machine and found that the network card could not be found whe…

TwoPunch created at Nov. 27, 2021, 3:21 p.m.

Linux Server 'Free -M' Query Result Show 'Cached' Keeps Increasing

## problem View cached is very large, not released, and increasing The linux server `free -m`…

TwoPunch created at Nov. 27, 2021, 3:14 p.m.

Install The Software./Configure Compile Error No Acceptable C Compiler Found

## error ``` [root@mysql-141 linux-ftools]#./configure checking for a BSD-compatible install.…

TwoPunch created at Nov. 27, 2021, 3:09 p.m.

Ssh-Copy-Id Error

## error ``` [root@jenkins .ssh]# ssh-copy-id -i id_rsa_driver.pub root@192.168.0.96 The authe…

TwoPunch created at Nov. 27, 2021, 3:07 p.m.

Rsync Error:@Error: Chdir Failed Rsync Error

## problem The client uses the `rsync` command to synchronously report the following errors: …

TwoPunch created at Nov. 27, 2021, 3:05 p.m.

Error: Dl Failure On Line 893

## problem In the centos system, after installing `jdk-8u60-linux-i586.tar.gz`, after configurin…

TwoPunch created at Nov. 27, 2021, 2:53 p.m.

Error: Failed Dependencies: Libaio.So.1()(64bit) Is Needed By Mysql-Community-Server-5.7.26-1.El7.X86_64

## error error when Linux installation MySQL  ``` Failed dependencies: libaio.so.1()(64bit) …

TwoPunch created at Nov. 25, 2021, 10:22 p.m.

When Deleting The Compressed Package With (), The Prompt: Bash: Syntax Error Near Unexpected Token `('

## problem Need to delete a zip package in the server, perform operation delete prompt: ``` …

TwoPunch created at Nov. 25, 2021, 10:12 p.m.

Linux View The Number Of Physical Cpus, Cores, And Logical Cpus

## error ``` # Total number of cores = number of physical CPUs X number of cores per physical C…

TwoPunch created at Nov. 16, 2021, 1:40 p.m.

Error Updating System (Error: Gpgme Error: No Data

First make sure the first mirror in `sudo vim /etc/pacman.d/mirrorlist` is whitelisted Then: …

TwoPunch created at Nov. 16, 2021, 1:17 p.m.

Linux [Error] Error: Failed To Activate The Connection: No Suitable Device Found For This Connection.

When using the virtual machine today, I found that the network icon disappeared, and an error was r…

TwoPunch created at Nov. 16, 2021, 1:15 p.m.

Error: Expected ‘;‘ At End Of Member Declaration 和 Expected ‘)‘ Before ‘&‘ Toke

## Error report When developing C++ in the Linux environment, the following compilation errors o…

TwoPunch created at Nov. 3, 2021, 3:13 p.m.

Rsync Error: Error Allocating Core Memory Buffers

## Problem description When using rsync file transfer, one of the same two servers transfers the…

TwoPunch created at Oct. 26, 2021, 3:30 p.m.
TwoPunch created at Oct. 21, 2021, 2:35 p.m.

Error Response From Daemon: Get "Https://192.168.26.56/V2/": Dial Tcp 192.168.26.56:443: Connect: Connection Refused

Install the local warehouse, harbor login and report this error, Well, my problem is with `daemo…

TwoPunch created at Oct. 7, 2021, 12:01 p.m.

Solr Creates Collections Error: Create Failed Due To: Error Loading Config Name For Collection Rss

Atlas 0.8.4 integrates Solr 5.2.2 to create collections `ERROR: create failed due to: Error loading…

doporos created at Oct. 2, 2021, 12:08 p.m.

Error: Rpc Failed; Curl 56 Gnutls Recv Error (-54): Error In The Pull Function

## git clone failed The error is as follows: ``` error: RPC failed; curl 56 GnuTLS recv erro…

doporos created at Oct. 1, 2021, 12:11 p.m.

Error While Loading Shared Libraries: Libpng16.So.16: Cannot Open Shared Object File: No Such File

## description Run the compiled demo program, the error is as follows: ``` ./demo: error whi…

doporos created at Sept. 27, 2021, 2:41 p.m.

Centos7 Does Not Enable Swap, Which Leads To High Memory Usage.

## problem description: My friend has a VPS with CentOS7 on Alibaba Cloud, with 2GB of memory, w…

doporos created at Sept. 23, 2021, 5:58 p.m.

Dpkg:Error: Dpkg Frontend Is Locked By Another Process

An error occurred while installing the .deb file with dpkg ``` dpkg:error: dpkg frontend is loc…

doporos created at Sept. 16, 2021, 3:59 p.m.

/Usr/Sbin/Zabbix_Agentd: Error While Loading Shared Libraries: Libcurl.So.4

## Problem description An error is reported when starting `zabbix-agent` as follows ``` [roo…

doporos created at Sept. 8, 2021, 2:40 p.m.

Error While Loading Shared Libraries

## solution **step1:** First check the dependencies of the execution program ``` >>> ldd [pr…

doporos created at Sept. 6, 2021, 2:41 p.m.

Pip Install Geoip Error: Fatal Error: Geoip.H: No Such File Or Directory

## description When using pip to install GeoIP package under CentOS 7, the following error is re…

doporos created at Sept. 2, 2021, 5:22 p.m.

Win32 Disk Imager Error:An Error Occurred When Attempting To Lock The Volume.Error 5

## Preface Using Win32 Disk Imager to burn the linux image into the SD card error: `An error occ…

doporos created at Sept. 2, 2021, 2:10 p.m.

Error: Cannot Create Test�.Srt Invalid Or Incomplete Multibyte Or Wide Character

## Decompression error Sometimes you will encounter some compressed packages, which will fail to…

doporos created at Aug. 31, 2021, 3:50 p.m.

Error While Loading Error While Loading Shared Libraries

## environment * Distribution: Archlinux ## debug The error is as the title says, here i…

doporos created at Aug. 26, 2021, 3:41 p.m.

Nginx Error: /Configure: Error: The Http Rewrite Module Requires The Pcre Library

## background Error process: Linux terminal run nginx configuration information: (after runni…

doporos created at Aug. 26, 2021, 3:20 p.m.

Standard_Init_Linux.Go:228: Exec User Process Caused: Exec Format Error

## solution Add  `#!/bin/bash`  to the first line of the `run.sh` file in `ENTRYPOINT ["/app/run…

doporos created at Aug. 24, 2021, 12:39 a.m.

Options Error: --Explicit-Exit-Notify Can Only Be Used With --Proto Udp

In openvpn's `server.conf` ``` #explicit-exit-notify 1 ``` This option is enabled and only …

doporos created at Aug. 24, 2021, 12:26 a.m.

Zsh: Exec Format Error

I encountered the above problem when packaging a standalone python environment.  This problem is…

doporos created at Aug. 24, 2021, 12:13 a.m.

Centos6.8: Yumrepo Error: All Mirror Urls Are Not Using Ftp, Http[S] Or File. Eg. Invalid

## step1 View yum configuration ``` vim /etc/yum.repos.d/CentOS-Base.repo ``` ## step2 …

doporos created at Aug. 23, 2021, 12:45 p.m.

Shell Error- Unrecognized Arguments- \

When using linux long commands, we usually use a shell script with \\ branch to show the parameters…

doporos created at Aug. 22, 2021, 10:14 p.m.

Solution For Error: Expat.H: No Such File Or Directory

## error message ``` Parser.cpp:11:19: error: expat.h: No such file or directory Parser.cpp:30…

doporos created at Aug. 18, 2021, 1:11 p.m.

Modify Cenos6.8 Yumrepo Error: All Mirror Urls Are Not Using Ftp, Http[S] Or File, 404 Not Found After Modifying Yum Source

## solution ### try 1 ``` vim /etc/yum/pluginconf.d/fastestmirror.conf ``` Change enable…

doporos created at Aug. 17, 2021, 1:40 p.m.

Solve Nginx 13: Permission Denied While Connecting To Upstream Error

## problem When doing Nginx load, we often encounter this situation: ``` 2018/12/04 11:05:08…

doporos created at Aug. 16, 2021, 7:38 a.m.

Error While Loading Shared Libraries: Libmysqlclient.So.20

## problem After sysbench is installed, the following problems occur when checking the sysbench …

doporos created at Aug. 10, 2021, 5:18 p.m.

Vscode Remote Connection Server Reported An Error: Could Not Establish Connection To "Xxxxxx" [Solved]

Assuming you have done the following configuration and try * Installed Remote -SSH in Extensio…

doporos created at Aug. 8, 2021, 3:54 p.m.

[Myid:3] - Error [Main:Quorumpeer@648] - Unable To Load Database On Disk

## description One of the Zookeepers cannot be started, check the `zookeeper.out` log and find t…

doporos created at Aug. 7, 2021, 4:28 p.m.

Centos Uses The Sftp Command To Transfer Files Between Hosts

**Sftp** is the abbreviation of _Secure File Transfer Protocol_, a secure file transfer protocol. C…

doporos created at Aug. 3, 2021, 5:15 p.m.

Configure: Error: Pcap.H Not Found ...

configure prompt: ``` checking for pcap.h... no configure: error: pcap.h not found ... ``` …

doporos created at Aug. 3, 2021, 5:04 p.m.

Linux System Migration Record (From Hdd To Ssd)

I migrated the Linux on the HDD to the SSD. It was too much trouble to reinstall the system, so I c…

robot18 created at July 28, 2021, 3:17 p.m.

3 Ways To Efficiently Kill All Python Processes Under Linux (Including Scripts.Sh)

3 ways to kill all python processes under linux This article mainly introduces 3 ways to kill al…

robot18 created at July 24, 2021, 11:22 p.m.

Ambari-Server Setu Error: Unexpected Error 'Getpwuid(): Uid Not Found: 1001'

## solution `chown root:root ambari.repo` modify owner here is a example: ``` [root@bigda…

robot18 created at July 11, 2021, 6:20 a.m.

Openstack: Too Many Open Files Error Solution

## description The Openstack WebUI page cannot be opened, and the page reports a 500 error. Chec…

robot18 created at July 4, 2021, 9:09 a.m.