profile issue on Solaris 8

From: Bhavesh Shah (bshah@citadon.com)
Date: Mon Nov 21 2005 - 19:54:07 EST


Hi Gurus,

I have a problem with profile in Solaris 8.

It behaves differently on two boxes. On one box if I run the profile it works fine but on other box it gives me an error:

bash-2.03$ ./profile

bash: ./.profile: cannot execute binary file

bash-2.03$ echo $SHELL

/bin/bash

 For testing I just added a line to .profile as below:

Cat .profile

SID=test

If run the same .profile it works on Box1 but fails with above error on Box2. Both are running Solaris 8 and both users are having bash shell. However if I force #! /bin/sh in .profile it works on box1. Am I missing on Box1 which is causing not to work?

Any pointer is greatly appreciated.

Regards

B

        
        
Search
 <http://qajazz.citadon.com/jazz/Images/line_red.gif?jazzeventid=78bbb959b5e441859c9c43fa4222a838>
         Search
        
 <http://qajazz.citadon.com/jazz/Images/thread_icon.gif> Current Thread <http://qajazz.citadon.com/jazz/Aspx/Portal.aspx?RequestType=DOWNLOAD_CONV&PMaxTagsToDisplay=0&PMaxConvToDisplay=0&conversationId=2ee87a23faa241a49f8e5ed42d38818f> <http://qajazz.citadon.com/jazz/Aspx/Portal.aspx?RequestType=SHOW_USER_CONV&PMaxTagsToDisplay=0&PMaxConvToDisplay=0&conversationId=2ee87a23faa241a49f8e5ed42d38818f>
Tags
profile <http://qajazz.citadon.com/jazz/Aspx/Portal.aspx?LookIn=All&LookForType=Event&AttributeName=Tags&Condition=CT&RequestType=SEARCH_FROM_IMAIL&Scope=Conversation&ScopeId=2ee87a23faa241a49f8e5ed42d38818f&SearchKeyword=profile> (1)
Similar Threads
Check for more... <http://qajazz.citadon.com/jazz/Aspx/Portal.aspx?RequestType=SHOW_USER_CONV&PMaxTagsToDisplay=0&conversationId=2ee87a23faa241a49f8e5ed42d38818f&PMaxConvToDisplay=10>
Attachments
Team
Bhavesh Shah <http://qajazz.citadon.com/jazz/Aspx/Portal.aspx?LookIn=All&LookForType=Event&AttributeName=FromUser&Condition=EQ&RequestType=SEARCH_FROM_IMAIL&Scope=Conversation&ScopeId=2ee87a23faa241a49f8e5ed42d38818f&SearchKeyword=bshah@citadon.com>
sunmanagers@sunmanagers.o... <http://qajazz.citadon.com/jazz/Aspx/Portal.aspx?LookIn=All&LookForType=Event&AttributeName=FromUser&Condition=EQ&RequestType=SEARCH_FROM_IMAIL&Scope=Conversation&ScopeId=2ee87a23faa241a49f8e5ed42d38818f&SearchKeyword=sunmanagers@sunmanagers.org>
Jazz up your email - It's free
Get It Now <http://qajazz.citadon.com/jazz-download/setup.exe>
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:07 EDT