小编Mon*_*lal的帖子

启动 nagios.service 失败:单元 nagios.service 加载失败:没有这样的文件或目录

我一直在关注本教程

$ sudo systemctl start nagios
Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory.
Run Code Online (Sandbox Code Playgroud)

问题的原因是什么?

我有:

$ sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
    Checked 8 services.
    Checked 1 …
Run Code Online (Sandbox Code Playgroud)

httpd centos systemctl

5
推荐指数
1
解决办法
4万
查看次数

操作“configtest”失败

我怎样才能解决这个问题?

我正在使用 Amazon EC2,它是另一个 EC2 实例的映像:

ubuntu@ip:~/LabelMeAnnotationTool-master$ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2-bin apache2-data
Suggested packages:
  apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
The following packages will be upgraded:
  apache2 apache2-bin apache2-data
3 upgraded, 0 newly installed, 0 to remove and 269 not upgraded.
Need to get 1,092 kB of archives.
After this operation, 18.4 kB of additional disk space will be used.
Do you want …
Run Code Online (Sandbox Code Playgroud)

ubuntu ssl amazon-ec2 apache2

0
推荐指数
1
解决办法
2129
查看次数

标签 统计

amazon-ec2 ×1

apache2 ×1

centos ×1

httpd ×1

ssl ×1

systemctl ×1

ubuntu ×1