Error in .profile file

Posted on 2006-03-20
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

    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 ^?

    LVL 3

    Accepted Solution

    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

    just execute a command:
    touch ~/local.profile
    this will help
    LVL 5

    Expert Comment


    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

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    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…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now