Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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/
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
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 166Reputation: 166
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
LQ Newbie
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0

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/", doesn't even exist anymore...

What can I do? Thanks.
Old 03-19-2010, 04:02 AM   #4
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
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
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/

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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 PM.

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