这几天在学习python,从昨天开始安装了ubuntu系统以后,就开始研究这个备份文件的例子,可是无论如何,总是不成功,不是说OSError: [Errno
2] No such file or directory:就是说OSError: [Errno 13] Permission denied:这...
分类:
编程语言 时间:
2014-05-09 07:34:56
阅读次数:
525
http://rubyer.me/blog/1682/遇到的问题:1、reason given by
server: Permission
denied在服务器的/etc/export配置文件中加上”no_root_squas”。因为默认为”root-squas”,即默认客户端的root会被映射成匿...
分类:
系统相关 时间:
2014-05-09 03:12:23
阅读次数:
306
当前公司nagios已经正常使用,也能报警,但是邮件报警采用的是sendmail,发件人总是nagios@localhost,收到后经常被加入到邮件中的垃圾箱,并且有些邮箱服务器有反垃圾检测,导致用户接收不到邮件。为解决这个问题,决定自己写一个邮件发送程序。过程如下:1、开发发送邮件脚本[..
分类:
移动开发 时间:
2014-05-08 17:08:44
阅读次数:
505
Linux系统:Ubuntu12.04NagiosLinux客户端需要安装NRPE进行数据收集,如果在Ubuntu系统下安装过程中遇到下面的错误提示:checkingforSSLlibraries...configure:error:Cannotfindssllibraries那么可能是缺少sudoapt-getinstallopensslsudoapt-getinstalllibssl-dev如果nrpe-2.15..
分类:
移动开发 时间:
2014-05-08 17:02:07
阅读次数:
404
定义alias别名格式:alias新的命令名=‘命令执行的绝对路径‘例如:原本检测nagios配置文件的命令路径为/usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/nagios.cfg那么每次执行检测nagios配置文件的时候就要输入这么长命令实在是不方便。我们可以使用alias别名的方式如下..
分类:
其他好文 时间:
2014-05-08 16:26:42
阅读次数:
616
问题: 403 Access DeniedYou are not authorized to view
this page.If you have already configured the Manager application to allow access
and you have used...
分类:
数据库 时间:
2014-05-08 09:12:05
阅读次数:
570
刚安装了Ubuntu 14.04 server的虚拟机,普通帐号可以远程登录,但是root不行,输入密码后一直报错:permission denied最后发现ssh的配置(/etc/ssh/sshd_config)不大一样,14.04的默认配置是:PermitRootLogin without-password
要改成PermitRootLogin yes重启服务即可:restart ssh...
分类:
其他好文 时间:
2014-05-07 15:52:02
阅读次数:
359
Check nagios配置文件报错如下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.6Copyright (c) 2009-present Nagios Core Development Team and Community Contributor...
分类:
移动开发 时间:
2014-05-07 15:47:14
阅读次数:
449
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_queue.h 完整列表
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its document...
分类:
其他好文 时间:
2014-05-06 22:22:55
阅读次数:
402
nagios监控windows主机一,编辑Nagios的主配置文件vi/usr/local/nagios/etc/nagios.cfg把下面这行最前面的#号去掉:#cfg_file=/usr/local/nagios/etc/objects/windows.cfg保存配置文件并退出。二,安装Windows代理程序NSClient++外部构件1.从http://sourceforge.net/projects/n..
分类:
移动开发 时间:
2014-05-06 20:16:41
阅读次数:
530