LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-17-2015, 07:26 PM   #1
ahmed.vaghar
LQ Newbie
 
Registered: Jul 2015
Posts: 10

Rep: Reputation: Disabled
"After changing the path in bash_profile it is not working


Hello Experts,

I have installed Linux RHEL 6.5 on VM,It use to work as expected,But after changing the path in bash_profile and rebooted,Once i enter the username and password it is showing blank screen.

Please help me out here.

Thanks
Ahmed.
 
Old 07-17-2015, 08:24 PM   #2
fshah
Member
 
Registered: Apr 2013
Posts: 45

Rep: Reputation: 0
Welcome LinuxLq
Ahmed what you change in bash_profile file?
Can you attach file or paste the contents of it?
 
Old 07-17-2015, 10:19 PM   #3
ahmed.vaghar
LQ Newbie
 
Registered: Jul 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks fshah for prompt response.

I have included Oracle_home and Infa_home parameters in bash_profile.I cannot able to go inside to get the file.

Regards,
 
Old 07-18-2015, 12:32 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by ahmed.vaghar View Post
Thanks fshah for prompt response.

I have included Oracle_home and Infa_home parameters in bash_profile.I cannot able to go inside to get the file.

Regards,
Log on as another user or as root. Once you are logged on, open a terminal window, type su - <corrupted username> and repair the profile.
If this doesn't work:

Hitting the three keys CTL and ALT and F2 at the same time should give you a comandline login. Log on as he corrupted user and try to repair the profile.
If this doesn't work:

Boot into commandline mode and try to log on and repair the profile.
Instructions with screenshots http://www.itzgeek.com/how-tos/linux...-6-rhel-6.html, but use "3" instead of "s" in step 5.

If commandline mode doesn't work, same instructions, this time use "s".

You need to have some familiarity with the Linux commandline to do that.

Last edited by berndbausch; 07-18-2015 at 12:35 AM.
 
1 members found this post helpful.
Old 07-18-2015, 08:38 AM   #5
ahmed.vaghar
LQ Newbie
 
Registered: Jul 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you very much.It resolved my issue
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
give path in bash_profile.?? abi Linux - Newbie 3 02-04-2012 04:43 AM
Adding a Path to .bash_profile nexisrocks Linux - Newbie 4 06-20-2007 07:54 PM
kde3.2 $PATH and .bash_profile easywebdev Slackware 2 03-29-2004 04:42 PM
kshell in path & .bash_profile dmartinez Linux - Newbie 3 03-31-2003 10:15 PM
.bash_profile & path Syncrm Linux - General 11 01-30-2002 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration