二: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端口打开。