Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: CRON job failing but manual run works

by Dranzaz (Sexton)
on Aug 16, 2012 at 13:32 UTC ( #987764=note: print w/ replies, xml ) Need Help??


in reply to Re: CRON job failing but manual run works
in thread CRON job failing but manual run works

The mispelling was a typo when I was making the post not when I was using "yum".

Proof: Just did this the following:

# yum install perl-Net-OpenSSH
Setting up Install Process
No package perl-Net-OpenSSH available.
Error: Nothing to do
# yum install perl-net-openssh
Setting up Install Process
No package perl-net-openssh available.
Error: Nothing to do

Also, this is not an Ubuntu install. It is a Fedora Core15. Please see the "uname -a" output above.

I did however follow your suggestion on linking/copying the .pm file. I also had to create the OpenSSH directory as ther is a dependant "Constants.pm" file that is also needed. I have updated the crontab and am awaiting the results. I did not get an immediate failure message and while watching the "top" output I am seeing both "perl" and "ssh" populating the list. This is a good sign from past experience with this script. I will update as I have information.


Comment on Re^2: CRON job failing but manual run works
Re^3: CRON job failing but manual run works
by Dranzaz (Sexton) on Aug 16, 2012 at 16:03 UTC

    UPDATE: The issue has been resolved by copying the OpenSSH.pm file and its associated folder from the suers perl directory into the system perl installation. Thanks to everyone for their assistance. As always the monks here rule.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-09-20 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls