service nagios restart Running configuration check...done. Stopping nagios: .done. Starting nagios:T

service nagios restart
Running configuration check...done.
Stopping nagios: .done.
Starting nagios:This account is currently not available.
 done.

解决方法

vi /etc/passwd

将:nagios:x:505:505::/home/nagios:/sbin/nologin

改为:nagios:x:505:505::/home/nagios:/bin/bash

然后启动:service nagios restart

我的问题是解决了,

时间: 2024-07-31 19:56:58

service nagios restart Running configuration check...done. Stopping nagios: .done. Starting nagios:T的相关文章

Starting nagios:This account is currently not available nagios

nagios在启动时报错 # service nagios restartRunning configuration check…done.Stopping nagios: done.Starting nagios:This account is currently not available.done. 这个报错看起来有点碍眼,但实际上nagios是启动正常的.如果要去掉这个信息提示需要把/etc/passwd里的/sbin/nologin修改成/bin/bash (责任编辑:网络) 本文章原

service network restart报错,出现FAILED

在运行service network restart命令时候,显示如下错误 hutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] fgrep: ifcfg-ifcfg-eth0: No such file or directory fgrep: ifcfg-ifcfg-eth0: No such file or directory fgrep: ifcfg-ifcfg-eth0: No suc

虚拟机service network restart没有反应解决方法

一般我们新copy的虚拟机或新克隆的虚拟机第一次启动时都会出现没有ip地址的情况: [[email protected] network-scripts]# ifconfig lo        Link encap:Local Loopback inet addr:127.0.0.1  Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING  MTU:65536  Metric:1 RX packets:16 erro

linux nginx service nginx restart [fail]

命令:nginx -t 查看失败原因: nginx: [emerg] "fastcgi_pass" directive is duplicate in /etc/nginx/sites-enabled/default:61 nginx: configuration file /etc/nginx/nginx.conf test failed 然后找到这样的原因的解决的方法 cd /etc/nginx/site-enabaled/default With php5-cgi alone或者

虚拟机 克隆 设置固定ip eth0 不存在 service network restart失败

前言很重要: 1)如果你看来网上很多设置固定ip的资料,依然没有成功: 2)如果你虚拟机是克隆的,如果你重启网络报错:Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'. 3)如果你没有eth0 那么你很可能来对地方了解决问题:1)设置固定ip,2)克隆的虚拟机重启网络service network restart 报错 步骤: 1.

VMware启动报错:The VMware Authorization Service is not running

The VMware Authorization Service is not running 今天在使用虚拟机的时候,竟然发现不能启动,而且伴有启动虚拟系统报错: The VMware Authorization Service is not running. 截图如下: 故障排除思路: 之前为系统做最大优化时将相关无用启动项及相关服务启动方式做了相应修改: 导致VMware Authorization Service 未启动 系统本地VMware相关服务截图: 解决故障步骤: 1:打开CMD

centos7 无法启动网络(service network restart)错误解决办法

systemctl status network.service 出现以下错误“rtnetlink answers file exists” 的解决方法 和 NetworkManager 服务有冲突,这个好解决,直接关闭 NetworkManger 服务就好了.service NetworkManager stop,再重新输入service network restart就好了.

Spring Configuration Check Unmapped Spring configuration files found

Spring Configuration Check Unmapped Spring configuration files found 项目中有xml文件,但没有被用IntelliJ 导入现有工程时,如果原来的工程中有spring,每次打开工程就会提示:Spring Configuration Check 开始不知道怎么回事,但工程不影响. 工程结构(Project Structure)有一个Facets 选项,可以设置各种框架. Facets中则可以设置当前项目所用的框架,如Hibernat

虚拟机之The VMware Authorization Service is not running

今天上班后,打开虚拟机准备启动操作系统,进行开发工作,不幸的是不能正常启动了,提示信息如下: VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program, access all directories the program uses,  and access all directories for temporary files. The VMwar