In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "what are the common mistakes in the linux system". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn what are the common mistakes in the linux system.
One: the error occurred when uninstalling:
Umount / dev/nb1
Device is busy
Solution: find out what process makes him busy, using lsof / dev/nb1. Kill drop that process, and then re-umount it.
Second: errors in the compilation of GD2:
The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Libtool library used but `LIBTOOL' is undefined
[Makefile.in] Error 1
Fix: lack of compiled and installed packages. Such as: yum install automake,libjpeg-devel,libpng-devel,freetype-devel,libtiff-devel,autoconf,gettext-devel,libtool
Third, the error occurred when installing snmp:
1 > / bin/sed: can't read / usr/lib/libbeecrypt.la: No such file or directory
Libtool: link: `/ usr/lib/libbeecrypt.la' is not a valid libtool archive
Make [1]: * * [libnetsnmpmibs.la] Error 1
Solution: thinking that shared libraries such as libbeecrypt.la and libbeecrypt.so are missing, such as yum install libbeecrypt.la
2 > / usr/bin/ld: cannot find-lelf
Solution: ln-s / usr/lib/libelf.so.1 / usr/lib/libelf.so
3 > / usr/bin/ld:can't not find-lselinux
Fix: missing libselinux and libselinux-devel packages, such as yum install libselinux
Four: frequently asked questions about Rsync synchronization:
Error one:
@ ERROR: auth failed on module xxxxx
Rsync: connection unexpectedly closed (90 bytes read so far)
Rsync error: error in rsync protocol data stream (code 12) at io.c
Solution: this is because the password is set incorrectly and you cannot log in successfully. Check rsync.pwd to see if the customer service matches. This can also happen if the rsync service is not started on the server side.
Error 2:
Password file must not be other-accessible
Continuing without password file
Password:
Solution: this is because the permissions of rsyncd.pwd rsyncd.sec are incorrect and should be set to 600. For example, chmod 600rsyncd.pwd
Error 3:
@ ERROR: chroot failed
Rsync: connection unexpectedly closed (75 bytes read so far)
Rsync error: error in rsync protocol data stream (code 12) at io.c
Solution: this is because the path path you set in rsync.conf does not exist. You need to create a new directory to enable synchronization.
Error 4:
Rsync: failed to connect to 218.107.243.2: No route to host
Rsync error: error in socket IO (code 10) at clientserver.c [receiver=2.6.9]
Solution: the other party is not powered on, the firewall is blocked, and there is a firewall blocking on the network, all of which are possible. To turn off the firewall is to open port 873 of tcp udp.
Fifth: problems that often occur during software installation:
Configure: error:... No recognized SSL/TLS toolkit detected
# yum-y install openssl-devel
Configure: error: no acceptable cc found in $PATH
Yum-y install gcc-c++
Configure: error: cannot find output from lex; giving up flex is not installed, install flex.
Yum-y install flex
Configure: error: xml2-config not found. Please check your libxml2 installation.
Yum-y install libxml2-devel
Configure: error: Cannot find OpenSSL's
Yum-y install openssl-devel
Configure: error: Please reinstall the BZip2 distribution
Yum-y install bzip2-devel
Configure: error: Please reinstall the libcurl distribution-easy.h should be in / include/curl/
Yum-y install curl-devel
Configure: error: libjpeg. (a | so) not found.
Yum-y install libjpeg-devel
Configure: error: libpng. (a | so) not found.
Yum-y install libpng-devel
Configure: error: freetype2 not found!
Yum-y install freetype-devel
Configure: error: Unable to locate gmp.h
Yum-y install gmp-devel
Configure: error: Cannot find pspell
Yum-y install aspell-devel
Libtool: link: cannot find the library `/ usr/lib/libbeecrypt.la' (librpmio.la: / usr/lib/libbeecrypt.la)
Fix: missing beecrypt package, such as:
Http://sourceforge.net/projects/beecrypt download beecrypt-4.1.2.tar.gz
Then run the following command:
# tar-zxvf beecrypt-4.1.2.tar.gz
#. / configure
# make
# make install
At this point, I believe you have a deeper understanding of "what are the common mistakes in the linux system?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.