Software :: CHECK_NRPE: Error Receiving Data From Daemon

Jun 2, 2010

I have setup Nagios, Nagios Plugins, and nrpe. I have the nrpe running through xinetd.When I run /usr/local/nagios/libexec/check_nrpe -H <my_ipaddress> and I get the error

CHECK_NRPE: Error receiving data from daemon

View 14 Replies


ADVERTISEMENT

Software :: [NAGIOS] Can't Find Check_nrpe After 'yum Install Check_nrpe'?

Jun 28, 2011

I've run 'yum install check_nrpe' which appeared to have completed successfully. If I re-run that command, I get:

Code:
Package nagios-plugins-nrpe-2.12-16.fc14.x86_64 already installed and latest version
But there is no check_nrpe in the /usr/local/nagios/libexec directory. I've tried a which and a whereis and a

[code]....

View 4 Replies View Related

General :: Error CHECK_NRPE: Error - Could Not Complete SSL Handshake

Oct 19, 2010

i have installed nagios in centos 64 bit. but i get this error CHECK_NRPE: Error - Could not complete SSL handshake. i have totally 10 hostgroup definitions. but i'm getting error for only 3 hostgroup definitions other 7 are working fine.

View 1 Replies View Related

Fedora Installation :: Use Update Utility Receiving Error - Repository Data For Installed Repository Not Found

Apr 19, 2010

I just installed Fedora Core 12 and when attempting use the update utility am receiving the following error:

[code]...

View 3 Replies View Related

Networking :: Nagios Not Receiving SNMP Data?

May 18, 2010

I have recently set up nagios on a ubuntu server (9.10), and set it up to monitor all the servers, switches etc, following the quickstart guide provided on the nagios website.My problem is this:I have setup the nagios-plugins, and tried to set it up to monitor the network switches via SNMP but receive the following within the nagios web interface:SNMP problem - No data received from host I tried it from the command line, and got the exact same error.Is there some further configuration I need to do to be able to get this data?I've used up all my google-fu, and read over everyone else's problems on every forum I could find, but to no avail.

View 6 Replies View Related

Software :: Receiving UDP Multicast - Blocks As If There Is No Data

Nov 6, 2010

I am trying to port some MS Visual Studio C++ code to Linux/wxWidgets. The code is socket-based and very similar between Windows and Linux. In Linux the socket, bind, and setsocketopt all return with no error. See:

Code:
BOOL CAV15Input::SetupSocket(BOOL Out)
{ if(pU->PrDebug) {
sprintf(_send,"CAV15Input::SetupSocket for port %d",pSonar->dPort);
pU->OutMsg(_send,1,0); } pSonar->UDP_Sock=0; pSonar->UDPError=0;
pSonar->UDP_Sock=socket(AF_INET,SOCK_DGRAM,0);
if(pSonar->UDP_Sock<0 ) {
pU->OutMsg("socket failed on SetupSocket",11,0);
pSonar->UDP_Sock=0;
pSonar->UDPError|=4;
return FALSE; }
// the AF_INET address family, which contains IP addresses,
local.sin_family=AF_INET;
local.sin_addr.s_addr=inet_addr(pSonar->IP_Add_PC);
local.sin_port=htons(pSonar->dPort);
// from Dave Goffe:
//> int t = 1;
//>
//>setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,&t,sizeof(t));
int t=1; if(setsockopt(pSonar->UDP_Sock,
SOL_SOCKET, SO_REUSEADDR,
(char *)&t,sizeof(t)) <0) {
CloseSock();
pU->OutMsg("set SO_REUSEADDR failed in SetupSocket",11,0);
pSonar->UDPError|=4;
return FALSE; }
if(bind(pSonar->UDP_Sock,(sockaddr *)&local,sizeof(local)))
{ CloseSock();
pU->OutMsg("bind failed in SetupSocket",11,0);
pSonar->UDPError|=8; return FALSE; }
if(pU->PrDebug) {
sprintf(_send,"socket setup & bind OK for port %d",pSonar->dPort);
pU->OutMsg(_send,1,0); }
// Join multicast group
if(pSonar->datatype) // for element data
mreq.imr_multiaddr.s_addr=inet_addr(pSonar->IP_Add_ELD);
else // for beam data
mreq.imr_multiaddr.s_addr=inet_addr(pSonar->IP_Add_HRB);
mreq.imr_interface.s_addr=inet_addr(pSonar->IP_Add_PC);
if(setsockopt(pSonar->UDP_Sock,
IPPROTO_IP, IP_ADD_MEMBERSHIP,
(char *)&mreq,sizeof(mreq)) <0) {
CloseSock();
pU->OutMsg("join multicast failed in SetupSocket",11,0);
pSonar->UDPError|=16;
return FALSE;
} if(pU->PrDebug) {
if(pSonar->datatype) // for element data
sprintf(_send,"join multicast OK on %s",pSonar->IP_Add_ELD);
else // for beam data
sprintf(_send,"join multicast OK on %s",pSonar->IP_Add_HRB);
pU->OutMsg(_send,1,0); }
jMCast=1; return TRUE; }

But then when I try
recv(pSonar->UDP_Sock,&pUDP->u_dg_cM.cM[8],reedlen,0);
it blocks as if there is no data. (In Windows this works fine.) Is there something else in Linux and/or wxWidgets that I'm missing that could prevent UDP datagrams from being received? Is there some way in Linux to monitor incoming UDP traffic?

View 2 Replies View Related

Networking :: Sending / Receiving Data Simultaneously Using BSD Sockets

Jun 25, 2010

I would like to send a data using one thread and receive a data using other thread by using a same socket connection using USD sockets. The calls i am using for sending and receiving are send(), recv(). let me know is it possible to send and receive the data parallel (Full duplex communication)?

View 2 Replies View Related

Fedora :: Finding Out What Processes Sending / Receiving Network Data?

Oct 27, 2010

I have a desklet that, occasionally after toying with network stuff, will tell me that large amounts of data are being sent/received. What's a good way to determine what processes are occupying these resources?!

View 14 Replies View Related

General :: Change Size Of Network Data Receiving Buffer On OS?

Jan 21, 2010

We know that, in a network, data transfer time is dependent on capacity of the receiving node. I have two Linux systems A (sender) and B (receiver) connected. I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data. I believe, I can do this if I can reduce the capacity of the receiver node B. That perhaps possible by decreasing the receiving buffer size of B. How can I change the receiving buffer size of this linux system B?

View 1 Replies View Related

Programming :: Receiving Wrong Data On Winsock From Unix Socket

Jan 28, 2011

currently I've got a big problem on programming with sockets. I use the winsock2 API and want to receive data from a multicast adress running on a UNIX-PC. The connection works fine and I really receive data from this group, but as it seems not the right packages. The received data is saved in a char[]. E.g. at received_msg[12] is a float value. This one I would like to read out, convert and use it in later progress the next value is y at received_msg[16]. The same Code works on a Unix PC with unix sockets but converted to winsock I've got the described problem and I have to make this code work under windows.

Here a piece of the code (received_msg[12]='3f'):

Buffer is a struct containing the two float values x and y. If I convert the char as this under windows the value of x is a huge number. The correct value is around 192, so receveid_message[12] should be 1.92. Could it be that the Unix-PC is sending data in an other way than the winsock receive it?

View 2 Replies View Related

Programming :: Detect A Closed Tcp Client Connection When Client Is Only Receiving Data ?

Mar 9, 2011

I am writing a TCP server in C, and the server listens to incoming client connections and accepts them. It then creates a thread to handle the client. The clients are expected to only receive data from my server and not send any data. So if I use a select() call with a recv(), I believe that the recv() will just block forever since there will not be any data coming from the client. If I use a non-blocking recv(), then this will just return a 0 which tells me nothing because the client is not expected to send any data. I am not sure if I have misunderstood some socket concepts, but I need a solution to detect when the client has disconnected so that I can close the socket and stop sending data to the client. As I understand it, simple ACKs etc are not captured by the recv(), and only data sent by the client will cause recv() to return a non-zero value, so I am not sure how to know when the client has disconnected.

View 7 Replies View Related

Ubuntu :: Receiving This Error After Update Or When Installing New Software?

Jun 26, 2010

im receiving this error after update or when im installing new software i upload the screenshot

View 9 Replies View Related

Ubuntu / Apple :: Fresh Installation - Receiving Sync Error?

Feb 17, 2010

I'm trying to run Mac OSX Leopard + Ubuntu on my Macbook White 4,1. I've read multiple user guides, but for some reason it screwed up when I hit the partition button on rEFit. I received the 'gpsync' (sp?) error. I couldn't delete any of my partitions or make them go back to normal... As we speak I'm wiping my hard drive. I would really LOVE to start over FRESH. With Mac OSX, then to install Ubuntu. How can I go about installing Ubuntu on my Macbook without getting the sync error, and screwing up my partitions. Yes I read the user guide, and yes.. I did it step by step and still received the errors. I would love to fool around on Ubuntu, but the errors were stopping me.

View 9 Replies View Related

General :: Check_NRPE From Ubuntu Server To OpenWRT Router - Connection Refused By Host

May 23, 2011

I am trying to monitorize an OpenWRT (Backfire 10.03, r23115) router from an Ubuntu server, but I am having some problems. I have installed Nrpe (2.12) on the remote host (OpenWRT), I have executed the program as a deamon (/usr/sbin/nrpe -d) but when I start the NRPE deamon, I don't get anything about NRPE executing netstat -at or ps -ef.I would need to install check_nrpe on OpenWRT to find out if NRPE is working, but I can't find any ipk package with it. Now, once in the monitoring host when I try to reach the remote host from the server:

/usr/local/nagios/libexec/check_nrpe -H ip_remote_host

I get: Connection refused by host

Even, trying with localhost:

/usr/local/nagios/libexec/check_nrpe -H localhost

I get the same error: Connection refused by host

I have installed Nagios Plugins and the check_nrpe plugin. I have edited the /etc/nrpe.cfg file:

allowed_hosts=127.0.0.1 ip_server

I don't exactly know if it is remote host's fault, monitoring host's fault or both.

View 14 Replies View Related

Ubuntu :: Gdevils Pie Daemon Error?

Sep 2, 2010

gdevils pie daemon won't start. in lucid, i open from term and get the following errors

pyramid@Pyramid:~$ gdevilspie

** (gdevilspie:210: WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'[code].....

gdevilspie opens fine, and I can select and save rules, but it won't start.

View 9 Replies View Related

Networking :: Daemon.info Dhclient Error

Jul 11, 2011

I am seeing the following error on a linux client..

daemon.info dhclient: No working leases in persistent database - sleeping

is this a problem within the client or related to interaction with DHCP server?

View 1 Replies View Related

Ubuntu :: Receiving Error When Trying To Run In Administrative Mode "failed To Execute Child Process"

Nov 16, 2010

receiving an error when trying to run in administrative mode "failed to execute child process "amddxdg-su"(no such file or directory. how do i resolve this?

View 1 Replies View Related

Debian Installation :: Error From Xend Daemon While Creating Domain

Mar 6, 2011

I get the message when I try to deploy a virtual machine in the virt-mnager.
Unable to complete install: "Post operation failed: xend_post: error from xend daemon: (xend.err "Error creating domain: device model "usr/lib64/xen/bin/qemu-dm" not found")
Unable to complete install '<class 'libvirt.libvirtError'> POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: device model '/usr/lib64/xen/bin/qemu-dm' not found")
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1555, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 973, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1038, in _do_install "install")
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1009, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1277, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: device model '/usr/lib64/xen/bin/qemu-dm' not found")

View 1 Replies View Related

Fedora X86/64bit :: IM-Settings-Daemon Error Cannot Trigger Ibus?

Oct 12, 2009

i think IM-settings is dead. i cannot get ibus or scim work.IM-Settings-Daemon[6769]: CRITICAL **: Giving up to bring the process up because Main Input Method process for ibus rapidly died many times. See .imsettings.log for more details.i have re-installed butProblem has been solved...re-install or update gtk2/glib2 and remove imsettings scim ibus im-chooser etc, everything.re-install imsettings ibus and im-chooser...thats it! i found sometimes the binary is not as good as source....

View 4 Replies View Related

Software :: Timeout Error Occurred Trying To Start MySQL Daemon ?

Sep 22, 2010

for some reason, which I have exhausted all my thoughts upon..

I have mysql 5.0.77

I just made an amendment to the auto_increment_increment variable.. from 10 to 1

Gone to restart mysqld (im on redhat FYI) and get the error:

'Timeout error occurred trying to start MySQL Daemon.'

It fails to stop, and obviously fails to start.

I have included below my 'my.cnf' file but I cant see any issues with it, and can't for the life of me think why there is something wrong.

If I ever come across an issue, I don't tend to ask but instead try and figure it out (usually with success) but this time.. I just cannot get my head around it..

View 7 Replies View Related

Programming :: Bash Daemon Encounters Syntax Error After Midnight?

Feb 24, 2011

I have a daemon script which wakes up every 5 minutes and checks the health of started processes. It works fine during the day but throws a syntax error just after midnight.Here is the log:

(02/22-23:49) Check all started processes
(02/22-23:54) Check all started processes
(02/22-23:59) Check all started processes

[code]....

View 9 Replies View Related

Slackware :: Cannot Install Notification-daemon - Libdbus-glib Error

May 7, 2011

I have slackware 64 13.37 Kernel 2.6.37.6 I am trying to install notifcation daemon so I can use notify-send. I am trying to install the package notification-daemon, via sbopkg using the 13.37 repository. I have installed dependencies: ORBit2, GConf, libsexy.I hit this error during installation of notification-daemon.

/usr/lib/libdbus-glib-1.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

I did previously have gsb gnome 3 installed, but removed that and then lost notify-send.

View 2 Replies View Related

CentOS 5 :: Timeout Error Occured Trying To Start Mysqld Daemon?

Mar 10, 2009

I have Centos 5.1 and im a total newbie. I have managed to get it running with Apache and PHP but after I install mysql it fails to start with the above error. I have removed it as well using YUM and reinstalled it but it still will not start.

View 4 Replies View Related

Fedora Installation :: Error: Unexpectedly Disconnected From Boot Status Daemon

Feb 13, 2009

I downloaded F10 x86_64 live Developer Spin ISO file from fedora project spins website and burned it onto a DVD...Now when I try to boot from it, I get a menu as usual. Here I select the 'boot' option. Now it shows a 'loading' page with a progress bar and 'Fedora 10' written on the right side [as usual].. After that, on the next page I get the following error..

error: unexpectedly disconnected from boot status daemon I somehow did a reboot, and again the same problem. Microsoft XP and another Fedora are already installed on the same system..

View 2 Replies View Related

Fedora Installation :: Timeout Error Occurred While Trying To Start MySQL Daemon

Jul 16, 2009

I am trying to set my root password for my mysql database. After I enter /etc/init.d/mysqld start

[code]...

Timeout error occurred trying to start MySQL Daemon. Then when I try to set the password for my root account I get

[code]...

View 5 Replies View Related

General :: Timeout Error Occurred Trying To Start Mysql Daemon / Resolve This?

Jun 29, 2010

I have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying
"Timeout error occurred trying to start MySql Daemon".

View 4 Replies View Related

CentOS 5 Server :: Timeout Error Occurred Trying To Start MySQL Daemon

Jun 2, 2011

I have a VPS running on centos-5-x86 and mysql server went down two days ago this is my mysql server log

110602 18:28:09 mysqld started
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110602 18:28:14 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.

[Code]...

View 1 Replies View Related

Server :: Receiving An Error Message On Windows Machine Saying "Recipient Address Rejected: Relay Access Denied."

Feb 8, 2010

I am running Postfix 2.6.1 on Suse 11.2, and am receiving an error message on my windows machine saying "Recipient address rejected: Relay access denied." If I login to my email on the local machine or via squirrelmail I have no problem sending mail. The output of postconf -n is as follows:

server:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no

[code]....

View 1 Replies View Related

CentOS 5 :: Error Starting Gnome Settings Daemon - Unknown Return Code 1

May 20, 2011

Getting this error seemingly randomly at login:
There was an error starting the GNOME Settings Daemon.
Some things, such as themes, sounds, or background settings may not work correctly.

The last error message was:
Launch helper exited with unknown return code 1
GNOME will still try to restart the Settings Daemon next time you log in.
I thought I might be logging in to fast, but it happened again when I had waited several minutes.

View 9 Replies View Related

Red Hat / Fedora :: Updating Software Error In Version 12 - Error Getting Repository Data For Installed

Apr 12, 2010

[code]...

How do I fix this?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved