标签存档: 报错

磁盘空间爆掉时nginx报错 An error occurred

nginx报错了,消息如下错误如下
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
阅读全文——共389字

继续阅读 »

eclipse启动失败,报libxul.so的错误NS_StringGetMutableData_P 处理手记

centos 6.x下折腾了好几天,eclipse,没有使用centos自带的,从eclipse官方下载,但一直报错,错误如下:
[feng@fsc ~]$ /usr/local/eclipse/eclipse
#
# A fatal error has been detected by the Java Runtime Environment:
阅读全文——共1060字

继续阅读 »

php读取调用远程文件时报错Name or service not known/fedora linux下

不知道什么时候,fedora 14上的php读取http远程文件时就报错,像下面这样
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/lib/www/html/myworks/dn2ip/dn2ip.php on line 27
file(),fopen()等函数也有类似情况,如果直接指定ip地址连接是没有问题的,使用php cli也是正常的。另外gethostbyname函数也有问题,$ip = gethostbyname(‘www.baidu.com’); var_dump($ip); 执行结果是浏览器上输出 www.baidu.com,根本没有解析域名,而只把参数传出来,也没有报错,包括warning级别的错误也没有。
阅读全文——共2058字

继续阅读 »