Error in .profile file

Hi Everybody,

I am geting the following error whenerver i login to the solaris server:

.profile[13]: ~finder/local.profile:  not found

Can anyone please tell what could be the reason.Please tell me if there is any problem with the settings specified in the .profile file.

Advance Thanks.
Player8
player8Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

player8Author Commented:
Hi  all,
Please find the contents of .profile below:
                 ******************************************
MAIL=/usr/mail/${LOGNAME:?}

PATH=.:/export/home/fndr/finder/bin:$PATH:/usr/openwin/bin:/usr/contrib/bin:/usr/local/bin:/usr/ccs/bin


export PATH
export ORACLE_HOME=/opt/oracle/product/10.1.0.4

#       profile keys for the finder project
. ~finder/local.profile

stty erase "^H" kill "^U" intr "^C" eof "^D"
stty erase ^?

                               *************************
0
kingpukkyCommented:
Ur .profile runs another file from the "finder" user [ . ~finder/local.profile ]
~finder is trying to qualify the finder user's home directory
seems like the file "local.profile" is not present in the finder's home directory.
u might want to change it to the actual profile file present there...

i.e. change ". ~finder/local.profile" to something like ". ~finder/.profile" ( assuming that the .profile is file u want to run)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NopiusCommented:
just execute a command:
touch ~/local.profile
this will help
0
devrick0Commented:
Try

ls -l ~/finder/local.profile

does that file exist?

If not, and you need the "keys for the finder project", you'll need to find out what happened to that local.profile file.  Either what it was renamed to, why it was deleted, and possibly restore the file from backup.

If you don't really need to use that environment setup and that is something put in every user's .profile by default, whether or not they need the ~/finder/local.profile or not, then you can just comment that line out in your .profile.

So change
. ~finder/local.profile
TO
# . ~finder/local.profile
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.