Help! datafile deleted on oracle 9i under redhat linux
Please help me, i delete a datafile from a test tablespace and i don't know
how to fix it on 9i, in 8i is very documented but 9i is a real pain, here
is the error when 'dbstart'ing the db:
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 353440004 bytes
Fixed Size 450820 bytes
Variable Size 167772160 bytes
Database Buffers 184549376 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 28 - see DBWR trace file
ORA-01110: data file 28: '/oradata/alumnos/tablespaces/test2.dbf'
Thank you in advance,
Otto Solares
Can you perform a Tablespace Point In Time Recovery on the specific tablespace?
Similar Messages
-
Fast installation for oracle db under redhat linux 4 update 3
dear sirs...
i know little about linux, however, i create a simple script that will preform pre-installation operations for linux 4 update 3. it will update the files, create oracle user, and so on. you will find its source. if possible i hope someone can upgrade this script such that there it will check the OS packages, and stop the changes if any of the packages is missing.
thanks for any help and best regards.
notes:
1- to use this script, type the text in linux gedit. save it in a file and put the file in a safe place so that every time you want to install the db, you can find it ready.
2- do not use notepad to create the file, it will not work.
3- before you run the script, be sure that all packages needed by the db exists.
4- the script assumes that you have just installed linux for running the database only.
5- to run the script in linux , login as root user, and type . scriptfilename
6- the script should be executed only once.
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -m -g oinstall -G dba oracle
passwd oracle
mkdir -p /home/oracle
chown -R oracle:oinstall /home/oracle
chmod -R 775 /home/oracle
cat >> /etc/sysctl.conf <<EOF
# the following lines are added by a script
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144
EOF
/sbin/sysctl -p
cat >> /etc/security/limits.conf <<EOF
# the following lines are added by a script
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF
cat >> /etc/pam.d/login <<EOF
# the following lines are added by a script
session required /lib/security/pam_limits.so
EOF
cat >> /etc/profile <<EOF
# the following lines are added by a script
if [ \$USER = "oracle" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
EOF
cat >> /etc/csh.login <<EOF
# the following lines are added by a script
if ( \$USER == "oracle" ) then
limit maxproc 16384
limit descriptors 65536
umask 022
endif
EOFNice.
A fair chunk of additional work would go into this to ensure that existing settings are not clobbered, but it should be OK on a new install of Linux.
Why not require that they use the DVD (so you have all RPMs on one media), cd to the RPMS directory and simply 'rpm -i' all the prereq packages? Then you don't need to 'rpm -q' and inspect the status. -
When i installing oracle, after copying the files, it telled me "install successfully" , but when it in the procedure: "Linking Oracle9i Database 9.2.0.1.0", it stop and auto exit.
But I think i should have installed finish. So I try to start it. As below:
sqlplus /nolog
SQL> connect / as sysdba
ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 2: No such file or directory
Additional information: 9925
ORA-01031: insufficient privileges
How can I start it?
Is that because I hadn't set the value of "/proc/sys/kernel/sem" before I install oracle? It's original value is "250 3200 32 128", I don't know what it should be under Redhat Linux 8.0.
Can anybody help me?
thanks.I followed the directions here
http://www.puschitz.com/OracleOnLinux.shtml
Using this I was able to get 9201 installed on both SuSE8.1 and RedHat8.0.
On RH8, You have to hand modify the ins_ctx.mk per his instructions and up the value in /proc/sys/kernel/shmmax per his instructions. I did not hit the binutils issue. Other failures are probably missing rpms, as he describes. -
Installation oracle 9i under Redhat 4
hi everybody,
I'm trying to install oracle 9i under Redhat ES4, and I have this error message,
thanks for your help,
regards
[root@localhost ~]# more /home/oracle/oraInventory/logs/oraInstall2008-12-23_07-
19-22PM.err
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-12-23_07-19-22PM/libactionUn
ix22.so: /tmp/OraInstall2008-12-23_07-19-22PM/libactionUnix22.so: symbol errno,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1314)
at java.lang.Runtime.load0(Runtime.java:698)
at java.lang.System.load(System.java:797)
at ssOiGenClassux22.<clinit>(ssOiGenClassux22.java:25)
at sscreateLinkux.createLink(sscreateLinkux.java:255)
at sscreateLinkux.installAction(sscreateLinkux.java:83)
at oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(OiisComp
Actions.java:1357)
at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.j
ava:1157)
at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:
604)
at CompActions.doActionP1createLink3(CompActions.java:310)
at CompActions.stateChangeActions(CompActions.java:106)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(Oiic
InstallActionsPhase.java:604)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(O
iicInstallActionsPhase.java:2199)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstall
ActionsPhase.java:2052)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInst
allActionsPhase.java:2945)
at java.lang.Thread.run(Thread.java:484)I'm more than a bit confused why anyone would be installing, 10 years after its release, a now desupported version of the product. It seems from what you posted that you are installing on an operating system version that did not exist when 9i (whatever that means - 9.0.3 or 9.2.0.5 are version numbers) was released.
I would suggest installing 10.2.0.1 on Redhat 4, 11.1.0.6 on version 5, finding an ancient version of the O/S if you want 9.x or playing games with the install to see if you can trick it into thinking you have compatibility which is generally speaking a bad idea. -
Installation of Oracle 9i on Redhat Linux 7.3
Hi.
I'm trying to install oracle 9i on Redhat Linux an facing some problems. To start with I had no problem in installing and creating the database, The listener.ora and tsnname.ora files created are similar to what i have on windows 2000( Since i was not able to make oracle working on linux, i tried installing on windows, so as to check and create database for temporary work.), But when i go to the console and type the commands: sqlplus /nolog it says bash: sqlplus:command not found.
2. When i try clicking sqlplus executable file in the bin directory, i get a message that 'Could'nt find the program'.
3. Where can i find the bash_profile file.
4.I'm able to run the database configuration assistant and create new databases without any error.
I would appreciate if some one can help me out.Also are there any special commands, for this is my first experience on linux.
Thanks
PranavIf your shell is bash (which I guess it is) you need to set the environment variables either per user in a file called ~/.bash_profile (probably /home/oracle/.bash_profile) or globally by making a file /etc/profile.d/oracle.sh
you can list .files with ls -la
for now you can either type /opt/oracle/product/9.2.0/bin/sqlplus or type
export PATH=${PATH}:/opt/oracle/product/9.2.0/bin
to add oracle to the path in your current session -
Unable to Install Oracle 9i on redhat linux 9
Hi everybody,
I had been trying to install Oracle 9i on redhat linux 9 since last month and I am not able to succeed in installing the same. In fact I do not get to see even the OUI screen . I give below the steps I followed.
1) Setting of env varibles pertinent to oracle., say ORACLE_HOME,NLS_LANG etc.
2) PATH=$PATH:/usr/local/jdk1.3.1/bin:.
3) export LD_ASSUME_KERNEL=2.4.1
I have a set of 3 CD's for installation. As soon as I load the first CD. the runInstaller would run for sometime and stop, while I do the installation in the graphic mode.
When I try to install the same in the command line mode, I get to see something like the one below
Initializing java jre from /tmp/OraInstall0/... please wait.. and then it would come back to the command prompt.
I then invoke ps -ef | grep -i oracle to check if some process is running and I do get to see something. But ultimately nothing happens.
Please help me with this.At Oracle Site we have a very good manual for 9i installation. Follow the manual step-by-step.
Your problem seems as a java or permissions issue.
good luck
Eduardo -
Audio transmit problem under redhat linux 9
Hi !!
I have already compiled J2sdk1.4.2 and JMF2.1.1e performance pack for linux and they both work alright under Redhat linux 9. JMStudio works fine to playback audio files. The problem I'm having is when I try to transmit and receive audio files through AVTransmit2, AVReceive2 and JMStudio!! They just don't work!!
AVTransmit2 and JMStudio just starts to transmit but on the receiving end both jmstudio and avreceiver2 just waits for rtp data but none arrives!!
Can anyone help me with this problem?? I've already tried spending a whole day cranking my brain about this!!
Thanks in advancemake sure your hostname is somehostname.com , and make sure you have your IP mapped to your hostname in /etc/hosts file.
-
Installation of oracle 10g on RedHat Linux EE 3
Hi,
I am going to Install of oracle 10g on RedHat Linux EE 3, rigth now i am running oracle 9i on windows platform. I need following things:
-I want to export all my data from oracle 9i on windows. For this what is the best way should i transport my tablespace and install oracle 10g on linux and import them after creating db or should i simply export and import it from there.
-Is there any issues that i should look at before i transfer my database.
-We are a Industrial Laboratory and use scientific notation in our database. Would this import export can takecare of all the things or should i set some character set setting before import/export.
-Any thing else if you thing that i should take care.
Thanks & Regard
Rashid K.KYou cannot use transportable tablespace. Platform independent transportable tablespace run only on newer versions (10g). You have to create the tablespaces on you linux machine and than exp/imp (full=y).
Bye, Aron -
Error While Installing ORACLE 10g in Redhat Linux 5.0
Hi all,
Anybody please guide me regarding the posted error.
I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
I tired a lot to sort it out but unable to resolve.So please tell me the possible ways.
I appreciate all types of clarifications...
Thanks in Advance
Sajeev GeorgeSajeevcmc wrote:
Hi,
Thanks for the reply.
Could you please tell me the rpm full name and where i can download the same?
Thanks in Advance
SAJEEV GEORGEYou need to have the following packages installed already before starting Oracle installation
http://download.oracle.com/docs/cd/B19306_01/install.102/b15669/pre_install.htm#sthref80
binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
And from the following link, you can get the same list:
http://www.puschitz.com/InstallingOracle10g.shtml (Go to Checking Software Packages (RPMs))
And from my installation guide you can easily install Oracle on Linux by following step by step instruction
[Step by Step Installing Oracle Database 10g Release 2 on Linux (CentOS) and AUTOMATE the installation using Linux Shell Script|http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Error in Installing Oracle 9i on RedHat LINUX 8.0
When I am trying to install Oracle 9i on RedHat LINUX 8.0 I am getting the Error message " CANNOT COPY INTO THE FILE aurora.zip". I just ignored this and i continued the Installation. But after some time (During installation in LINKING part) i am getting the error message ERROR IN INVOKING TARGET ctx_on OF MAKEFILE /u01/app/oracle/product/9.2.0/rdbms/lib/ins_rdbms.mk
What shall i do for this?are u sure that u can load Oracle 9i on Linux 8.0? i am aware that the three Linux distributions certified for Oracle 10g are:
Red Hat Enterprise Linux 2.1
Red Hat Enterprise Linux 3
Novell SUSE Linux Enterprise Server 8 -
Hi
I have a P-III, 1Ghz 128MB RAM, 40GB HDD pc. There are two OS installed in it,i.e., Win200(prof)and Redhat Linux 9.
As I am undergoing a course in Oracle 9i DBA, I have installed a copy of Oracle 9i Enterprise Edition in my Windows partition and am practising on it. I want to install Oracle 9i in the Linux partition also, but I do not know which one to install. There are so many variants of Linux available for downloading.
As I am pretty new to the field of Linux and Oracle, I am very much confused.
If anybody could help me in figuring out the correct download for my file, it would be very great.
Thanks
Shoeb.No. You have to follow the minimum requirements, which I think is 512MB of RAM.
-
Can you install Oracle 10g on REDHAT LINUX ENTERPRISE WS?
According to oracle documentation, it says you can install oracle10g on Redhat enterprise version 3 or 4, but it doesn't specify whether its Red Hat Enterprise Linux AS or WS. Can you install oracle 10g on Rehat Linux Enterprise WS?
Oracle Certificaction Matrices says only RedHat AS/ES is supported for database. AFAIK WS means workstation.
Also this link is very clear: http://kbase.redhat.com/faq/FAQ_61_1135.shtm
Besides the above sentences... If the WS installation is providing all required packages (listed in installtion prerequisites) I belive that Oracle DB could be installed on WS but as I (and the above link) said it is not officialy supported. -
Is there any Oracle client for RedHat Linux
Hi,
I m searching for the Oracle9i client for RedHat linux. Is it available free. If yes please tell the site name.
thanx
-biyatWhich oracle version u have for Solaris intel
[email protected]
Hi,
We have an oracle server (8i) running on Windows NT. I need a oracle client on Solaris Intel 8 to connect to the Oracle server running on NT.
Thanks
--John -
HELP:link error under redhat linux 9.0(oracle 9.2.0)
i link the demo shipped with oracle 9.2.0,but failed.
error message shows:
/usr/bin/g++ -L/home/oracle/product/9.2.0/lib/ -L/home/oracle/product/9.2.0/rdbm
s/lib/ -o occiproc occiproc.o -locci -lclntsh `cat /home/oracle/product/9.2.0/
lib/sysliblist` -ldl -lm
occiproc.o(.gcc_except_table+0x70): undefined reference to `typeinfo for oracle:
:occi::SQLException'
occiproc.o(.gcc_except_table+0x88): undefined reference to `typeinfo for oracle:
:occi::SQLException'
occiproc.o(.gnu.linkonce.t._ZN8occiprocC1ESsSsSs+0x14): In function `occiproc::o
cciproc[in-charge](std::basic_string<char, std::char_traits<char>, std::allocato
r<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char>
, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::o
cci::Environment::Mode, void*, void* (*)(void*, unsigned), void* (*)(void*, void
*, unsigned), void (*)(void*, void*))'
occiproc.o(.gnu.linkonce.t._ZN8occiprocD1Ev+0x2e): In function `occiproc::~occip
roc [in-charge]()':
: undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle
::occi::Environment*)'
collect2: ld returned 1 exit statusOCCI 9.2 is not supported with gcc3.2. Please search this forum for more details.
-
Pls help!! installling oracle 9i on redhat 8 hangs
Installation hang when configuring tools at listener starts
Anyone encounter this problem, pls give me a hand. Thanks.
Parsing command line arguments:
Parameter "orahome" = /opt/oracle/product/9.2.0
Parameter "instype" = typical
Parameter "inscomp" = client,oraclenet,javavm,server,ano
Parameter "insprtcl" = tcp,tcps
Parameter "cfg" = local
Parameter "authadp" = NO_VALUE
Parameter "nodeinfo" = NO_VALUE
Parameter "responsefile" = /opt/oracle/product/9.2.0/network/install/netca_typ.rsp
Done parsing command line arguments.Oracle Net Services Configuration:
Profile configuration complete.
Oracle Net Listener Startup:
Running Listener Control:
/opt/oracle/product/9.2.0/bin/lsnrctl start LISTENERI installed on RedHat9, but got the same problem.
Add the following environment variable:
LD_ASSUME_KERNEL=2.4.1
You will get 2 more errors (at least I did on RedHat9).
I don't know if you will get the first error on RedHat 8, but I am certain you will get the second error.
I have not been able to find a fix for this one.
First error fails to compile some oem stuff.
make -f ins_oemagent.mk install <<--fails on missing lib references. Not sure why.
For now, I ignored it.
Second error is easily fixed and fail on...
make -f ins_ctx.mk install
Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk
Change the line:
INSO_LINK= -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)sc_ca ...
to
INSO_LINK= -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca ...
You can now retry.
Let me know if you get the same errors I got.
Thanks,
MW
Maybe you are looking for
-
Hi Gurus, Please consider the following scenario. I am using sales order flow (2LIS_11_VAITM) and delivery (2LIS_12_VCITM) Whenever we change or create a sales order in ECC system it would be captured as a delta record and pulled to BW system on the
-
Is it possible to return a HP printer that I did not order from HP?
Back story: Ordered an HP Officejet 6500 E709n wireless all-in-one from an online retailer. It wouldn't connect wirelessy and after trying to instal it 3 times the printer itself "locked up" and none of the buttons would work --including power. So, I
-
Problem retreving data from cluster table
Hi friends, Iam facing a problem while retreving data from a cluster table.. select knumv kposn krech kawrt kbetr waers kpein kmein kwert from konv in
-
Two people sharing one iWeb-site and contributing?
Is there any possiblities in iWeb for me and my brother to create an photoalbum with iWeb and share the same photoalbum from different .mac-accounts? Tip me of other solutions if not possible Thnx.
-
Pfcg roles behind ic webclient profiles
Hi, Can anybody tell what are PFCG roles behind for each IC Webclient profiles like SALES B2B, SALES B2C, SERVICE.... (tx: crmc_ic_main) thanks Tim