AIX - sqlplus not found.
Hi all,
-- How to check who is owner of folder / file in AIX 5.3 and how to givepermission of folder to particular user?
-- Which folder needs to give permission before creation of db?
-- How to set profile in AIX? bcoz i set ORACLE_BASE,ORACLE_HOME,PATH in one terminal windows n export it. but when i open another terminal, i couldnt invoke sqlplus from Oracle user logged in. Why?? I have also set this parameters in .profile under /home/oracle from root login. OS-IBM AIX 5.3 -- Oracle 9i R2
Regards,
Amit.
Amit_P wrote:
Hi ravindra,
I found from google only that need to set profile. I tried myself ... .profile file which is at /home/oracle is something like this... but when i connect AIX as oracle user, it should be set automatically but tht didnt happen. i need to set every variable in each terminal session.
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi
PATH=$PATH:/oracle/9201/db_1/bin
put export PATH here.
ORACLE_PATH=/oracle/9201/db_1/bin
export ORACLE_PATHORACLE_PATH user is not needed as far as I know.
ORACLE_OWNER=oracle
export ORACLE_OWNER
ORACLE_HOME=/oracle/9201/db_1
export ORACLE_HOME
ORACLE_BASE=/oracle/9201
export ORACLE_BASE
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/oracle/9201/db_1/lib
export LD_LIBRARY_PATH
--------------------------------------------Hope this helps.
Regards.
Similar Messages
-
Sub: /usr/bin/ksh: sqlplus: not found.
Hi,
I installed Oracle 9R2 client on one server and i'm not able to execute sqlplus command it's throwing following error's
:oracle:/home/oracle#sqlplus
/usr/bin/ksh: sqlplus: not found.
:oracle:/u01/app/oracle/product/9.2.0#sqlplus
/usr/bin/ksh: sqlplus: 0403-006 Execute permission denied.
then i gave 777 permission to /u01/app/oracle/product/9.2.0
if i execute /u01/app/oracle/product/9.2.0/bin#sqlplus
i can able to connect
this is the Env variable i set in the .profile(AIX 5.2) PATH=/usr/bin:/etc:/usr/sbin:$ORACLE_HOME/bin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
Can anyone help me on this
Thanks!
Krishna Rthen i gave 777 permission to /u01/app/oracle/product/9.2.0well, I would not do that...
-
Ksh: sqlplus: not found.
Hi all,
i can logon to oracle db as id=oracle but when i try
to connect to sqlplus as a regular user, i got this error ksh:sqlplus not found
i've configured the .profile as
PATH=/oracle/app/oracle/product/10.2.0/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bi
n/X11:/sbin:.
export PATH
if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi # periodically.
AIXTHREAD_SCOPE=S; export AIXTHREAD_SCOPE
umask 022
ORACLE_BASE=/oracle/app/oracle; export ORACLE_BASE
ORACLE_SID=mySID; export ORACLE_SID
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
also applied
chmod 6751 $ORACLE_HOME/bin/oracle, but no luck
any idea?
oracle 10.2.0.4
AIX 5.3
thanks$ls -ltr $ORACLE_HOME
-rwxr-x--- 1 oracle oinstall 0 Jun 07 2005 root.sh.old
drwxr-xr-x 3 oracle oinstall 256 Mar 10 05:22 wwg
drwxr-xr-x 4 oracle oinstall 256 Mar 10 05:22 uix
drwxr-x--- 3 oracle oinstall 256 Mar 10 05:22 tg4sybs
drwxr-xr-x 3 oracle oinstall 256 Mar 10 05:22 sqlj
drwxr-xr-x 3 oracle oinstall 256 Mar 10 05:22 slax
drwxr-xr-x 6 oracle oinstall 256 Mar 10 05:22 perl
drwxr-xr-x 4 oracle oinstall 256 Mar 10 05:22 owm
drwxr-xr-x 8 oracle oinstall 256 Mar 10 05:22 ord
drwxr-xr-x 4 oracle oinstall 256 Mar 10 05:22 oracore
drwxr-x--- 4 oracle oinstall 256 Mar 10 05:22 opsm
drwxr-xr-x 5 oracle oinstall 256 Mar 10 05:22 olap
drwxr-xr-x 6 oracle oinstall 256 Mar 10 05:22 nls
drwxr-x--- 6 oracle oinstall 256 Mar 10 05:22 md
drwxr-xr-x 3 oracle oinstall 256 Mar 10 05:22 jre
drwxr-xr-x 7 oracle oinstall 256 Mar 10 05:22 javavm
drwxr-xr-x 5 oracle oinstall 256 Mar 10 05:22 has
drwxr-x--- 3 oracle oinstall 256 Mar 10 05:22 encryption
drwxr-x--- 3 oracle oinstall 256 Mar 10 05:22 emdw
drwxr-xr-x 3 oracle oinstall 256 Mar 10 05:22 diagnostics
drwxr-x--- 3 oracle oinstall 256 Mar 10 05:22 demo
drwxr-xr-x 6 oracle oinstall 256 Mar 10 05:22 crs
drwxr-x--- 4 oracle oinstall 256 Mar 10 05:22 clone
drwxr-x--- 3 oracle oinstall 256 Mar 10 05:22 bali
drwxr-xr-x 7 oracle oinstall 256 Mar 10 05:22 assistants
drwxr-xr-x 7 oracle oinstall 256 Mar 10 05:22 plsql
drwxr-x--- 2 oracle oinstall 256 Mar 10 05:22 mesg
drwxr-xr-x 6 oracle oinstall 256 Mar 10 05:24 xdk
drwxr-xr-x 4 oracle oinstall 256 Mar 10 05:24 jdbc
drwxr-xr-x 4 oracle oinstall 256 Mar 10 05:24 relnotes
drwxr-x--- 7 oracle oinstall 256 Mar 10 05:24 mgw
drwxr-xr-x 2 oracle oinstall 256 Mar 10 05:24 endorsed
drwxr-xr-x 10 oracle oinstall 256 Mar 10 05:24 sqlplus
drwxr-x--- 7 oracle oinstall 256 Mar 10 05:24 css
drwxr-xr-x 3 oracle oinstall 256 Mar 10 05:24 cdata
drwxr-xr-x 7 oracle oinstall 256 Mar 10 05:24 opmn
drwxr-xr-x 13 oracle oinstall 4096 Mar 10 05:24 srvm
drwxr-xr-x 7 oracle oinstall 256 Mar 10 05:24 racg
drwxr-xr-x 14 oracle oinstall 4096 Mar 10 05:24 ldap
drwxr-x--- 2 oracle oinstall 256 Mar 10 05:24 config
drwxr-xr-x 12 oracle oinstall 4096 Mar 10 05:27 network
-rwxr-xr-x 1 oracle oinstall 9528 Mar 10 05:27 root.sh.old.1
drwxr-x--- 15 oracle oinstall 4096 Mar 10 05:27 oc4j
drwxr-x--- 7 oracle oinstall 256 Mar 10 05:27 hs
-rw-r--r-- 1 oracle oinstall 66 Mar 10 05:51 oraInst.loc
-rw-r----- 1 oracle oinstall 38 Mar 10 06:02 install.platform
drwxr-xr-x 10 oracle oinstall 4096 Mar 10 06:02 jdk
drwxr-xr-x 5 oracle oinstall 256 Mar 10 06:02 OPatch
drwxr-xr-x 7 oracle oinstall 4096 Mar 10 06:02 oui
drwxr-xr-x 2 oracle oinstall 4096 Mar 10 06:02 jlib
drwxr-xr-x 14 oracle oinstall 4096 Mar 10 06:02 sysman
drwxr-xr-x 10 oracle oinstall 256 Mar 10 06:02 precomp
drwxr-xr-x 3 oracle oinstall 256 Mar 10 06:02 odbc
drwxr-x--- 7 oracle oinstall 256 Mar 10 06:02 ccr
drwxr-x--- 11 oracle oinstall 4096 Mar 10 06:02 ctx
drwxr-x--- 3 oracle oinstall 256 Mar 10 06:03 tg4tera
drwxr-x--- 3 oracle oinstall 256 Mar 10 06:03 tg4ingr
drwxr-x--- 3 oracle oinstall 256 Mar 10 06:03 tg4ifmx
drwxr-xr-x 15 oracle oinstall 4096 Mar 10 06:04 rdbms
drwxr-xr-x 2 oracle oinstall 8192 Mar 10 06:07 lib32
-rwxr-x--- 1 oracle oinstall 11524 Mar 10 06:08 root.sh
drwxr-xr-x 3 oracle oinstall 12288 Mar 10 06:08 lib
drwxr-x--- 14 oracle oinstall 4096 Mar 10 06:08 inventory
drwxr-x--- 7 oracle oinstall 256 Mar 10 06:37 cfgtoollogs
drwsr-sr-x 2 oracle oinstall 16384 Mar 11 00:14 bin
drwxr-x--- 5 oracle oinstall 4096 Mar 11 03:35 install
drwxr-xr-x 3 oracle oinstall 256 Mar 11 07:12 log
drwxr-x--- 2 oracle oinstall 4096 Mar 11 07:23 dbs -
Hello,
8.1.7 on UNIX (generic). With a new SID in the Oracle profile, starting SQLPLUS returns "not found" instead of connecting to an idle instance. ORATAB, TNSNAMES, LISTENER.ora are updated, link to pfile and orapw file created.
All works correcly when the SID that was created on install is used.
On my last project with 8.1.6, a new or unknown SID would start an idle instance. LSNRCTL gives the same message with a new SID in the profile.
Any ideas on what is missing ?
Thanks,
Kevin LangIf you get "sqlplus: not found" then the OS cannot find the sqlplus executable. Triple check how you change "just" the ORACLE_SID, and make sure that your PATH environment variable is not being updated, or is being correctly updated. [From the message you are getting I think you're using 'sh' or 'ksh'. But if you are using 'csh' then you might need to execute 'rehash' if the PATH is changed.]
Using the '/nolog' option to SQL*Plus may eliminate the different ORACLE_SID as an issue.
- CJ -
Sqlplus not found after db install on linux
Hi gurus,
i have installed oracle db 10gr2 on linux redhat 5, installation was successfull but when i run sqlplus /nolog at the terminal i get -bash: sqlplus: command not found.
Below are other information you may need:
[oracle@abg-dom-12 102]$ ls -rtl /ORACLE
total 40
drwxr-x--- 3 oracle oracle 4096 Mar 1 13:23 oradata
drwxr-x--- 3 oracle oracle 4096 Mar 1 13:23 admin
drwxr-x--- 3 oracle oracle 4096 Mar 1 13:24 flash_recovery_area
drwxrwxr-x 6 oracle oracle 4096 Mar 1 13:57 oraInventory
drwxr-x--- 60 oracle oracle 4096 Mar 1 14:19 102
[oracle@abg-dom-12 102]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/ORACLE/102/lib
[oracle@abg-dom-12 102]$ ls -l $ORACLE_HOME/bin/sqlplus
-rwxr-x--x 1 oracle oracle 7311 Mar 1 13:22 /ORACLE/102/bin/sqlplus
[oracle@abg-dom-12 102]$ which sqlplus
/usr/bin/which: no sqlplus in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/ORACLE/102/lib)
DB VERSION = 10GR2
OS PLATFORM = LINUX REDHAT 5
Your help is very much appreciated.
Thank you.Thanks for your response. Please find below output from the commands:
[oracle@abg-dom-12 102]$ id
uid=500(oracle) gid=500(oracle) groups=500(oracle) context=user_u:system_r:unconfined_t
[oracle@abg-dom-12 102]$ env | sort
_=/bin/env
CVS_RSH=ssh
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=abg-dom-12
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/ORACLE/102/lib:/ORACLE/102/lib32
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
OLDPWD=/home/oracle
ORACLE_BASE=/ORACLE
ORACLE_HOME=/ORACLE/102
ORACLE_SID=GHADB
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/ORACLE/102/lib
PWD=/ORACLE/102
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
TERM=xterm
USER=oracle
[oracle@abg-dom-12 102]$
[oracle@abg-dom-12 102]$ find / -name sqlplus -print 2>/dev/null
/ORACLE/102/sqlplus
/ORACLE/102/inventory/Templates/sqlplus
/ORACLE/102/bin/sqlplus
/ORACLE/102/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
[oracle@abg-dom-12 102]$ -
InstallCCRSQL can only be run in a database ORACLE_HOME, SQL*Plus not found
Hi
I tired using the in-built OCM feature available in WLS 10.3.3 (C:\Fusion11g\utils\ccr)
I ran the bin\setupCCR.exe and gave the relevant details like CSI, country code and email id
It was successful saying "Oracle Configuration Manager successfully started."
then i tired - ccr\admin\scripts\installCCRSQL collectconfig -s xe
But i am getting the
InstallCCRSQL can only be run in a database ORACLE_HOME, SQLPlus not found.*
ORACLE_HOME here set to ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0
Q1 - Can any one help me on this where i am going wrong..
Q2 - when i tired to collect the configuration via - ccr\bin\emCCR.bat collect , i am getting the "Collection and upload done." message, but i dont find the ocmconfig.jar under ccr/state/upload folder. ???
Thanks, SeshaI am facing the similar issue. Please can someone reply on this thread?
-
ORACLE_HOME disappeared, SQLPLUS - bash: sqlplus: command not found
OK, I am a newbie but am having real difficulty with my 10G DB which I had set up on Unix Solaris box but someone was messing around with it and now I can't see ORACLE_HOME, ORACLE_BASE and ORACLE_SID, they all return blank when I try to "echo" each.
I realise I should have originally set it in Bash_profile, but is now too late.
So how do I set them back up, I cannot get SQLPLUS / AS SYSDBA.........bash: sqlplus: command not found
I have tried to reset and export but still doesn't work.
I got the ORACLE_BASE as:
training:/export/home/training/product/10.2.0/Db_1:N
but can't seem to set the three variables to run SQLPLUS, any ideas what I am doing wrong?
Tried messing around to reset but nothing works, this is the present state of affairs:
env
SSH_TTY=/dev/pts/3
USER=training
ORACLE_SID=training
ORACLE_BASE=/oracle/app
PATH=/usr/sbin:/usr/bin
PWD=/export/home/training/product/10.2.0/Db_1/bin
TZ=Eire
PS1=\e[33m\h\e[31m-\u-\e[33m\W/\e[31m-$\e[32m
SHLVL=3
HOME=/export/home/training
LOGNAME=training
ORACLE_HOME=/oracle/app/product/10.2.0
Can someone help me, really need a step by step guide to set these back up properly.
Thanksjust retyped the last one correctly:
find / -name sqlplus -ls
find: cannot read dir /var/lib/gdm: Permission denied
find: cannot read dir /var/lib/log/gdm: Permission denied
find: cannot read dir /var/mysql: Permission denied
find: cannot read dir /var/dt/sdtlogin: Permission denied
find: cannot read dir /var/core: Permission denied
find: cannot read dir /var/run/smc898: Permission denied
find: cannot read dir /var/spool/clientmqueue: Permission denied
find: cannot read dir /var/spool/mqueue: Permission denied
find: cannot read dir /var/fm/fmd/rsrc: Permission denied
find: cannot read dir /var/fm/fmd/ckpt: Permission denied
find: cannot read dir /var/fm/fmd/xprt: Permission denied
find: cannot read dir /var/postgres/8.2/data: Permission denied
find: cannot read dir /var/postgres/8.2/backups: Permission denied
find: cannot read dir /var/sma_snmp: Permission denied
find: cannot read dir /var/tmp/gconfd-root: Permission denied
find: cannot read dir /var/tmp/orbit-root: Permission denied
find: cannot read dir /var/krb5/rcache/root: Permission denied
find: cannot read dir /var/opt/SUNWjass/run/20091012152456: Permission denied
find: cannot read dir /.gconf: Permission denied
find: cannot read dir /opt/SUNWlwact/misc/: Permission denied
find: cannot read dir /opt/SUNWlwact/sdk/: Permission denied
find: cannot read dir /opt/SUNWlwact/xsl/: Permission denied
find: cannot read dir /opt/SUNWlwact/svc/: Permission denied
find: cannot read dir /opt/SUNWlwact/man/: Permission denied
find: cannot read dir /.sunw: Permission denied
199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
find: cannot read dir /root: Permission denied
find: cannot read dir /proc/227: Permission denied
find: cannot read dir /proc/832: Permission denied
find: cannot read dir /proc/835: Permission denied
find: cannot read dir /proc/458: Permission denied
find: cannot read dir /proc/381: Permission denied
find: cannot read dir /proc/624: Permission denied
find: cannot read dir /proc/818: Permission denied
find: cannot read dir /proc/2221: Permission denied
find: cannot read dir /proc/290: Permission denied
find: cannot read dir /proc/1166: Permission denied
find: cannot read dir /proc/273: Permission denied
find: cannot read dir /proc/229: Permission denied
find: cannot read dir /proc/225: Permission denied
find: cannot read dir /proc/478: Permission denied
find: cannot read dir /proc/445: Permission denied
find: cannot read dir /proc/815: Permission denied
find: cannot read dir /proc/410: Permission denied
find: cannot read dir /proc/432: Permission denied
find: cannot read dir /proc/440: Permission denied
find: cannot read dir /proc/427: Permission denied
find: cannot read dir /proc/352: Permission denied
find: cannot read dir /proc/443: Permission denied
find: cannot read dir /proc/1352: Permission denied
find: cannot read dir /proc/406: Permission denied
find: cannot read dir /proc/2353: Permission denied
find: cannot read dir /proc/670: Permission denied
find: cannot read dir /proc/667: Permission denied
find: cannot read dir /proc/405: Permission denied
find: cannot read dir /proc/213: Permission denied
find: cannot read dir /proc/16953: Permission denied
find: cannot read dir /proc/1146: Permission denied
find: cannot read dir /proc/2580: Permission denied
find: cannot read dir /proc/27831: Permission denied
find: cannot read dir /proc/444: Permission denied
find: cannot read dir /proc/1338: Permission denied
find: cannot read dir /proc/1350: Permission denied
find: cannot read dir /usr/lib/cc-cfw: Permission denied
find: cannot read dir /usr/aset: Permission denied
find: cannot read dir /.gconfd: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/apache/ssl.key: Permission denied
find: cannot read dir /etc/sfw/openssl/private: Permission denied
find: cannot read dir /etc/sfw/private: Permission denied
find: cannot read dir /etc/webmin: Permission denied
Looks a bit better:
199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus
How to I run the sqlplus? -
Hi All,
OS : Solaris
Oracle Version : 10.1.0.2.0
When i am trying to connect to database by typing sqlplus
i am getting error
-bash: sqlplus: command not found
previously when i connect like that i am able to connect to database
when i check space
I have 32 GB Drive and free space is 288M.
Can anyone tell me is this the space issue or any other issue.
I logged in with Oracle UserVikas Kohli wrote:
Hi All,
OS : Solaris
Oracle Version : 10.1.0.2.0
When i am trying to connect to database by typing sqlplus
i am getting error
-bash: sqlplus: command not found
previously when i connect like that i am able to connect to database
when i check space
I have 32 GB Drive and free space is 288M.
Can anyone tell me is this the space issue or any other issue.
I logged in with Oracle UserSet the environment variable PATH correclty and make sure you've added $ORACLE_HOME/bin folder to it
export PATH=$ORACLE_HOME/bin:$PATH
sqlplus / as sysdbaKamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
Bash: SQLPLUS: Command not found
Hi All,
I'm facing problem during connecting to SQLPLUS in Linux Plateform Redhat 4.....whenever I write SQLPLUS, it gives me the following Error message
Bash: Sqlplus: Command not found.
kindly let me know, how can I get rid of this Error. Thanks
Regards,
ImranYour environmentals are not setup.
From the command prompt source oraenv
~> . oraenv
or (depending on your os )
~> source oraenv
Respond to the prompt with the name of your database exactly (uppercase/lowercase) as it is in the oratab file (/etc/oratab ?)
This will set your ORACLE_HOME, ORACLE_SID, and PATH variables correctly for your database.
Try sqlplus again and see if that does not work for you. -
XMLGregorianCalendarImpl not found in AIX envirnment
Hi,
I bumped into an issue about Class Not Found Exception in AIX environment. It complains:
java.lang.NoClassDefFoundError:
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
In Linux based development, it is located in rt.jar as part of jdk.
Do you have some ideas on this issue? Thanks!Hi,
set rt.jar in classpath this will solve your problem.
Regards,
Kal -
I am performing a cross platform migration aix to Linux from release 11.2.0.2 to 11.2.0.4. I am using this doc
Reduce Transportable Tablespace Downtime using Cross Platform Incremental Backup (Doc ID 1389592.1).
I am using the db_file_transer method and I have hit this error
Error:
/home/oracle/local/db_convert/dest_rman/xxttconv_i3q0t1ha_1_1_4.sql execution failed
ERROR IN CONVERSION ORA-19994: Message 19994 not found; product=RDBMS;
facility=ORA
ORA-19600: input file is backup piece
(/oraback/nfclpat1/i2q0t1ha_1_1)
ORA-19601: output file is backup piece
(/oraback/nfclpat1_tmp/xib_i2q0t1ha_1_1_5_28)
CONVERTED BACKUP PIECE/oraback/nfclpat1_tmp/xib_i2q0t1ha_1_1_5_28
PL/SQL procedure successfully completed.
I have searched and do not have anything to go on.
Can anyone who has seen this give me some direction?As per Oracle documentation on given error code, Please see if following action helps.
ORA-19994: cross-platform backup of compressed backups to different endianess is not supported
Cause: A cross-platform backup was requested for a compressed backup to a different endianess from the current platform.
Action: Do not specify a compressed backup or specify the same endian platform. -
(OEL 4.7) -bash: sqlplus: command not found after install of 10g R2
Hi all
I'm new to Linux and I would like your help and directions on a few things:
After 2 days of battle with RPM's (i386 vs x86_64) i was finally able to install 10g R2 on OEL 4.7 x86_64 system without any errors.
please check if all these settings are correct and help me how to start sqlplus? or create a database with dbca
I followed all the directions in Doc ID: 339510.1.
During installation i choose this path as the ORACLE_HOME
/u01/app/oracle/product/10.2.0/
I did not however installed the default database.
I then ran the two scripts at the end of the installation as root.
Here are my settings:
oracle bash_profile:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
:q
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=/product/10.2.0/db_1;
export ORACLE_HOME
export PATH=$ORACLE_HOME/bin:$PATH
here is my oracle env result
[oracle@nycoralp01 /]$ env | grep -i ORACLE
OLDPWD=/home/oracle/oraInventory
USER=oracle
ORACLE_BASE=/u01/app/oracle
MAIL=/var/spool/mail/oracle
PATH=/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
HOME=/home/oracle
LOGNAME=oracle
ORACLE_HOME=/product/10.2.0/db_1
here is my echo $ORACLE_HOME result:
[oracle@nycoralp01 /]$ echo $ORACLE_HOME
/product/10.2.0/db_1
Can someone please tell me what did i miss or did not set?
When i try to run sqlplus i get this error
[oracle@nycoralp01 /]$ sqlplus
-bash: sqlplus: command not found
Any help appreciatedI change it in my bash_profile
$ vi ~oracle/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
:q
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;
export ORACLE_HOME
export PATH=$ORACLE_HOME/bin:$PATH
and i'm still getting the same error
-bash: sqlplus: command not found
Is there anything else i'm missing? do i have to restart anything? -
Exiting from sqlplus prompt if file not found
I often execute .sql files from my shell scripts. If the .sql file is not present then sqlplus command logs onto sql prompt but stays there saying file not found.
Is there a way I can make sqlplus exit if the file is not found.
I believe one of the option should be specifying some condition in the .sql file.Hi,
Tricky problem! WHENEVER OSERROR EXIT is the right command, but where can you put it?
If foo.sql doesn't exist, then clearly you can't put it in foo.sql.
Even putting in in login.sql doesn't seem to work.
What you can do is write a script that you know will exist, and always run that to launch your real script.
For example, you can write a script called try_to_run.sql, like this:
WHENEVER OSERROR EXIT
@&1Pass the name of your real script as &1, like this:
sqlplus scott/tiger@dbanme @try_to_run real_scriptor, if real_script.sql takes arguments:
sqlplus scott/tiger@dbanme @try_to_run "real_script arg1 arg2 arg3" -
Linking simpserv on AIX xlC Compiler: input file BS-830086.c not found
Hello Tuxedo Experts,
I am trying to link (compiled successfully) the simpserv taken from Tuxedo samples and getting the following error:
==============================
/usr/vacpp/bin/xlC: 1501-228 (W) input file BS-830086.c not found
==============================
Please note, I am not using the usual command (buildserver -o simpserv -f simpserv.c -s TOUPPER) as it implicitly tries to use cc compiler. I am on AIX 6.1 and have to use xlC compiler. I used the command that ran behind buildserver command, that is:
/usr/vacpp/bin/xlC -brtl -qstaticinline -qrtti=all -I$TUXDIR/include -o simpserv BS-830086.c -L${TUXDIR}/lib simpserv.c -brtl -qstaticinline -ltux -lbuft -lfml -lfml32 -lengine -lpthread
Would you please help me in resolving this error.
Thanks & Regards,
Ahsan AsgharHi Ahsan,
If you check the documentation for the buildserver command (as well as one of my posts) you'll see that you can define the CC environment variable to point to whatever C compiler you want buildserver to use. So in your case you should do:
export CC=/usr/vacpp/bin/xlC
before trying to use buildserver and then it should use the xlC compiler.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
Hello Readers,
I am doing a fresh install of SCM2007 on AIX5.3, Oracle 10.2.0.4. Type of install is central instance (ABAP, Java, DB on one server). After importing ABAP, sapinst proceeds to create secure store. At that point sapinst fails with the message:
CJS-30050 Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
The java class is not found: com.sap.engine.offline.OfflineToolStart.
The log file SecureStoreCreate.log says:
The java class is not found: com.sap.engine.offline.OfflineToolStart
The command being executed is
Execution of the command "/usr/java14_64/bin/java -classpath /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m -Xj9 com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s AD1 -f /sapmnt/AD1/global/security/data/SecStore.properties -k /sapmnt/AD1/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1.
Output:
The java class is not found: com.sap.engine.offline.OfflineToolStart
Based on another forum suggestion I extracted the J2EEINSTALL.SAR file from the Java components DVD to the temporary installation folder like so but this has not helped so far:
cd /tmp/sapinst_instdir/SCM51/SYSTEM/ORA/CENTRAL/AS
var_file=/installdvds/51032953_javacomp/J2EE_OSINDEP/J2EE-INST/J2EEINSTALL.SAR
/sapmnt/SID/exe/SAPCAR -xvf $var_file
Any suggestions? Have you come across this before? It seems to me that this particular sapinst has some bugs.
Thanks in advance!hi bhalu,
please check whether you have given the correct JCE policy files.
If you have installed IBM java then you to use the IBM JCE policy file in installation.
regards
chandru
Maybe you are looking for
-
For seven days WinWord.exe continues to crash. It hangs when I try to save an edited word document. This should have been solved with DOS 2.0, but Microsoft in its questionable wisdom is still having problems with this simple procedure. I have run An
-
I am new to mac can you tell me how to uninstall a program?
I purchased Office for MAC and it's terrible. In order to get a refund I have to uninstall it from my computer. Being from a PC I am not sure how to completely uninstall the program. Can comeone tell me the steps to do this? Thanks
-
Iphoto doesn't work after Yosemite update.
Here is a screenshot of the problem. You can't see the pointer from the picture but it is actually stacked on the loading part. I tried to close Iphoto several times because it was not responding (Force quit), but it was unsuccessful, every time I op
-
Do most people wish they bought 512 gb flash for Macbook pro 15" RD
Im buying the MB pro 15" with RD. Although i'm upgrading the RAM to 16GB which seems sensible, but the extra price for upgrading to 512gb of flash seems extortion. Not sure therefore if people regret buying with 256. I know that programmes are memory
-
Hi, May I know how to change the background color of an HTML region... let's say to Blue.. I have couple of text items within this region... and I have few regions in my page... is it only through the templates that we control background color...? if