Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/systemd/system/naemon.service #448

Open
jonhyat opened this issue Feb 1, 2024 · 2 comments
Open

/etc/systemd/system/naemon.service #448

jonhyat opened this issue Feb 1, 2024 · 2 comments

Comments

@jonhyat
Copy link

jonhyat commented Feb 1, 2024

Hi, I got this error when I run 'sudo systemctl status naemon.service

sudo systemctl status naemon.service
× naemon.service - Naemon Monitoring Daemon
Loaded: loaded (/etc/systemd/system/naemon.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2024-02-01 04:49:41 EST; 28s ago
Docs: http://naemon.org/documentation
Process: 1888669 ExecStartPre=/usr/bin/naemon --verify-config /opt/naemon/etc/naemon/naemon.cfg >
CPU: 7ms

Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: ***> One or more problems was encountered w>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: Check your configuration file(s) to en>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: directives and data definitions. If y>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: version of Naemon, you should be aware>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: may have been removed or modified in t>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: the HTML documentation regarding the c>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx naemon[1888669]: 'Whats New' section to find out what h>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx systemd[1]: naemon.service: Control process exited, code=exi>
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx systemd[1]: naemon.service: Failed with result 'exit-code'.
Feb 01 04:49:41 yat-HP-Laptop-15-dw1xxx systemd[1]: Failed to start Naemon Monitoring Daemon.

@sni
Copy link
Contributor

sni commented Feb 1, 2024

sounds like a "normal" object configration error to me. Have you tried:
naemonctl check

@jonhyat
Copy link
Author

jonhyat commented Feb 1, 2024

I check right now, still the same error
It seems that the naemonctl command is not found, which might indicate an issue with the installation or the executable path. The typical command for checking Naemon configuration is naemon --verify-config

sudo /usr/bin/naemon --verify-config /opt/naemon/etc/naemon/naemon.cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants