报错如下:sftp> put play.zip ./Uploading play.zip
to /opt/library/./play.zipremote open("/opt/library/./play.zip"): Permission
denied原因:sftp登录以后当前所在目录的owne...
分类:
其他好文 时间:
2014-05-10 01:59:10
阅读次数:
828
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_stack.h 完整列表
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its do...
分类:
其他好文 时间:
2014-05-07 07:40:07
阅读次数:
322
selinux限制apacheexec执行cgi一、起因某日发现smokeping访问失败,发布的apache进程不存在;在/usr/local下找不到任何apache文件,怀疑apache是rpm安装,使用/etc/init.d/httpd启动后果真listen8001端口···二、排查1、获取error日志的关键内容启动后尝试刷新8001下的smokep..
分类:
系统相关 时间:
2014-05-06 16:39:10
阅读次数:
689
需求是我们需要对服务器上的流量进行监控,网络上有个流传的check_traffic.sh,它需要被监控机开启snmp。但是感觉都使用上了nagios还要开snmp。。。有点斧子剪刀一起用的感觉,所以就动手写了个监控流量的shell:#!/bin/shusage()
{ echo "Usage: $0...
分类:
移动开发 时间:
2014-05-06 08:46:56
阅读次数:
361
找到\xampp\apache\conf\httpd.conf配置文件Access
forbidden!You don’t have permission to access the requested directory. There is
either no index document or ...
分类:
其他好文 时间:
2014-05-04 11:12:23
阅读次数:
336
1、添加权限:AndroidManifest.xml中必须使用许可”android.permission.INTERNET”,否则会出Web page not available错误。
2、在要Activity中生成一个WebView组件:WebView webView = new WebView(this);
3、设置WebView基本信息:...
分类:
移动开发 时间:
2014-05-01 18:19:58
阅读次数:
480
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
...
分类:
其他好文 时间:
2014-04-29 13:28:21
阅读次数:
398
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
...
分类:
其他好文 时间:
2014-04-29 13:13:21
阅读次数:
309
出现“CHECK_NRPE: Error - Could not complete SSL handshake.”的错误。
问题解决的步骤:
1. 确保openssh , openssl, openssl-devel版本一致。
在centOS 上,可以运行:
yum install openssl openssl-devel
2. nagios监控端的允许地址和...
分类:
其他好文 时间:
2014-04-27 22:18:19
阅读次数:
988
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
解决方法:
setenforce 0...
分类:
移动开发 时间:
2014-04-27 21:18:05
阅读次数:
450