Sphinx 编译的问题及解决办法(sphinxclient.c:1358: error: ‘SO_NOSIGPIPE’ undeclared)

分类:Sphinx,问题集 | 作者:凹凸曼 | 发表于2011/03/14 Sphinx 编译的问题及解决办法(sphinxclient.c:1358: error: ‘SO_NOSIGPIPE’ undeclared)已关闭评论

编译sphinx库 —-libsphinxclient遇到的错误如下: A错误: sphinxclient.c:1358: error: ‘SO_NOSIGPIPE’ undeclared (first use in this function) B错误: .libs/libsphinxclient.a(sphinxclient.o): In function `vi sphinxclient.cset_error’: 解决这两个问题都需要修改sphinxclient.c 文件,如下所示: A错误详细表述: [root@localhost libsphinxclient]# make make all-am make[1]: Entering directory `/usr/local/src/sphinx-1.10-beta/api/libsphinxclient’ /bin/sh ./libtool –mode=compile –tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o sphinxclient.lo sphinxclient.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c sphinxclient.c -fPIC […]

Error: Can’t create a new thread (errno 12)解决方法

分类:Mysql,问题集 | 作者:凹凸曼 | 发表于2011/03/08 Error: Can’t create a new thread (errno 12)解决方法已关闭评论

昨天的忙才了,服务器不太稳定经常挂掉,解决了一个,又遇到另一个问题,搞到了,1点多,呜~~~~ Error: Can’t create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug Errno.: 1135 解决办法: 先停止mysql , 接着打看mysql配置文件, 如:vi /etc/my.cnf 把 thread_concurrency (H.T超线程)这一项注释掉(关闭) 如:thread_concurrency=8改成:#thread_concurrency=8 重启mysql服务就ok了

linux 下mongodb 启动错误!

分类:MongoDB,问题集 | 作者:凹凸曼 | 发表于2011/01/05 2条评论

第一次启动正常, 接着,我修改mongodb的权限 然后,我关闭了mongod,重新启动 就出现下面的错误: old lock file: /usr/local/mongodb/data/mongod.lock. probably means unclean shutdown recommend removing file and running –repair see: http://dochub.mongodb.org/core/repair for more information ************* Wed Jan 5 11:43:52 exception in initAndListen std::exception: old lock file, terminating Wed Jan 5 11:43:52 dbexit: Wed Jan 5 11:43:52 shutdown: going to close listening sockets… Wed Jan 5 11:43:52 […]

Centos Vsftpd 无上传权限 (553 Could not create file)

分类:Vsftpd,问题集 | 作者:凹凸曼 | 发表于2010/12/16 5条评论

Centos Vsftpd 无上传权限 (553 Could not create file)
分类:Vsftpd,问题集 | 作者:凹凸曼 | 发表于2010/12/16 5条评论 编辑
vsftpd有三种访问方式:匿名用户,本地用户和虚拟用户 我采用的 匿名用户 环境虚拟机 Centos 错误表述: [2010-12-16 15:14:49] 553 Could not create file. 错误:> [2010-12-16 15:14:49] 拒绝访问。 能下载,不能上传! 服务器的配置文件 anon_upload_enable=YES anon_mkdir_write_enable=YES 另外还有文件夹权限开成777 也重启的vsftpd服务器 MD还有出现上面错误! 眼睛吹了风疼啊,改天再看了!