Solved

identifier

Posted on 2013-05-26
10
533 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

695 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