Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Authen::Krb5 Problem

by gw1500se (Beadle)
on Nov 07, 2008 at 14:25 UTC ( [id://722230]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Authen::Krb5 Problem
in thread Authen::Krb5 Problem

The only difference in environment variables that even has a long shot as far as I can tell is the shell. When run from command line it is using 'bash' and when running from 'cron' it is using 'sh'. Does perl even care? I thought perl runs in its own shell. Anyway, sourcing `. /etc/profile` in the script does not help.

Replies are listed 'Best First'.
Re^6: Authen::Krb5 Problem
by Anonymous Monk on Nov 08, 2008 at 04:32 UTC
    No, perl doesn't care. How did you check permissions?
      ls -l
        That would work better if you did something like
        my $permissions = `ls -l`; print LOGFILE $permissions;
        from your foo.pl, from cron, not from console

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found