LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2009, 07:40 PM   #1
jijawm
LQ Newbie
 
Registered: Nov 2009
Posts: 9

Rep: Reputation: 0
libvir: Remote error root mail excessive entries


I got this email over and over again on RedHat
Subject: Cron <root@g6lasco> python /usr/share/rhn/virtualization/poller.py
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory

This was fixed by rebooting server, that idea came from this server via a search for libvir: Remote error
 
Old 12-04-2009, 12:07 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
The system was doing what it was supposed to do, notify you in the event something wasn't working as expected. You could modify the script or program that does the notification to check and see how recently it last notified you, but that's about it.
 
Old 03-19-2010, 02:49 AM   #3
roberbizimhatemo
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0
Hi,

I have the same problem. The message is sent every 2 minutes. I removed the package, "rhn-virtualization-host", but it didn't stop, also after rebooting the system.

The file the CRON indidates, "/usr/share/rhn/virtualization/poller.pl", doesn't even exist anymore...

What can I do? Thanks.
 
Old 03-19-2010, 04:02 AM   #4
roberbizimhatemo
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0
OK, I had a backup machine with the same hostname, which was online. That machine sent the mails (no mail logs in production machine).
 
Old 06-11-2010, 11:58 AM   #5
rnsusaisr
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 2
Same symptoms here. I found that there is a libvirtd in /etc/init.d and rather than reboot the server I simply issued the command
"service libvirtd restart". The daemon restarted, libvirt-sock was created in /var/run/libvirt, and the two minute mail
to root stopped.
 
Old 10-07-2010, 11:58 AM   #6
shauncw09
LQ Newbie
 
Registered: Jan 2008
Location: Philadelphia, PA
Distribution: Suse Linux Enterprise Desktop 10.1
Posts: 3

Rep: Reputation: 1
I got the same constant email alert every 2 minutes as shown below:

--------------------------------------------
From: Cron Daemon
Sent: Thursday, October 07, 2010 12:08 PM
To: root@{~hostname~}
Subject: Cron <root@~hostname~> python /usr/share/rhn/virtualization/poller.py

libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory
--------------------------------------------

I finally spent some time on it, found the libvirtd script file under /etc/rc.d/init.d and did the following:

[root]# service --status-all | grep libvirt
libvirtd is stopped

[root]# /etc/rc.d/init.d/libvirtd restart
Stopping libvirtd daemon: [FAILED]
Starting libvirtd daemon: [ OK ]

[root]# service --status-all | grep libvirt
libvirtd (pid 28457) is running...

The emails stopped immediately and no further alerts or problems. And no reboot required.

This is the distribution I'm running:

[root]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

Hope this helps.

Last edited by shauncw09; 10-07-2010 at 12:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libvir: Remote error : remoteDispatchClientRequest: (after update) PrimeMogul Red Hat 1 09-03-2009 04:36 PM
error in message in /var/spool/mail/root nawuza Linux - Newbie 1 09-25-2008 09:33 PM
fstab entries for mounting remote system noir911 Linux - Server 1 05-05-2008 03:25 AM
Logwatch unmatched entries courier mail collen Linux - Server 3 11-22-2006 10:07 AM
Error code 651-740 in root mail nicolas101 AIX 4 06-22-2004 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration