While I don't have an obvious answer, you can do a few things to narrow
the issue down a bit.
 - Ensure that you know exactly what application is 
   complaining.  Sometimes with unattended scripts the
   problem is not where we think it is.  At the moment
   we will assume that it is PGP that is complaining.
 - Add a check for the exit code of PGP.  If it errors
   with a non-0 exit code, perform some checks to try
   to isolate the problem.  HOW you do this will vary 
   based on the scripting you are using.  
    - Check for the file presence and size (0 sized 
       files are sometimes a problem)
    - Check to see if it is read-only
    - Check to see if it is in a 'writable' state
    - Try copying the file
    - Try deleting the file
    - Try writing to the TARGET file (sometimes errors
       are misleading.  Perhaps it is the TARGET that
       is giving you grief.

Also, you might want to ensure that the script is trained to not call
PGP until after the previous process is complete.  Perhaps it is trying
to encrypt a file that is being written to.

Perhaps that might help.

Wish you luck,
Pete
 
--
Pete Austin
Vice President, eCommerce Services
AXIOM Systems, Inc.
The Managed Care Systems Experts
20300 Century Boulevard, Suite 120
Germantown, MD 20874-1110
www.axiom-systems.com
301 840 3861 x210
240 605 6939 cell
240 465 0051 fax
[EMAIL PROTECTED]



-----Original Message-----
From: Travis Truax [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17, 2005 1:26 PM
To: 'Bonnie A. Boucher'; [email protected]
Subject: RE: [EDI-L] Not exactly EDI related, but sort of -- PGP


This is making some presumptions about what you're doing, and
I don't have any experience with PGP, but just a thought...

Since you stressed the fact that the file is ALWAYS there, is that
because
the file
is never moved, renamed, etc? As in a data file that gets updated and
then
PGPed over to someone? If so, your file may be there but may be locked
for
editing by your application or something of that nature, and then your
PGP
app returns a not-completely-on-target error message.

Just a thought.


-----Original Message-----
From: Bonnie A. Boucher [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 11:08 AM
To: [email protected]
Subject: [EDI-L] Not exactly EDI related, but sort of -- PGP



Hi,

I know that this isn't exactly EDI related, but it sort of it, because
we
use PGP to encrypt our EDI files before FTP'ing them to customers.

I am having problems with my PGP scripts.  I have checked all of the
documentation, (we use McAfee) and called their support line, and
searched
on the Internet and have yet to find a solution.

I have created a script to encrypt a file and then FTP it to our
customer.
Sometimes the process works without issue and other times it fails.  The
message I get when the process fails is that it can't find the file that
it
is trying to encrypt...which is very weird because the file is ALWAYS
there.
The process probably fails at least once a week (it was happening almost
every Friday, and now it has changed to Wednesdays.  This is a scheduled
job, and nothing usual happens when this process runs.  

If anyone has any similar experiences with PGP and can help point me in
the
right direction, I would appreciate it.

Thanks,

Bonnie 





.  
Please use the following Message Identifiers as your subject prefix:
<SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links



 





.  
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to