I have nagios/nrpe installed on a client and for some reason, the xinetd service is running/checking every minute. The log is just getting larger by the minute with the start and exit of xinetd.
When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.
I have a CentOS 5.4 OpenVZ Virtual Environment running cPanel. I am trying to install nrpe to monitor services running on the VE, but there is a problem with the packages dependencies:
We have Nagios running on a server, and are installing NRPE as a daemon on web servers we need to monitor. I'm two servers in and have hit a small snag. The two servers we're currently trying to monitor are, to the best of our knowledge, very similar (Centos 5.4, Apache, MySQL, PHP etc etc), and the installations of NRPE on them should be the same. One is being monitored just fine, however we can't check on the other one without including the -n switch (to disable SSL) in the check_nrpe call. If we don't, however, the error we get is, "CHECK_NRPE: Socket timeout after 10 seconds.". In /var/log/messages on the machine that fails we see:
May 24 17:23:49 ourserver xinetd[23583]: START: nrpe pid=27932 from=123.123.123.123 May 24 17:23:59 ourserver nrpe[27932]: Could not read request from client, bailing out... May 24 17:23:59 ourserver xinetd[23583]: EXIT: nrpe status=0 pid=27932 duration=10(sec) The only kind of related thing I can think of that's different between the two machines is that one (the one that works) has actually had an SSL certificate installed on it, for the site it hosts.
yesterday I installed my first CentOS system. Before I was always using Debian for my servers. When I configured my vsftpd I was just wondering how to setup xinetd or inetd for listening on ports and starting vsftpd. I found /etc/xinetd.d. But there is no xinetd installed by default. Why? Shall I start all my services in standalone mode? What is the concept of CentOS in this issue?
I installed Subversion and xinetd and added Subversion as a service to xinetd.conf as instructed at http://www.codeandcoffee.com/2007/06...rver-on-linux/
I restarted the xinetd service using /sbin/service. however, Subversion does not end up being listed in /etc/xinetd.d nor does it seem to be running and occupying the port altogether.
I'm setting up my CentOS server and I'm having issue with the VNC server. I've set up xinetd services for connections all of which work individually bringing me to a login window. But only one will work at a time. If I kill the process or if I click the disconnect button I can make a new one but as they are terminal sessions (using wait) I wanted to be able to leave one logged in and have the option of another connection if I wanted to log on a different user.
Can someone help with the setting which would be to allow more than one connection? I know if you setup permanent session paths in vncserver this should work but (and I'm sure this has worked for me in the past) the xinetd method is supposed to open up sessions as required. I am working from a write-up for doing this in Ubuntu and aside from odd path differences the only noticeable change is the guide uses vnc4server rather than vncserver that comes pre-installed on CentOS. Should that matter?
I've been reading the RUTE Linux book and they recommend the use of xinetd to run services. However, this book is already a bit outdated, and I was wondering whether this still applies to today's circumstances?
I've followed all the instructions in nagios documentation to install the nrpe agent in a remote host, but the daemon nrpe is not listening on port.. that means I can't even test it localhost!
netstat -at | grep nrpe returns nothing. You added the nrpe entry to your /etc/services file - done The only_from directive in the /etc/xinetd.d/nrpe file contains an entry for "127.0.0.1" - done xinetd is installed and started - done
Check the system log files for references about xinetd or nrpe and fix any problems that are reported - syslog empty..
Is there anything else I can do to correct this? I configured this yesterday and it was working ok.. but today when got into computer it stopped working
I want to have like 4 machines, each one of them with Nagios and nrpe (plugin+daemon) installed so that every one of the machines could be able to monitor all of the others.. Is there any problem doing this? Or having nrpe+nagios in the same machine is ok?
The communication between nagios and nrpe agent in the monitored host, can be without SSL? The problem is that I have 2 different versions of debian running on the machines and there are problems related to the libssl-dev package!
i tried to install nagios server and nrpe package i am getting some ssl issue i am unable to resolve this problem pls guide me i am using fedora servers i installed nagios,nagios-plugins,nrpe,xineted, and openssl* packages in my local fedora system i am able to login my web browser as a nagiosadmin account i can able to monitor my localhost as well as i installed the nrpe-x.x.x.tar.gz,xineted,openssl* in my remote system. i allowed the nagios server ip in /etc/xineted.d/nrpe.cfg i restarted the xineted service in my remote system i wrote the iptable rules in both systems (I allowed the 5666 port in both systems)
when i run below command i am getting the successfull out put local system and remote system
/usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 /usr/local/nagios/libexec/check_nrpe -H <nagiosserverip> CHECK_NRPE: Error - Could not complete SSL handshake.
someone with good experience of monitoring windows event logs with nrpe or check_nt + nsclient++ give me some good examples of the above. I do have this working, but some of the checks appear inconsistent.
Please help me figure out what's wrong. Other nagios check for the same host is working except for this one.In <hostname>.cfg of nagios server, I need to add this to check for a specific pattern in the host's log:Quote:
define service{ use production-logs host_name hostname
I've got two USB webcams I'm trying to get running with CentOS 5.4 x86_64. I've downloaded and installed the gspca driver from http://mxhaard.free.fr/spca5xx.html. Running lsusb yields:
Bus 002 Device 003: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam Bus 002 Device 002: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam
I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.
i wanna ask if it's possible to install centos on hard2 while am running centos on hard1 then after installation is complete boot from the second hard drive. i dont have physical access to the server, all i can is connect to it through SSH. so is it possible to install centos on the second hard drive from CLI! then boot from it?
I have a Dell E5400 laptop running parallels with guest OS of CentOS 5.4. My problem is when I'm connected via Ethernet all connections are good. When I go wireless, CentOS is dead via network connections. Now according to Dell, I have a DELL 1397 mini card as my wireless card. Searches on the web state that the dell 1397 is another name for Broadcom 43xx wireless card. So after following any information I retrieved from the forum on trying to get the wireless connection up, I'm still having problems. Here is the latest error trying to build a driver using the hybrid_wl software from broadcom:
make -C /lib/modules/`uname -r`/build M=`pwd` make: Entering directory `/usr/src/kernels/2.6.18-164.15.1.el5-i686' CC [M] /usr/local/src/hybrid_wl/src/shared/linux_osl.o CC [M] /usr/local/src/hybrid_wl/src/wl/sys/wl_linux.o CC [M] /usr/local/src/hybrid_wl/src/wl/sys/wl_iw.o
I am running a CentOS 5.5 system which does NOT support VT Technology, so I am unable to use Xen HV. I am very happy with OpenVZ other than the fact that it doesn't support Windows, only Linux.I'd like to have VMWare Server 2.x installed, but it appears that OpenVZ changes the Kernel to, in my case, 2.6.18-194.3.1.el5.028stab069.6. The default kernel on my system is 2.6.18-194.3.1.el5.i386.If I change grub to load 2.6.18-194.3.1.el5.i386, VMWare will work but OpenVZ will not. If I change grub to load 2.6.18-194.3.1.el5.028stab069.6, OpenVZ will work, but VMWare will not.If I try to run /usr/bin/vmware-config.pl while in the 2.6.18-194.3.1.el5.028stab069.6 kernel, I get an error of:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)?Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running kernel?[/usr/ src/ linux/ include]I'm so lost as what to do now..is there anyway I can compile both of the kernels together somehow?
I have seen that is possible to boot from a USB stick and use a USB memory as hard drive.I have a server enable to hold 6 sata drives 3.5", But I want to use the 6 drives and make a Raid-5 setup for backups 5 -1 spare. /boot cannot be on a raid-5 level 0 or 1. But I want to have redundancy for my OS, them I can install Centos on a Raid-1 using 2 disk, which let me only 4 for the raid 5. I will run a backup I want to have a lot of space.
Using 4 disk for raid-5 2 TB I will have 6TB no spare, no spare is not a good option at least I will prefer 1 spare.Well, I was thinking, the server MoBo have USB support, if I open the box I can see the small entrances, If Centos let me installed on a USB memory drive, can I trust a USB memory stick?t night with bacula.
If i run /usr/bin/foo through xinetd and have /etc/xinetd.d/foo conf file something like:
1 service foo 2 { 3 port = 3691 4 socket_type = stream 5 protocol = tcp 6 wait = no 7 user = www-data 8 server = /usr/bin/foo 9 server_args = -x 10 }
Is /usr/bin/foo supposed to be listed in the list of all processes on that machine (ps aux)? i added the conf file, bouced xinetd daemon via /sbin/service, yet foo does not seem to be running. the xinetd doc online seems pretty incomplete.
I am really not very experienced with linux and have only just started working off the command line in windows as well.
I know the basics but I am trying to install R-1 and I was having a lot of difficulties and figured out that it was that xinetd was not running.
So I tried to run it service xinetd start and it said unecognized service so then I installed xinetd and there was already a xinetd.d directory with all of the processes i needed with the .conf file but so when i run xinetd -d
Code:
My xinetd.conf file looks like this:
Code:
# All service files are stored in the /etc/xinetd.d directory # includedir /etc/xinetd.d # End /etc/xinetd EOF
This is what one of the files in xinetd.d looks like
Code:
I need to get xinetd running so that i can finish installing R-1.
http://www.pastebin.org/47041. pixelserv is a http-daemon which returns a pixel for every http-request. It was originally written in perl [url], but this is a tad too heavy for a small linux device like a DD-WRT router [url].
I was able to compile it and it runs fine standalone, but I want to run it under xinetd using this configuration-file.
Code:
When I do a "wget [url]" from the console of that router it will fail with this in /var/log/messages
Code:
It seems it's incompatible with xinetd, but I lack the knowledge and experience to modify this. A whole community will be grateful if someone is able to make this runable under xinetd.
I have Centos 5.3 on our server When I log-in in webmin I have a message "Warning - Your system is actually running CentOS Linux version 5.3." In the next line I have a button "Update Detected Operating System" My question is Do I need to click the link and update Detected operating system? If I do, is it going to change any configuration on our server?
I have a small stats program that I am using to get some sys stats. I am trying to launch this program on a particular port, using the xinetd system deamon. Here is what I am doing ...