LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-05-2009, 11:33 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Two Error Messages Occurring Every Five Minutes


Hi there --

One of our systems, Red Hat Linux 9, suffered a completely filled root filesystem, and during the course of this issue several directories, and files were overwritten. One example is the X11 library.

The system has been troubleshooted, and for the most part things are back to normal. There are, however, two error messages that are appearing in root's mailbox once every five minutes:

Quote:
Can't locate MRTG_lib.pm in @INC (@INC contains: /usr/bin/../lib/mrtg2 /usr/bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/bin/mrtg line 59.
BEGIN failed--compilation aborted at /usr/bin/mrtg line 59.
The second message is the following:

Quote:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/etc/cron.hourly/diskcheck", line 232, in ?
from socket import gethostname
File "/usr/lib/python2.2/socket.py", line 41, in ?
from _socket import *
ImportError: No module named _socket
The user has been able to run perl without difficulty, but does not regularly use python to say with certainty if there is a problem with it.

The course of action we are thinking of doing, is an re-installation of the perl and python packages to the system. The question is the following: Is this the best approach to take, or are we looking at a more extensive problem with the system? If there is a fundamental problem here, is it possible to do a non-desructive 'repair' install of the operating system? Also, it is not possible at this time to upgrade to a newer version of the OS.
 
Old 01-05-2009, 01:14 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by kaplan71 View Post
The course of action we are thinking of doing, is an re-installation of the perl and python packages to the system. The question is the following: Is this the best approach to take, or are we looking at a more extensive problem with the system?
If 'rpm -qVva' doesn't show more trouble, and your system runs OK, what "more extensive problems" would or do you expect?


Quote:
Originally Posted by kaplan71 View Post
Also, it is not possible at this time to upgrade to a newer version of the OS.
Bummer. I hope you took extra care of hardening and added the right amount of "early warning" in front of it?
 
Old 01-06-2009, 08:10 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
The Perl thing is due to a perl prog using that module. Usually its used by something like Nagios for drawing graphs of performance. Check the email for details of which prog and where.
You can re-install the module as root using

# perl -e shell -MCPAN
cpan> install MRTG
 
  


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
Grub Error 18 repeatedly re-occurring since an install. Siljrath Linux - Newbie 6 12-14-2007 09:46 AM
Postfix: User messages are okay; but error messages themselves seem to be bouncing jgombos Linux - Server 3 03-03-2007 02:21 PM
Sysstat drops a message in /var/log/messages every 10 minutes... how to stop this? zan_messengrr Linux - General 2 11-15-2006 09:40 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:31 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