Ubuntu /Etc/Profile error

55 pts.
Tags:
Linux
Ubuntu
I keep getting this error found when loading /etc/profile:
/etc/profile:line 38:8.0_121 Command Not Found
/etc/profile:line 45:20.0_121 Command Not Found
As a result the session with be configured correctly.
You should fix the problem as soon as feasible."
Ubuntu 14.04 32-Bit

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Jaideep Khanduja
    I think you need to check the profile file.
    14,785 pointsBadges:
    report
  • Subhendu Sen
    Have you added some variables/env var? Probably some kind of syntax error/like missing of brace(s). Again review this profile in editing mode and check all the syntaxes are correct.
    77,270 pointsBadges:
    report
  • nik15r
    How do I check profile & syntax?
    55 pointsBadges:
    report
  • Subhendu Sen
    Who edited the /etc/profile, if you did these all, then how did you edit/insert lines/edit profile erstwhile. You can open the file in any text based editing tool on Ubuntu and check the syntax if there is any problem due to this. For editing root privilege is necessary.
    77,270 pointsBadges:
    report
  • nik15r
    Thanks for the reply but I'm new to Linux (Ubuntu). Could you please share the steps for the resolution?
    55 pointsBadges:
    report
  • nik15r
    Thanks for the reply but I'm new to Linux (Ubuntu). Could you please share the steps for the resolution?

     I think profile has change but not find the correct line.

    # ~/.profile: executed by the command interpreter for login shells.
    # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
    # exists.
    # see /usr/share/doc/bash/examples/startup-files for examples.
    # the files are located in the bash-doc package.

    # the default umask is set in /etc/profile; for setting the umask
    # for ssh logins, install and configure the libpam-umask package.
    #umask 022

    # if running bash
    if [ -n "$BASH_VERSION" ]; then
        # include .bashrc if it exists
        if [ -f "$HOME/.bashrc" ]; then
    . "$HOME/.bashrc"
        fi
    fi

    # set PATH so it includes user's private bin if it exists
    if [ -d "$HOME/bin" ] ; then
        PATH="$HOME/bin:$PATH"
    fi
    55 pointsBadges:
    report
  • TheRealRaven
    What is the full path to the file that you posted? It doesn't seem to be the file that is reporting errors since it doesn't have the line numbers that result in the errors.
    20,830 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: