Nagios(页面)报错: Return code of 13 is out of bounds

简介:

nagios出现这个错误,需检查脚本中是否有写入内容到文件,同时文件的权限是否正常。一般都是文件权限不正确写入失败导致。如果手工执行脚本成功,nagios调用就出错,可以查看运行nagios进程的用户是否同一个。

这边遇到脚本以nagios用户运行,操作root权属的文件失败,报了如上错误。

原文链接:http://blog.sina.com.cn/s/blog_6d40aa8e01013mvx.html





      本文转自独弹古调  51CTO博客,原文链接:http://blog.51cto.com/hunkz/1708829,如需转载请自行联系原作者


相关文章
微信分享报错 wxlog:Error:fail to load Keychain status:-25300 解决办法
微信分享报错 wxlog:Error:fail to load Keychain status:-25300 解决办法
1704 0
|
4月前
|
PHP
PHP显示报错提示,开启display_errors的方法
PHP显示报错提示,开启display_errors的方法
49 0
|
4月前
|
编译器 Serverless Go
Fail to start function, Code:1
Fail to start function, Code:1
27 2
|
8月前
|
监控 Linux Apache
访问zabbix安装页面报错500,apache报错Call to undefined function mb_detect_encoding()
访问zabbix安装页面报错500,apache报错Call to undefined function mb_detect_encoding()
140 0
|
9月前
|
PHP
漏刻有时环境部署:php安装提示Can‘t use function return value in write context
漏刻有时环境部署:php安装提示Can‘t use function return value in write context
38 0
|
9月前
|
SQL 并行计算 数据库连接
ArcSWAT报错:Error Number :-2147467259; 对 COM 组件的调用返回了错误 HRESULT E_FAIL
ArcSWAT报错:Error Number :-2147467259; 对 COM 组件的调用返回了错误 HRESULT E_FAIL
|
Linux
编译OpenJDK8:error: control reaches end of non-void function [-Werror=return-type]
编译OpenJDK8:error: control reaches end of non-void function [-Werror=return-type]
149 0
|
移动开发 PHP
Visual Studio Code中的PHP提示错误:End of line character is invalid
Visual Studio Code中的PHP提示错误:End of line character is invalid
88 0
|
Web App开发 安全
Not allowed to navigate top frame to data URL
Not allowed to navigate top frame to data URL
267 0
|
应用服务中间件 nginx
Nginx代理访问提示ERR_CONTENT_LENGTH_MISMATCH
这种报错一般是因为nginx用户权限不足引起的。 1. 查看日志 打开nginx.conf 配置文件,查看日志位置。 2. 访问让它报错: 3. 修改目录权限 我们看到了它报错无权限,因为我的nginx用户是ftpuser,所以我在/var/lib下执行chown -R ftpuser:ftpuser nginx/修改目录所属用户。
1924 0

热门文章

最新文章