Installation of Check mk agent at Ubuntu
-
@Lakshmana said:
@Lakshmana
I have installed the check mk agent now but there is an issue at xinetd.xinetd is not even running after restarting the services.why?Did you set up xinetd?
-
@scottalanmiller No I have not installed xinetd separately but it automatically installed while installing the check mk agent.
-
@Lakshmana said:
@scottalanmiller No I have not installed xinetd separately but it automatically installed while installing the check mk agent.
It did? So it is installed twice now? It should be there in a base install.
-
@scottalanmiller said:
@Lakshmana said:
@scottalanmiller No I have not installed xinetd separately but it automatically installed while installing the check mk agent.
It did? So it is installed twice now? It should be there in a base install.
It's possible he's using the wrong service name. The package may be named one thing and the service name another.
-
@Lakshmana, what is the result if you run the following?
/usr/sbin/xinetd status
When I run the same command you ran, I get this:
root@jump-server:~# service xinetd status xinetd start/running, process 1354
That means for me the service is running and recognized under that name. If I run htop, I get the following for that PID:
So maybe try this?
service xinetd start
I see you started to do that but never actually ran it. You tried to restart it but if it's not already running, that does you no good.
Thanks,
A.J. -
@thanksajdotcom I have tried the things you have mentioned please verify the screeenshot i have attached with this.
-
Can you do me a favor and run the following command?
sudo apt-get -y install xinetd
What do you get when you run that?
-
@handsofqwerty PLease verify this snapshot
-
@Lakshmana said:
@handsofqwerty PLease verify this snapshot
Ok, have you tried this?
sudo service xinetd start
It might need root privileges to start the service.
-
@handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.
-
@Lakshmana said:
@handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.
Ok, it's usually something simple like that. I run in root mode all the time on all my Linux machines, so I constantly forget to tell people to use "sudo" because I never have to...
-
@handsofqwerty said:
@Lakshmana said:
@handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.
Ok, it's usually something simple like that. I run in root mode all the time on all my Linux machines, so I constantly forget to tell people to use "sudo" because I never have to...
One of the problems of coming from a "root" system like RHEL or CentOS and switching to a "sudo" system like Ubuntu. Need everything prefaced with sudo.
-
@scottalanmiller said:
@handsofqwerty said:
@Lakshmana said:
@handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.
Ok, it's usually something simple like that. I run in root mode all the time on all my Linux machines, so I constantly forget to tell people to use "sudo" because I never have to...
One of the problems of coming from a "root" system like RHEL or CentOS and switching to a "sudo" system like Ubuntu. Need everything prefaced with sudo.
My issue is with the Wordpress utility for Linux that allows you to manage Wordpress via CLI. There are so many things you have to either be root or using sudo to do, but you have to append "--allow-root" to every freaking command that you run as root, even if the command requires root privileges to do what it needs to. It's so stupid!