Solved

identifier

Posted on 2013-05-26
10
530 Views
Last Modified: 2013-05-29
How come this is not a valid identifier

[oracle@term2 db_1]$ export $ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
bash: export: `/u01/app/oracle/product/11.2.0/db_1=/u01/app/oracle/product/11.2.0/db_1': not a valid identifier
[oracle@term2 db_1]$ export $ORACLE_HOME=u01/app/oracle/product/11.2.0/db_1
bash: export: `/u01/app/oracle/product/11.2.0/db_1=u01/app/oracle/product/11.2.0/db_1': not a valid identifier
[oracle@term2 db_1]$
0
Comment
Question by:walkerdba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
10 Comments
 
LVL 13

Expert Comment

by:Alexander Eßer [Alex140181]
ID: 39198609
Have you tried to unset $ORACLE_HOME before?!
0
 

Author Comment

by:walkerdba
ID: 39198623
no I did not do any thing
0
 
LVL 13

Expert Comment

by:Alexander Eßer [Alex140181]
ID: 39198656
Then try to unset this env variable before setting.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 19

Accepted Solution

by:
simon3270 earned 500 total points
ID: 39198685
Just remove the $ before ORACLE_HOME on the "export" line. It should not be there.
0
 
LVL 13

Expert Comment

by:Alexander Eßer [Alex140181]
ID: 39198697
OMG.... My bad :-( Just didn't see the "$". So, simon3270's solution does the trick...
0
 

Author Comment

by:walkerdba
ID: 39203659
fine
0
 
LVL 19

Expert Comment

by:simon3270
ID: 39203776
I think you've accepted the wrong solution (unsetting will have no effect - removing the "$" is the correct fix)
0
 
LVL 13

Expert Comment

by:Alexander Eßer [Alex140181]
ID: 39203800
I totally agree with simon3270, but I have no clue whether it's possible to "move credit points" to another expert?!?
0
 
LVL 19

Expert Comment

by:simon3270
ID: 39203812
Ah, I think I was supposed to "Request Attention" - I'll do that now (I seem to remember that's how the OP would do it).
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

730 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