欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

linux系統(tǒng)維護常見錯誤記錄

  發(fā)布時間:2008-09-17 21:32:34   作者:佚名   我要評論
一:卸載的時候出現的錯誤: 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’
一:卸載的時候出現的錯誤:
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 服務器常用維護命令

    這里我會把網上看到的、自己平時用到的、和感興趣的都整理出來,大部分采納與網絡分享的案例
    2008-09-08
  • Linux日常維護常用命令集合整理

    Linux日常維護常用命令整理,想學習linux的可以參考參考下
    2013-01-14
  • 關于Linux/Unix服務器維護的詳細介紹

    本篇文章小編將為大家介紹,關于Linux/Unix服務器維護的詳細介紹,需要的朋友可以過來參考一下
    2013-04-17
  • linux如何調節(jié)和維護內核詳細介紹

    作為用戶程序和系統(tǒng)硬件之間的接口,內核在確保Red Hat Enterprise Linux 應用到廣泛到物理和虛擬硬件環(huán)境中發(fā)揮來重要作用
    2012-11-19
  • 四大妙招讓新手逐漸掌握linux系統(tǒng)維護

    對于服務器系統(tǒng)來說,Linux服務器相對來說比Windwos服務器要穩(wěn)定與安全。但是對于新手而言,穩(wěn)定安全的Linux服務器仍需要合理及時的維護工作。
    2011-11-05
  • Linux系統(tǒng)硬盤的維護及優(yōu)化

    所有的文件系統(tǒng)隨著時間的推移都趨向于碎片化。Linux文件系統(tǒng)減少了碎片化,但是并沒有消除。由于它不經常出現,所以對于一個單用戶的工作站來說,可能根本不是問題。然而
    2008-09-08
  • Linux運維常用維護命令記錄

    整理一套入門的運維常用命令,希望喜歡Linux的朋友們更快的熟悉并掌握Linux運維,這里沒有太多理論,有的只是干貨,這里我會把網上看到的、自己平時用到的、和感興趣的都整
    2017-01-22

最新評論