squid: ERROR: No running copy
2、解决:
查看squid主进程的pid值:
nobody 2376 0.0 0.0 4168 572 ? Ss 00:56 0:00 /usr/local/squid/sbin/squid -D -s -f /etc/squid.conf
nobody 2378 0.0 0.4 6296 4232 ? S 00:56 0:00 (squid) -D -s -f /etc/squid.conf
nobody 2496 0.0 0.0 4016 692 pts/0 R+ 00:59 0:00 grep squid
搞定。
configure: error: Jabber library not found
解决:
# wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz
# tar zxvf iksemel-1.4.tar.gz
# cd iksemel-1.4
# ./configure //此处可不带编译参数
# make && make install
然后再进行zabbix的编译:
# ./configure --prefix=/usr/local/zabbix --enable-server --with-mysql --with-net-snmp --with-jabber=/usr/local --with-libcurl
今天在给CentOS喂吃的时候,突然发现报错了:
[root@CentOS yum.repos.d]# yum -y install xxxxx
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* dag: apt.sw.be * utterramblings: www.jasonlitka.com
* extras: centos.ustc.edu.cn|
* updates: centos.ustc.edu.cn
* base: centos.ustc.edu.cn
* addons: centos.ustc.edu.cn
updates 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 288 kB 00:06
updates : ################################################## 658/658
Setting up Install Process
Parsing package install argumentsResolving Dependencies
--> Running transaction check
---> Package vsftpd.i386 0:2.0.5-12.el5 set to be updated
filelists.xml.gz 100% |=========================| 3.1 MB 01:15
http://apt.sw.be/redhat/el5/en/i386/dag/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror.
Error: failure: repodata/filelists.xml.gz from dag: [Errno 256] No more mirrors to try.
把虚拟机上的系统恢复了干净的快照还是不行,翻遍Google与Baidu,终于在一个不起眼的论坛里面,看到一同病相怜的兄弟也遇到同样的问题。
据后来他自己回复,说只要执行yum clean all就OK了,回去又看了一遍yum命令的参数,是有这个参数呢,不管三七二十一,试一下再说。
执行后,再继续给CentOS喂吃的,这下好了,一下子就吃下去了。。。。。。
今天在编译PHP5.2.6的时候过程中,提示:
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
可能是由于mysql的库不完全,后来在网上搜了N+X小时以后,偶然间发现一贴,情况和我的一样。
后有人回复说要确认mysql-devel是否安装了,我想了一下,系统我就装了mysql和mysql-server,马上rpm查了一下mysql-devel,果然没有安装,安装mysql-server,重新再编译,OK!



