Solved

identifier

Posted on 2013-05-26
10
517 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

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.

Join & Write a Comment

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

705 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

14 Experts available now in Live!

Get 1:1 Help Now