LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libvir: Remote error root mail excessive entries (https://www.linuxquestions.org/questions/linux-newbie-8/libvir-remote-error-root-mail-excessive-entries-773335/)

jijawm 12-03-2009 07:40 PM

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

rweaver 12-04-2009 12:07 PM

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.

roberbizimhatemo 03-19-2010 02:49 AM

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.

roberbizimhatemo 03-19-2010 04:02 AM

OK, I had a backup machine with the same hostname, which was online. That machine sent the mails (no mail logs in production machine).

rnsusaisr 06-11-2010 11:58 AM

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.

shauncw09 10-07-2010 11:58 AM

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.


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