hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : logwatch and Date::Calc
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

logwatch and Date::Calc

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2003, 01:54 PM
cortices cortices is offline
Junior Guru
 
Join Date: Sep 2002
Location: Dallas, TX
Posts: 205

logwatch and Date::Calc


I have logwatch installed and have for a while known that, at least on Redhat 7.3 and Redhat 9 it doesn't report on the exim logs because of a missing Perl module.

The Perl module in question is Date::Calc. When I try to install the module from CPAN, using either their installer or downloading it straight from CPAN, it fails the make test part of the build process and refuses to install.

I also noticed Redhat has a RPM for this Perl module but it has a dependancy on another RPM which has another dependancy on an RPM which does not appear to exist anywhere. Not in any current RPM based distribution according to rpmfind.net.

Has anyone else noticed this problem?

__________________
justin 'at' abrogo.com
http://www.abrogo.com
Shared Unix Hosting

Reply With Quote


Sponsored Links
  #2  
Old 09-10-2003, 02:03 PM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
What's that mysterious rpm that you can't find anywhere?

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #3  
Old 09-10-2003, 02:55 PM
cortices cortices is offline
Junior Guru
 
Join Date: Sep 2002
Location: Dallas, TX
Posts: 205
perl-Carp-Clan is the dependancy upon which perl-Bit-Vector fails. However, if you look into the perl-Bit-Vector RPM's detail, you notice on some versions it provides the Carp-Clan module.

After I posted this, I found aversion of perl-Bit-Vector that does not have this dependancy, however once installed it conflicts with a file in the perl-Date-Calc RPM when installing it. I can force it to install but the exim script for logwatch still does not work, which doesn't suprise me with this somewhat cludgy workraround.

Here are the lines in the exim script that cause it to fail (specifically the second one)...

Code:
eval "require Tie::IxHash" or exit 0;
eval "require Date::Calc qw(Delta_Days)" or exit 0;
The perl script tests to see if i can use the Date::Calc module and upon seeing that it cannot, immediately exits (this can be verified with a couple of prints to STDOUT).

The end result is that logwatch is not reporting exim related information. I could hack a workaround into the exim script but I'm really very surprised noone else is experiencing this problem as it has happened to me on both a RH 7.3 box and an RH 9.0 box (both of them clean installs).

Is anyone getting exim reports through logwatch?

__________________
justin 'at' abrogo.com
http://www.abrogo.com
Shared Unix Hosting

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
10-14-2012 Roswell, NM - The Hosting Shift Blog 2012-10-24 15:14:40
Microsoft Offers Details on Leap Day Azure Outage, Compensates Customers Web Hosting News 2012-03-12 13:17:57
How an out of date website can hurt your business Blog 2011-10-14 15:25:46
Citigroup Says 160,000 More Accounts Compromised in Hack Web Hosting News 2011-06-17 17:40:15
Citi Says 200,000 Customers Credit Card Data Stolen in Hack Web Hosting News 2011-06-09 17:04:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?