• rsync @ERROR: chdir failed 的解决办法

    日期:

    CwRsyncServer在windows 2003 server上遇到这样的问题: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1495) [rec eiver=3.0.2] 解决办法: 1)新建一个目录比如, 进入 开始菜单cwRsync ServerPrep a Dir fo...

  • linux中配置的crontab不执行

    日期:

    在linux下提供的crontab可以很轻松的帮我们完成一些需要定时处理的任务。 在某些系统下,明明通过terminal可以执行的动作,加入到crontab后却没有执行,检查配置也没有任何问题。 最终发现是由于cron的运行环境(包括path等)可能不是和登陆的当前用户一致造...

  • 解决yum的使用问题

    日期:

    在使用yum安装东西的时候,遇到很诡异的错误,下面把报错内容贴出来: [root@aa lnmp0.8-full]# yum install php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last): File quot;/usr/bin/yumquo...

  • 写错命令,导致crontab任务失败

    日期:

    新装了测试机器,添加了定时任务,结果第二天早上发现定时任务没有运行,自然很郁闷,运行脚本都是正常的,只能非常郁闷的去看日志,在/var/spool/mail/root的邮件里才发现,自己居然吧脚本名字写错了,顿时心中有八万匹草泥马呼啸而过,太失败了,修改过来,...

  • pip install pycurl报错error: command 'gcc' failed with exit status 1

    日期:

    运行pip install pycurl安装pycurl时输出下面信息并报错: Downloading/unpacking pycurl Downloading pycurl-7.19.5.tar.gz (107kB): 107kB downloaded Running setup.py (path:/tmp/pip_build_root/pycurl/setup.py) egg_info for package pycurl Using cu...

  • pip install lxml 报错error: command 'gcc' failed with exit status 1

    日期:

    pip安装lxml时一直示下面的错误, 1 2 3 4 error: command gcc failed with exit status 1 ---------------------------------------- Command /usr/bin/python -c import setuptools, tokenize;__file__= /tmp/pip-build-GXYlqv/lxml/setup.py ; exec (comp...

  • error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: 的解决办

    日期:

    在centos下运行操作mysql的c代码时报错error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory。 我的解决办法比较低级,不过方便些,解决办法: 在ubuntu系统下拷贝/usr/lib/i386-linux-...

  • /lib/ld-linux.so.2: bad ELF interpreter解决,同时解决sscanf不能用的问题

    日期:

    CentOS]安装软件:/lib/ld-linux.so.2: bad ELF interpreter解决 环境: [orangle@localhost Downloads]$ uname -muname -r x86_64 2.6.32-220.el6.x86_64 [orangle@localhost Downloads]$ cat /etc/redhat-release CentOS release 6.2 (Final) ************...

  • epoll/linux支持的最大连接数,文件描述符不够报错信息是too many open files的解决办法

    日期:

    epoll/linux支持的最大连接数,文件描述符不够报错信息是too many open files的解决办法: ulimit -n 1048576...

  • yum出错Error: Cannot find a valid baseurl for repo: base

    日期:

    错误的解决方法是: yum list|grep ncurses yum -y install ncurses-devel yum install ncurses-devel 但是 yum的时候报了Error: Cannot find a valid baseurl for repo: base错误 解决方法如下(修改dns配置) vi /etc/resolv.conf 在此文件中最后加入namese...