Hi This is request to DBA man
Q. I have installed Oracle 10g Express edition in Linux
fedora Core 6.When i have run the following script for
ORACLE _HOME environment variable setting . script is ".
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh"
variable is set but it is working only in current session.
If i restart the system again i should run that script. So
haw to set permanently ? even i have try with export command
for that environment set it also does not work.
Q. When i run sqlplus in shell prompt It is working but when
i give user name and password the following error come out i.e
# sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 2
19:45:40 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Enter user-name: system
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory

I have also proper partition of disk means swap memory are
available.
# fdisk -l

Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 7
HPFS/NTFS
/dev/sda2 1276 4870 28876837+ f W95
Ext'd (LBA)
/dev/sda5 1276 3187 15358108+ 7
HPFS/NTFS
/dev/sda6 3188 4672 11928231 83 Linux
/dev/sda7 4673 4863 1534176 82
Linux swap / Solaris

Answer Posted / muthu

please add that script path to .bach_profile
for example .
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the role of dip user in our database?

2041


What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

1967


When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

555


Why would you call update statistics? : sql server DBA

571


how can you initialize log miner?

571






what is grd?

629


What would you do with an "in-doubt" distributed transaction?

1412


what is the diffrence between core dba and apps dba?

2079


. I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

1974


How do you troubleshoot errors in a sql server agent job? : sql server DBA

557


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1539


what is asm?

596


who owns the operating system files created by the utl_file package?

558


I have A,B,C servers.i want to 3 servers jobs move to D server(target server)..how? note: i said that take the backup of msdb and restore to the target server..he said while restoring jobs replaced. what is the solution

1638


List out some of the requirements to setup a sql server failover cluster.? : sql server DBA

699