[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [TEKNIK] NETRC problem



Hej Nils og Anders,

Tak for feedback. Jeg kunne ikke finde exit koden i csh:

echo $? gav: "Variable syntax"

Prøver med en strace i kaldet af scriptet.

Best Regards/Med venlig hilsen
Torben Andersen

-----Original Message-----
From: Nils Lastein [mailto:sslug@sslug
Sent: 27. februar 2008 10:26
To: sslug@sslug
Subject: Re: [TEKNIK] NETRC problem

Hvilken exit-kode ($?) finder du i det environment perl er kørt?

nils

27/02/08 skrev Torben Andersen <sslug@sslug>:
> Hej guruer,
>
>  Kører på produktionsmaskiner (Solaris) et Perl script, som på en enkelt maskine giver periodiske problemer. Flg. linier får den til at exitte Perl programmet i nogle tilfælde (men ikke altid...):
>
>  Fra starten af programmet:
>  $homeDir = $ENV{HOME};
>  $netrc = "$homeDir"."/.netrc";
>
>  Når den rammer nedenstående exitter den uden fejlmelding, men ikke hver gang:
>
>  open(NETRC, ">$netrc") || die "cannot open $netrc: $!\n";
>  print NETRC "machine $system login $login password $password macdef init\n";
>  print NETRC "ascii\n";
>  print NETRC "lcd $path\n";
>  print NETRC "cd $ftp_path\n";
>
>  Nogen råd??
>
>  Best Regards/Med venlig hilsen
>  Torben Andersen
>  Production Engineer
>
>  Flextronics
>  Special Business Solutions
>  Hjortevej 4
>  DK-7800 Skive
>  Denmark
>
>  +45 96 14 30 00 main
>  +45 96 14 31 50 direct
>  +45 96 14 31 44 fax
>  +45 xx xx xx xx mobile
>
>  http://www.flextronics.com
>
>
>  Legal Disclaimer:
>  The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message
>
>
>


--
Nils



Legal Disclaimer:
The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2008-03-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *