Learn how to a build a cloud-first strategyRegister Now


Error in .profile file

Posted on 2006-03-20
Medium Priority
Last Modified: 2013-12-27
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.
Question by:player8

Author Comment

ID: 16234140
Hi  all,
Please find the contents of .profile below:


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

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

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


Accepted Solution

kingpukky earned 80 total points
ID: 16235109
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)
LVL 27

Expert Comment

ID: 16243329
just execute a command:
touch ~/local.profile
this will help

Expert Comment

ID: 16246314

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
# . ~finder/local.profile

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month21 days, 3 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question