LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-29-2004, 04:41 PM   #1
maxflex
LQ Newbie
 
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5

Rep: Reputation: 0
Can't run F-Prot with Crontab


I installed F-Prot on my file/print server running Slackware 10. When I try to run update.pl I get an error from CPAN telling me to install HTTP Request. I can run the scan from CLI no problem there, but when I try to run update.pI from my crontab or the CLI I still get the same error. I run CPAN and re-install all module, still get the same error. I re-install Perl and I still get the same error.

Any idea has to what I am doing wrong, Am I missing a step? Any one knows if there is a problem between CPAN and Slack 10?

Thank You,

maxflex

Last edited by maxflex; 07-29-2004 at 08:02 PM.
 
Old 07-30-2004, 04:26 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
try (as root ):
cpan
cpan > install Bundle::CPAN
...
cpan > install HTTP::Request

(press just enter in each case when it asks questions)

Last edited by Cedrik; 07-30-2004 at 04:30 AM.
 
Old 07-30-2004, 08:54 AM   #3
maxflex
LQ Newbie
 
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Cedrik,

I ran CPAN once more so I could give the exact error here it is;

Failed 1/41 test scripts, 97.56% okey. 1/761 subtests failed, 99.87% okay.
make: *** [ test } Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned a bad status, won't install without force

I did try installing using force and I still get the same error
 
Old 07-30-2004, 09:01 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
From F-Prot's page:
<quote>

4.3 F-Prot Antivirus Updater Requirements
The Updater script was written for perl 5.8 and is dependant on the following perl modules:

NET::FTP
IO::File
HTTP::Request
HTTP::Response
LWP::UserAgent

and one external program: 'unzip' (the directory of the unzip binary needs to be in the $PATH environment variable.)

To install the required modules, you can use the following from the CPAN shell:

To enter the CPAN shell:
perl -MCPAN -e shell

To install modules:
cpan> install Bundle::libnet
cpan> install Bundle::LWP
cpan> install IO
cpan> quit

</quote>

EDIT: Forgot to include the url to fprot's help
http://www.f-prot.com/support/helpfi..._ws/index.html

Last edited by gbonvehi; 07-30-2004 at 09:05 AM.
 
Old 07-30-2004, 03:49 PM   #5
maxflex
LQ Newbie
 
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks gbonvehi,

But been there and done that already, I also been reading all doc about PEARL and CPAN for the last few days and still I am no further ahead. But I do appreciates all of your help.

Thanks
 
Old 07-30-2004, 04:25 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I never could get the automatic update working due to Perl/CPAN errors.
But it is easy to use wget to download the updates from F-Prot.
Do a shell script if desired.
 
Old 07-31-2004, 08:26 AM   #7
maxflex
LQ Newbie
 
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks 2damncommon,

I was really trying to found out if I was going something wrong but from your post, I can see that others had the same problem. I guess I will write the script to get it going. Thanks again for the info.
 
Old 07-31-2004, 10:11 AM   #8
maxflex
LQ Newbie
 
Registered: Jul 2004
Location: Calgary,AB,CA
Posts: 5

Original Poster
Rep: Reputation: 0
Just to let you know. I finally was able to get F-Prot check-updates.pl running. All I can say is that I was doing everything right just not often enough!!!! I had to run the following from the CPAN shell 5 times before it worked.

cpan> install Bundle::libnet
cpan> install Bundle::LWP
cpan> install IO
cpan> quit

Now I can move on to the next project. But I would like to Thank all of you for your input, It did help me to stay focus on the problem.

Again Thanks.
 
  


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
crontab and run-parts gavinbeatty Slackware 4 09-13-2005 06:56 PM
Script doesn't run in crontab dani81 Linux - General 1 11-16-2004 03:42 AM
Can't run check-updates.pl for F-PROT azebuski Linux - Security 1 11-08-2004 04:02 PM
Can't run F-Prot complete scan narose Linux - Software 9 10-18-2004 01:48 PM
How to run useradd from crontab? adrianphicks Linux - Enterprise 3 08-03-2004 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:17 PM.

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