Solved

identifier

Posted on 2013-05-26
10
520 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
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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
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 explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

914 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now