• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统
您的位置:首页 > 操作系统 >RedHat/Centos > linux系统维护常见错误记录

linux系统维护常见错误记录

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-05-12

佚名 通过本文向大家介绍了linux系统常见问题,linux系统常见故障,linux系统常见命令,常见的linux操作系统,常见的linux系统等相关知识,希望对您有所帮助,也希望大家多多支持linkedu.com
一:卸载的时候出现的错误:
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 </div>
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • linux系统维护常见错误记录

相关文章

  • 2017-05-12CENTOS 系统的配置
  • 2017-05-12CentOS上使用Squid+Stunnel搭建代理服务器教程
  • 2017-05-12详解yum命令之–showduplicates的使用方法
  • 2017-05-12linux下安装Zend Optimizer的方法
  • 2017-05-12CentOS下libiconv库的安装和使用介绍
  • 2017-05-12CentOS终端类型及相互转换方式详解
  • 2017-05-12在CentOS系统挂载U盘的解决方案网上没有的
  • 2017-05-12CentOS系统中rpm包管理器的使用技巧
  • 2017-05-12在国外主机上将Linux系统时间修改为北京时间的方法
  • 2017-05-12CentOS 7下网络设备如何命名?

文章分类

  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统

最近更新的内容

    • CentOS下nethogs命令详解
    • Centos安装桌面一键包
    • CentOS 6.4如何安装及设置GlusterFS以解决网络存储的问题
    • CentOS如何卸载系统的OpenJDK?CentOS卸载系统的OpenJDK的方法
    • CentOS如何更换网卡设置?CentOS更换网卡设置的方法
    • 在RedHat系统上修复可能潜在的bash漏洞的方法
    • 让Centos解压打包RAR的实现方法
    • CentOS分区cfdisk操作详解
    • 阿里云CentOS系统yum方式安装vsftpd
    • win下无法ping通VM虚拟机CentOS系统的解决方法

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有