精品免费在线观看-精品欧美-精品欧美成人bd高清在线观看-精品欧美高清不卡在线-精品欧美日韩一区二区

17站長網

17站長網 首頁 系統 Centos 查看內容

記錄linux系統常見的一些錯誤

2022-11-28 13:15| 查看: 2100 |來源: 互聯網

記錄linux系統常見的一些錯誤一:卸載的時候出現的錯誤: umount /dev/nb1 device is busy 解決:找到是什么進程使得他busy,用 lsof /dev/nb1 . kill掉那個進程,然后重新umount即可。 二:GD2編譯的時候出現的錯誤

記錄linux系統常見的一些錯誤

一:卸載的時候出現的錯誤:

umount /dev/nb1
device is busy
解決:找到是什么進程使得他busy,用 lsof /dev/nb1 . kill掉那個進程,然后重新umount即可。

二:GD2編譯的時候出現的錯誤:
The usual way to define `LIBTOOL’ is to add `AC_PROG_LIBTOOL’
Libtool library used but `LIBTOOL’ is undefined
[Makefile.in] Error 1
解決:缺少編譯安裝的軟件包。如:yum install automake,libjpeg-devel,libpng-devel,freetype-devel,libtiff-devel,autoconf,gettext-devel,libtool

三:安裝 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
解決:以為缺少libbeecrypt.la ,libbeecrypt.so等共享庫,如:yum install libbeecrypt.la
2>/usr/bin/ld: cannot find -lelf
解決:ln -s /usr/lib/libelf.so.1 /usr/lib/libelf.so
3>/usr/bin/ld:can’t not find -lselinux
解決:缺少libselinux 和 libselinux-devel包,如:yum install libselinux

四:Rsync同步常見問題:
錯誤一:
@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(150)
解決:這是因為密碼設置錯了,無法登入成功,檢查一下rsync.pwd,看客服是否匹配。還有服務器端沒啟動rsync 服務也會出現這種情況。
錯誤二:
password file must not be other-accessible
continuing without password file
Password:
解決:這是因為rsyncd.pwd rsyncd.sec的權限不對,應該設置為600。如:chmod 600 rsyncd.pwd
錯誤三:
@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(150)
解決:這是因為你在 rsync.conf 中設置的 path 路徑不存在,要新建目錄才能開啟同步。
錯誤四:
rsync: failed to connect to 218.107.243.2: No route to host (113)
rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]
解決:對方沒開機、防火墻阻擋、通過的網絡上有防火墻阻擋,都有可能。關閉防火墻,其實就是把tcp udp 的873端口打開。

五:軟件安裝的時候常出現的問題:
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)
解決:缺少beecrypt包,如:
http://sourceforge.net/projects/beecrypt下載beecrypt-4.1.2.tar.gz
然后運行如下命令:
#tar -zxvf beecrypt-4.1.2.tar.gz
#./configure
#make

#make install

以上就是小編給大家介紹的記錄linux系統常見的一些錯誤,希望對大家有所幫助,如果大家有任何疑問歡迎給我留言,小編會及時回復大家的!

本文最后更新于 2022-11-28 13:15,某些文章具有時效性,若有錯誤或已失效,請在網站留言或聯系站長:17tui@17tui.com
·END·
站長網微信號:w17tui,關注站長、創業、關注互聯網人 - 互聯網創業者營銷服務中心

免責聲明:本站部分文章和圖片均來自用戶投稿和網絡收集,旨在傳播知識,文章和圖片版權歸原作者及原出處所有,僅供學習與參考,請勿用于商業用途,如果損害了您的權利,請聯系我們及時修正或刪除。謝謝!

17站長網微信二維碼

始終以前瞻性的眼光聚焦站長、創業、互聯網等領域,為您提供最新最全的互聯網資訊,幫助站長轉型升級,為互聯網創業者提供更加優質的創業信息和品牌營銷服務,與站長一起進步!讓互聯網創業者不再孤獨!

掃一掃,關注站長網微信

大家都在看

    熱門排行

      最近更新

        返回頂部
        主站蜘蛛池模板: 色天使色婷婷丁香久久综合 | 黄色小视频观看 | 亚洲欧美久久婷婷爱综合一区天堂 | 91一区二区视频 | 亚洲一级在线观看 | 黄色大片在线免费观看 | xxx国产精品视频 | 久久机热一这里只精品 | 国自产精品手机在线视频香蕉 | 久久视频在线观看免费 | 女人一级毛片 | 一级性生活视频 | 精品中文字幕制服中文 | 日韩亚洲欧美视频 | 风间由美理论片在线观看 | 久久精品免费视频观看 | 一级特黄aaa大片在线观看视频 | 免费看成人毛片日本久久 | 国产精品v欧美精品∨日韩 国产精品www | 国内主播大秀福利视频在线看 | 精品一区二区三区在线观看视频 | www.自拍| 欧美日韩黄色大片 | 国产交换精品一区二区三区 | 风间由美理伦片在线观看 | 久久久久久久免费视频 | 国产主播大尺度精品福利 | 久久日韩精品中文字幕网 | 色视频在线观看视频 | 欧美一区在线观看视频 | 欧美一级毛片免费看视频 | 国产呦系列 | 国产一级做a爱免费视频 | 国产精品视频无圣光一区 | 国产伦码精品一区二区 | 国产菲菲视频在线观看 | 五月天爱爱 | 欧美成人免费全部观看在线看 | 亚洲高清国产一区二区三区 | 国产性感美女视频 | 小明成人免费视频 |