[OpenAFS] trouble running programs out of AFS after imaging

Dean Knape knape@njit.edu
Mon, 12 Nov 2007 12:18:31 -0500


Jeffrey Altman wrote:
> Dean Knape wrote:
>   
>> For testing and example, I've installed perl and and SSH client in AFS.
>>
>> Start -> Run -> \\afs\uis\platform\local\platform\Perl\bin\perl.exe -V
>> or                \\afs\uis\platform\local\@sys\SSH Secure
>> Shell\SshClient.exe
>>
>> Both fail with error described above.
>>     
>
> Assuming that you sent the entire procmon log to ticket 77066, I see
> absolutely no errors.
>   
That was all of it.
>   
>> If I copy either of these to local disk they do run.  If I run either of
>> these from a command line they do run.
>>     
>
> If you look at the procmon log you will see that perl.exe is never
> executed.  At least not by anything that is captured in the log.
> explorer.exe performs a directory listing, reads the attributes of
> perl.exe and closes the file.  At no point does it attempt to open the
> file, obtain a lock, or read the contents of the file as would be
> necessary to execute it.
>
>   
>> fs checks & fs checkv & fs flusha did not help.
>>     
>
> I wouldn't suspect they would since you are not experiencing "Path Not
> Found" or "Network path unavailable" errors.
>
>   
>> After debugging and preparing for bug submission I uninstalled 1.5.26 and
>> upgraded to 1.5.27.  Still cannot run from explorer.
>>     
>
> Something to note.  You are attempting to run a 32-bit exe from 64-bit
> Server 2003.  I wonder if that is a variable.
>   
I was thinking same but everything runs fine on my base image.  It's 
only after a sysprep that
things fall apart.
> According to your reproduction steps, you need to sysprep the vmware
> image.  Is that really a requirement for reproduction?
>   
This avoids the duplicate SID and AFS UUID problem.


-dean