[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

identifier

Posted on 2013-05-26
10
Medium Priority
?
547 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
  • 4
  • 3
  • 2
9 Comments
 
LVL 14

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 14

Expert Comment

by:Alexander Eßer [Alex140181]
ID: 39198656
Then try to unset this env variable before setting.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 20

Accepted Solution

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

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 20

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 14

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 20

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

873 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