Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

3 votes
1 answers
7358 views
Error building Oracle client 11g R2 on RHEL 5.5
We are trying to install oracle 11g R2 64 bit in Rhel 5.5 machine ( 64 bit ). Kernel version is 2.6.18-194.el5. We are getting the below error while installation. error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/home/oracle/app/product/11.2.0/network/lib/ins_net_client.mk'. See...
We are trying to install oracle 11g R2 64 bit in Rhel 5.5 machine ( 64 bit ). Kernel version is 2.6.18-194.el5. We are getting the below error while installation. error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/home/oracle/app/product/11.2.0/network/lib/ins_net_client.mk'. See '/home/oracle/oraInventory/logs/installAction2013-09-03_04-52-05PM.log' for details. We have installed all necessary library packages. binutils-2.17.50.0.6-14.el5.x86_64 compat-libstdc++-33-3.2.3-61.x86_64 compat-libstdc++-33-3.2.3-61.i386 elfutils-libelf-0.137-3.el5.x86_64 elfutils-libelf-0.137-3.el5.i386 elfutils-libelf-devel-static-0.137-3.el5.x86_64 elfutils-libelf-devel-static-0.137-3.el5.i386 elfutils-libelf-devel-0.137-3.el5.x86_64 elfutils-libelf-devel-0.137-3.el5.i386 gcc-4.1.2-48.el5.x86_64 gcc-c++-4.1.2-48.el5.x86_64 glibc-2.5-49.x86_64 glibc-2.5-49.i686 glibc-common-2.5-49.x86_64 glibc-devel-2.5-49.x86_64 glibc-devel-2.5-49.i386 glibc-headers-2.5-49.x86_64 ksh-20100202-1.el5.x86_64 libaio-0.3.106-5.x86_64 libaio-0.3.106-5.i386 libaio-devel-0.3.106-5.x86_64 libaio-devel-0.3.106-5.i386 libgcc-4.1.2-48.el5.x86_64 libgcc-4.1.2-48.el5.i386 libstdc++-4.1.2-48.el5.x86_64 libstdc++-4.1.2-48.el5.i386 libstdc++44-devel-4.4.0-6.el5.x86_64 libstdc++44-devel-4.4.0-6.el5.i386 libstdc++-devel-4.1.2-48.el5.x86_64 libstdc++-devel-4.1.2-48.el5.i386 make is already installed: make-3.81-3.el5.x86_64 Contents of log file: INFO: Calling Query fileQueries10.1.0.3.0 exists filename = /home/oracle/app/product/11.2.0/rdbms/lib/libknlopt.a INFO: Query Returned: false INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/network/lib/ins_nau.mk installTarget = ioklist installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = null undoTarget = null undoArguments = null logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking Adapters INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/network/lib/ins_nau.mk installTarget = iokinit installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = null undoTarget = null undoArguments = null logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking Adapters INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/network/lib/ins_nau.mk installTarget = iokdstry installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = null undoTarget = null undoArguments = null logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking Adapters INFO: Linking 'Oracle Database Utilities 11.2.0.3.0 ' INFO: Linking 'Oracle Database Utilities 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component Oracle Database Utilities INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/rdbms/lib/ins_rdbms.mk installTarget = utilities installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = null undoTarget = null undoArguments = null logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking Utilities Executables INFO: Linking 'SQL*Plus 11.2.0.3.0 ' INFO: Linking 'SQL*Plus 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component SQL*Plus INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/sqlplus/lib/ins_sqlplus.mk installTarget = install installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = null undoTarget = null undoArguments = null logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking SQLPLUS Executables INFO: Linking 'Oracle Programmer 11.2.0.3.0 ' INFO: Linking 'Oracle Programmer 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component Oracle Programmer INFO: Linking 'Oracle Internet Directory Client 11.2.0.3.0 ' INFO: Linking 'Oracle Internet Directory Client 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component Oracle Internet Directory Client INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/ldap/lib/ins_ldap.mk installTarget = clientonlyinstall installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = null undoTarget = clientonlyinstall undoArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking OID Client INFO: Calling Action unixActions10.2.0.3.0 registerForMake installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/ldap/lib/ins_ldap.mk installTarget = clientonlyinstall installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 undoMakeFileName = /home/oracle/app/product/11.2.0/ldap/lib/ins_ldap.mk undoTarget = clientonlyinstall undoArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 logFile = /home/oracle/app/product/11.2.0/install/make.log progMsg = Linking Client-only Install INFO: Linking 'SQLJ Runtime 11.2.0.3.0 ' INFO: Linking 'SQLJ Runtime 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component SQLJ Runtime INFO: Linking 'Oracle SQLJ 11.2.0.3.0 ' INFO: Linking 'Oracle SQLJ 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component Oracle SQLJ INFO: Linking 'Oracle Client 11.2.0.3.0 ' INFO: Linking 'Oracle Client 11.2.0.3.0 ' INFO: 9/3/13 4:54:07 PM IST: Starting install Link Phase of component Oracle Client INFO: Linking in progress INFO: Linking in progress INFO: Link Phase JRE files in Scratch :0 INFO: Calling Action unixActions10.2.0.3.0 make registerOnly = false installMakePath = /usr/bin/make installMakeFileName = /home/oracle/app/product/11.2.0/network/lib/ins_net_client.mk installTarget = mkldflags ntcontab.o nnfgt.o undoMakeFileName = installArguments = ORACLE_HOME=/home/oracle/app/product/11.2.0 logFile = /home/oracle/app/product/11.2.0/install/make.log undoTarget = progMsg = Linking ldflags Executables INFO: Linking ldflags Executables INFO: Linking ldflags Executables INFO: The output of this make operation is also available at: '/home/oracle/app/product/11.2.0/install/make.log' INFO: INFO: Start output from spawned process: INFO: ---------------------------------- INFO: INFO: rm -f ntcontab.* INFO: (if [ "compile" = "compile" ] ; then \ /home/oracle/app/product/11.2.0/bin/gennttab > ntcontab.c ;\ /usr/bin/gcc -m32 -m32 -fPIC -c ntcontab.c ;\ rm -f /home/oracle/app/product/11.2.0/lib/ntcontab.o ;\ mv ntcontab.o /home/oracle/app/product/11.2.0/lib/ ;\ /usr/bin/ar rv /home/oracle/app/product/11.2.0/lib/libn11.a /home/oracle/app/product/11.2.0/lib/ntcontab.o ; fi) INFO: /bin/sh: line 2: /usr/bin/gcc: No such file or directory INFO: mv: cannot stat `ntcontab.o' INFO: : No such file or directory INFO: /usr/bin/ar: /home/oracle/app/product/11.2.0/lib/ntcontab.o: No such file or directory INFO: make: *** [ntcontab.o] Error 1 INFO: End output from spawned process. INFO: ---------------------------------- INFO: Exception thrown from action: make Exception Name: MakefileException Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/home/oracle/app/product/11.2.0/network/lib/ins_net_client.mk'. See '/home/oracle/oraInventory/logs/installActions2013-09-03_04-52-05PM.log' for details. Exception Severity: 1 INFO: Adding ExitStatus STOP_INSTALL to the exit status set INFO: Finding the most appropriate exit status for the current application INFO: Exit Status is -4 INFO: Shutdown Oracle Client Installer What is the solution for this error?
user44663 (69 rep)
Sep 4, 2013, 01:23 PM • Last activity: Jun 20, 2025, 09:04 PM
1 votes
1 answers
266 views
Why is ulimit -l (max locked memory) value 64?
I am trying to prepare the server running Oracle Linux 8.8 for Oracle database 19c installation. I installed `oracle-database-preinstall-19c.rpm` and noticed that `ulimit -l` value is showing unexpected to me value of `64`. It's my first time configuring a server, so I need some help in understandin...
I am trying to prepare the server running Oracle Linux 8.8 for Oracle database 19c installation. I installed oracle-database-preinstall-19c.rpm and noticed that ulimit -l value is showing unexpected to me value of 64. It's my first time configuring a server, so I need some help in understanding ulimit -l value. I expect it to be the value set in the /etc/limits.conf for (all) users and value from /etc/limits.d/oracle-database-preinstall-19c.conf for oracle user, but I see ‘64’ using both xrdp connection and local log in for all users. However, when I open a console and switch user using su and run ulimit -l I get the expected value that was set in .conf files. /etc/security/limits.d/oracle-database-preinstall-19c.conf file contains the following lines for setting memlock value: oracle soft memlock 134217728 oracle hard memlock 134217728 /etc/security/limits.conf file contains the following lines for setting memlock value: * soft memlock 134217728 * hard memlock 134217728 No other /etc/security/.conf files sets memlock value. The server has 96GB of memory and x86_86 architecture. sudo grep pam_limits /etc/pam.d/ shows: /etc/pam.d/fingerprint-auth: session required pam_limits.so /etc/pam.d/password-auth: session required pam_limits.so /etc/pam.d/runuser: session required pam_limits.so /etc/pam.d/system-auth: session required pam_limits.so grep Huge /proc/meminfo shows: AnonHugePages: 0 kB ShmemHugePages: 0kB FileHugePages: 0kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugeagesize: 2048 kB Hugetlb: 0 kB Transparent HugePages are set to ‘never’. I haven't found any memlock values in systemctl show user-$(id -u oracle).slice I also have set vm.hugetlb_shm_group value in /etc/sysctl.d/99-hugetlb-shm-group.conf in case that matters. I haven't installed Oracle database yet. So can anyone help me? Why is ulimit -l value set to 64? Is it okay? I can provide more environment settings and values if needed.
Анатолий (41 rep)
May 6, 2025, 05:14 PM • Last activity: Jun 8, 2025, 01:02 PM
4 votes
1 answers
2406 views
su cannot open session error when starting Oracle XE database
I have a RHEL 7.2 server with Oracle 11g Express Edition (11.2.0) installed. The installation of Oracle created a file named "oracle-xe" in /etc/init.d This is a bash script that can be used to start and stop the listener and database manually. When I'm logged on to the server, I can run the followi...
I have a RHEL 7.2 server with Oracle 11g Express Edition (11.2.0) installed. The installation of Oracle created a file named "oracle-xe" in /etc/init.d This is a bash script that can be used to start and stop the listener and database manually. When I'm logged on to the server, I can run the following: dzdo /etc/init.d/oracle-xe start and the Oracle listener + database are started without issue. I can log on using sqlplus and execute commands. I'm trying to use chkconfig to make it so that oracle-xe is executed automatically on system start, so that I do not have to manually start the listener and database every time the server is rebooted. The oracle-xe script itself is lengthy, but the meat of it contains the following: #!/bin/bash # chkconfig: 2345 80 05 # Source fuction library if [ -f /lib/lsb/init-functions ] then . /lib/lsb/init-functions elif [ -f /etc/init.d/functions ] then . /etc/init.d/functions fi SU=/bin/su ORACLE_OWNER=oracle $ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe LSNR=$ORACLE_HOME/bin/lsnrctl SQLPLUS=$ORACLE_HOME/bin/sqlplus $STARTUP_LOG=/home/tsm/log/oracle-xe.log echo $(date) >> $STARTUP_LOG $SU -s /bin/bash $ORACLE_OWNER -c "$LSNR start" >> $STARTUP_LOG 2>&1 $SU -s /bin/bash $ORACLE_OWNER -c "$SQLPLUS -s /nolog @$ORACLE_HOME/config/scripts/startdb.sql" >> $STARTUP_LOG 2>&1 I added the $STARTUP_LOG code and the >> redirect of output so that I could sort out what was happening. I added the script to chckconfig with the following: cd /etc/init.d dzdo chmod 750 oracle-xe dzdo chkconfig --add oracle-xe dzdo chkconfig oracle-xe on The following command yields the given (shortened) output: dzdo chkconfig --list oracle-xe 0:off 1:off 2:on 3:on 4:on 5:on 6:off I reboot the server, and it generates a log file at /home/tsm/log/oracle-xe.log with the following output: Fri Jan 13 15:03:58 CST 2017 su: cannot open session: Permission denied su: cannot open session: Permission denied and as you might guess, as a result of this su failure, neither the listener nor the database engine have started. Since I see the reboot date/time in the log file, I know for sure that the script is being executed upon boot. It seems to me to be a permissions issue, that whatever account is being used to execute init scripts at startup for some reason cannot su as $ORACLE_OWNER, yet me as a lowly admin can do this just fine from the command prompt. It was my understanding that the init code is executed as root, and therefore this su command should run without a problem. I've been searching and trying various things for the better part of a day trying to sort this out, and have pulled out what little remains of my hair. The server itself is using DirectAuthorize to grant access permissions, which is why I end up using dzdo instead of sudo. Could this have something to do with it?
tsm (41 rep)
Jan 13, 2017, 09:57 PM • Last activity: May 27, 2025, 03:03 AM
0 votes
2 answers
2672 views
Need to pass arguments in adcfgclone.pl script
I just wanted to know is there any way to pass the arguments in perl script (`adcfgclone.pl`) during compilation time (i.e., the values should not be asked during script run time) Below is an example that i am passing the values after running the script. Provide the values required for creation of t...
I just wanted to know is there any way to pass the arguments in perl script (adcfgclone.pl) during compilation time (i.e., the values should not be asked during script run time) Below is an example that i am passing the values after running the script. Provide the values required for creation of the new APPL_TOP Context file. Target System Hostname (virtual or normal) [proddb] : Target Instance is RAC (y/n) [n] : n Target System Database SID : proddb1 Target System Base Directory : /d06/oravis Target System utl_file_dir Directory List : /usr/tmp Number of DATA_TOP's on the Target System : 1 Target System DATA_TOP Directory 1 [/d01/oravsn12/db/apps_st/data] : /d06/oravis/db/apps_st/data Target System RDBMS ORACLE_HOME Directory [/d06/oravis/db/tech_st/10.2.0] : /d06/oravis/db/tech_st/10.2.0 Do you want to preserve the Display [null] (y/n) ? : n Target System Display [sharkap:0.0] : Target System Port Pool [0-99] : 34 Note: I am entering all the above values during the script run time, so i just pass those all arguments in one file and just run the adcfgclone.pl script.
Maheswar (1 rep)
May 30, 2017, 07:25 AM • Last activity: May 19, 2025, 11:04 AM
0 votes
1 answers
4108 views
Error installing oracle 19c database pre-install on oracle linux server 7.6
I'm tryin to install oracle 19c on oracle linux 7.6, I'm required to install oracle 19c preinstall , knowing that this is a fresh install I don't understand why i'm getting these errors : yum -y localinstall http://yum1.stanford.edu/mrepo/ol8-x86 64/RPMS.appstream/oracle-database-preinstall-19c-1.0-...
I'm tryin to install oracle 19c on oracle linux 7.6, I'm required to install oracle 19c preinstall , knowing that this is a fresh install I don't understand why i'm getting these errors : yum -y localinstall http://yum1.stanford.edu/mrepo/ol8-x86 64/RPMS.appstream/oracle-database-preinstall-19c-1.0-2.el8.x86 64.rpm Loaded plugins: langpacks, ulninfo Repository ol7_latest is listed more than once in the configuration Repository ol7_u0_base is listed more than once in the configuration Repository ol7_u1_base is listed more than once in the configuration Repository ol7_u2_base is listed more than once in the configuration Repository ol7_u3_base is listed more than once in the configuration Repository ol7_u4_base is listed more than once in the configuration Repository ol7_u5_base is listed more than once in the configuration Repository ol7_u6_base is listed more than once in the configuration Repository ol7_security_validation is listed more than once in the configuration Repository ol7_optional_latest is listed more than once in the configuration Repository ol7_addons is listed more than once in the configuration Repository ol7_MODRHCK is listed more than once in the configuration Repository ol7_latest_archive is listed more than once in the configuration Repository ol7_optional_archive is listed more than once in the configuration Repository ol7_UEKR5 is listed more than once in the configuration Repository ol7_UEKR4 is listed more than once in the configuration Repository ol7_UEKR3 is listed more than once in the configuration Repository ol7_UEKR3_OFED20 is listed more than once in the configuration Repository ol7_UEKR5_RDMA is listed more than once in the configuration Repository ol7_UEKR4_OFED is listed more than once in the configuration Repository ol7_UEKR4_archive is listed more than once in the configuration Repository ol7_UEKR5_archive is listed more than once in the configuration Repository ol7_kvm_utils is listed more than once in the configuration Skipping: http://yum1.stanford.edu/mrepo/ol8-x86 , filename does not end in .rpm. Skipping: 64/RPMS.appstream/oracle-database-preinstall-19c-1.0-2.el8.x86, filename does not end in .rpm. Cannot open: 64.rpm. Skipping. Nothing to do
Mohamed Douzi (1 rep)
Aug 9, 2022, 02:47 PM • Last activity: Apr 3, 2025, 08:11 PM
0 votes
0 answers
1783 views
Installing oracle-database-preinstall-21c - Oracle Linux
I am completely new to the Linux world. I am following a course on Udemy and trying to install the Oracle database on Oracle Linux 9.1. One of the prerequisites is to run the following command: dnf install oracle-database-preinstall-18c But I am getting the error > No match for argument: oracle-data...
I am completely new to the Linux world. I am following a course on Udemy and trying to install the Oracle database on Oracle Linux 9.1. One of the prerequisites is to run the following command: dnf install oracle-database-preinstall-18c But I am getting the error > No match for argument: oracle-database-preinstall-21c > > Error: Unable to find a match: oracle-database-preinstall-21c
DMDM (101 rep)
Jan 18, 2023, 11:54 PM • Last activity: Mar 20, 2025, 09:38 AM
0 votes
1 answers
696 views
Trouble Installing Oracle 19c on Oracle Linux 9
I am following a [tutorial to install Oracle 19c on Oracle Linux 9][1]. If I run the installer (runInstaller) as a non-root user, I get a permissions denied error. But if I run it with sudo, I get Oracle's 'cannot run it as root'. I don't know what to do now. Here is the error for reference: [![ente...
I am following a tutorial to install Oracle 19c on Oracle Linux 9 . If I run the installer (runInstaller) as a non-root user, I get a permissions denied error. But if I run it with sudo, I get Oracle's 'cannot run it as root'. I don't know what to do now. Here is the error for reference: enter image description here I have tried installing the 19c database on Ubuntu. And although, I got the installer running, it just didn't work very well. So, I tried it on Oracle Linux 9. But I keep getting the above error.
Google User (1 rep)
May 1, 2024, 06:19 PM • Last activity: May 1, 2024, 08:55 PM
0 votes
1 answers
351 views
Python module not available to another user in same group
Both users `foobar` and `foobiz` are in same group on RHEL. ```lang-shellsession foobar$ python3 -m pip list Package Version ----------------- ------- oracledb 1.4.2 pip 21.3.1 foobiz$ python3 -m pip list Package Version ----------------- ------- pip 21.3.1 foobar$ head -3 my_python.py from datetime...
Both users foobar and foobiz are in same group on RHEL.
-shellsession
foobar$ python3 -m pip list

Package           Version
----------------- -------
oracledb          1.4.2
pip               21.3.1

foobiz$ python3 -m pip list
 
Package           Version
----------------- -------
pip               21.3.1

foobar$ head -3 my_python.py
from datetime import datetime
import time
import oracledb
The code executes for foobar, but foobiz gets the following message:
import oracledb
ModuleNotFoundError: No module named 'oracledb'
Questions: * Does foobiz need its own oracledb module? * How can I get foobiz to run run my_python.py with out installing oracledb for foobiz?
zundarz (393 rep)
Apr 15, 2024, 10:37 PM • Last activity: Apr 16, 2024, 09:33 PM
0 votes
0 answers
62 views
Binary file with field seperator ^A is not loading using SQLLDR
I'm trying to upload .dat file to Oracle DB using SQLLDR.  File data columns are separated by "^A".  File charset is of binary. bash-4.4$ file -i /tmp/t_details_all_data_20240209.dat /tmp/t_details_all_data_20240209.dat: application/octet-stream; charset=binary Here is my CTL file LOAD DAT...
I'm trying to upload .dat file to Oracle DB using SQLLDR.  File data columns are separated by "^A".  File charset is of binary. bash-4.4$ file -i /tmp/t_details_all_data_20240209.dat /tmp/t_details_all_data_20240209.dat: application/octet-stream; charset=binary Here is my CTL file LOAD DATA APPEND INTO TABLE DETAILS_TEMP FIELDS TERMINATED BY '^A' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS ( IS_ID "decode(trim(:ISSUE_ID),null,0,to_number(trim(:IS_ID)))", IS_NAME CHAR(1500) "trim(:IS_NAME)", IS_STATUS "trim(:IS_STATUS)", is_no_days_draft_status FILLER,.... But when I run the script, data is not loading and the first column is read as the complete row, not recognizing the field separator.  And/or the error in SQLLDR is "Record 1: Rejected - Error on table DETAILS_TEMP, column IS_ID. Field in data file exceeds maximum length". When I open this file in Notepad++, the field separator is showing as "SOH".  When I do cat /tmp/t_details_all_data_20240209.dat, it is not showing anything as field separator. I tried converting the file to UTF-8/ASCII by using "strings":
strings /tmp/t_details_all_data_20240209.dat > /tmp/t_details_all_data_20240209_tmp.txt
but all columns are as new rows in the file it generated. Converted file: cat /tmp/t_details_all_data_20240209_tmp.txt: IS ID IS Name IS Status... The command
od -tc < /tmp/t_details_all_data_20240209.dat
reports
i   s   _   i   d 001   i   s   _   n  a   m   e 001   i   s
_   s   t   a   t   u   s 001
confirming that the field separator is the character whose byte value is 001. I could not upload the file I used to load data due to security constraints.  But I can provide more details.
Pat (239 rep)
Feb 10, 2024, 07:12 PM • Last activity: Feb 11, 2024, 12:40 AM
1 votes
1 answers
1712 views
Oracle 11gR2 failed on CentOS 7
I am installing Oracle 11gR2 on CentOS 7. I have the packages installed, I have the kernel parameter set but still its not working. Here are the images. [Installation Image[![\]\[1\]][1]][1] [![Package Query Result][2]][2] [![Kernel Parameters][3]][3] [1]: https://i.sstatic.net/RayYm.jpg [2]: https:...
I am installing Oracle 11gR2 on CentOS 7. I have the packages installed, I have the kernel parameter set but still its not working. Here are the images. [Installation Image[![\]\[1\]]Referenced image]Referenced image Package Query Result Kernel Parameters
Taimur Falak (47 rep)
Nov 22, 2017, 05:56 PM • Last activity: Sep 21, 2023, 05:06 AM
25 votes
3 answers
141587 views
Shell Script - syntax error near unexpected token `else'
With the following shell script, why I am getting errors syntax error near unexpected token `else' Shell Script echo "please enter username" read user_name echo "please enter password" read -s pass echo ${ORACLE_SID} SID=${ORACLE_SID} if ["${ORACLE_SID}" != 'Test'] then sqlplus -s -l $USER_NAME/$PAS...
With the following shell script, why I am getting errors syntax error near unexpected token `else' Shell Script echo "please enter username" read user_name echo "please enter password" read -s pass echo ${ORACLE_SID} SID=${ORACLE_SID} if ["${ORACLE_SID}" != 'Test'] then sqlplus -s -l $USER_NAME/$PASS@$SID <
Jacob (365 rep)
Aug 22, 2013, 11:36 AM • Last activity: Jun 11, 2023, 04:16 PM
0 votes
1 answers
153 views
How to debug StoreOnce Oracle RMAN plugin on HP-UX?
We have an old Oracle 10g database on old Itanium machine (BL870c i2) which is running HP-UX B.11.31 (it appears to be latest version). Also we have a StoreOnce 3640 (s/w version 4.2.1-1942.21, which means it's gen4). The natural way to backup the database is to use supplied Catalyst RMAN plugin. We...
We have an old Oracle 10g database on old Itanium machine (BL870c i2) which is running HP-UX B.11.31 (it appears to be latest version). Also we have a StoreOnce 3640 (s/w version 4.2.1-1942.21, which means it's gen4). The natural way to backup the database is to use supplied Catalyst RMAN plugin. We successfully use this plugin of version 3.4.0 on the neighbor Oracle Linux machine with Oracle Database 11g R2. The installation of the plugin on HP-UX went successfully. However, when running a backup, it doesn't work, logging the following error message:
2022-09-29 09:22:19.456266 (local 13:22) : ERROR : 12217_1 : 3 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltCrypt_HashPasswordStringSecureMode : Ln 202 : Failed to hash the password (Secure Mode). callStatus : 0
2022-09-29 09:22:19.464390 (local 13:22) : ERROR : 12217_1 : 3 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltCrypt_HashPasswordStringSecureMode : Ln 204 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:19.464655 (local 13:22) : ERROR : 12217_1 : 3 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltTrnCmd_OpenCommandSession : Ln 394 : Failed to create a Secure Mode hashed password.
2022-09-29 09:22:19.464701 (local 13:22) : ERROR : 12217_1 : 3 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltTrnCmd_OpenCommandSession : Ln 395 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:19.464768 (local 13:22) : ERROR : 12217_1 : 3 : TMC : OSCPP : osCltTeamCmd_OpenCommandSession : Ln 472 : Failed to open initial cmd transport, error -1000.
2022-09-29 09:22:19.464815 (local 13:22) : ERROR : 12217_1 : 3 : TMC : OSCPP : osCltTeamCmd_OpenCommandSession : Ln 478 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:19.464904 (local 13:22) : ERROR : 12217_1 : 3 : C : OSCPP : osCltCmd_OpenCommandSessionInternal : Ln 306 : Unable to open command session to server : 192.168.221.150 (port : 9387). Error: -1000.
2022-09-29 09:22:19.464955 (local 13:22) : ERROR : 12217_1 : 3 : C : OSCPP : osCltCmd_OpenCommandSessionInternal : Ln 307 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:19.470774 (local 13:22) : ERROR : 12217_1 : 0 : +C : OSCPP : Open : Ln 188 : EXCEPTION: Open command session to 192.168.221.150 failed. retryCount 0. : OSCLT_ERR_INTERNAL_ERROR [-1000] (from:Open@188)
2022-09-29 09:22:20.062702 (local 13:22) : ERROR : 12217_1 : 6 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltCrypt_HashPasswordStringSecureMode : Ln 202 : Failed to hash the password (Secure Mode). callStatus : 0
2022-09-29 09:22:20.062808 (local 13:22) : ERROR : 12217_1 : 6 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltCrypt_HashPasswordStringSecureMode : Ln 204 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:20.062942 (local 13:22) : ERROR : 12217_1 : 6 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltTrnCmd_OpenCommandSession : Ln 394 : Failed to create a Secure Mode hashed password.
2022-09-29 09:22:20.062989 (local 13:22) : ERROR : 12217_1 : 6 : TC :  16 : 192.168.221.150 : Ix : OSCPP : osCltTrnCmd_OpenCommandSession : Ln 395 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:20.063063 (local 13:22) : ERROR : 12217_1 : 6 : TMC : OSCPP : osCltTeamCmd_OpenCommandSession : Ln 472 : Failed to open initial cmd transport, error -1000.
2022-09-29 09:22:20.063110 (local 13:22) : ERROR : 12217_1 : 6 : TMC : OSCPP : osCltTeamCmd_OpenCommandSession : Ln 478 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:20.063159 (local 13:22) : ERROR : 12217_1 : 6 : C : OSCPP : osCltCmd_OpenCommandSessionInternal : Ln 306 : Unable to open command session to server : 192.168.221.150 (port : 9387). Error: -1000.
2022-09-29 09:22:20.063262 (local 13:22) : ERROR : 12217_1 : 6 : C : OSCPP : osCltCmd_OpenCommandSessionInternal : Ln 307 : GOTO ReturnStatus = -1000 (OSCLT_ERR_INTERNAL_ERROR).
2022-09-29 09:22:20.063342 (local 13:22) : ERROR : 12217_1 : 0 : +C : OSCPP : Open : Ln 188 : EXCEPTION: Open command session to 192.168.221.150 failed. retryCount 0. : OSCLT_ERR_INTERNAL_ERROR [-1000] (from:Open@188)
(192.168.221.150 is the StoreOnce IP address). From the first line I could infer that there's some function osCltCrypt_HashPasswordStringSecureMode which is supposed to create some hash of the password and fails. How to find out what went wrong and why it doesn't work? And, to fix, supposedly? **UPD:** if we make the Catalyst datastore public (ouch) and remove (comment out) the client name and password in the plugin.conf on the client, backup works. It looks like some library is missing in our HP-UX installation that is required to hash the password, and if the passwordless mode is configured, this step is ommited and everything else works. **UPD:** tried to run ldd libisvsupport_rman.so (which is 38 MB plugin binary). The result is:
libisvsupport_rman.so:
        libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
        libstd_v2.so.1 =>       /usr/lib/hpux64/libstd_v2.so.1
        libCsup.so.1 => /usr/lib/hpux64/libCsup.so.1
        libm.so.1 =>    /usr/lib/hpux64/libm.so.1
        libunwind.so.1 =>       /usr/lib/hpux64/libunwind.so.1
        libc.so.1 =>    /usr/lib/hpux64/libc.so.1
        libuca.so.1 =>  /usr/lib/hpux64/libuca.so.1
        libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1
**UPD:** Tried to install the OpenSSL library from OpenSSL_A.01.01.01p.001_HP-UX_B.11.31_IA_PA.depot, as suggested in the answer. That didn't help, nothing changed at all.
Nikita Kipriyanov (1779 rep)
Sep 29, 2022, 09:47 AM • Last activity: Oct 14, 2022, 09:26 AM
1 votes
1 answers
16990 views
I try to install Oracle 19 on CENTOS 8 GUI by run vncserver and X11
I try to install Oracle 19 on CENTOS 8-GUI by using vncserver and X11. When I try to run this ```./runInstaller```, I got this ```ERROR: Unavale to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable``` After I install X11 then I...
I try to install Oracle 19 on CENTOS 8-GUI by using vncserver and X11. When I try to run this
./runInstaller
, I got this
: Unavale to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable
After I install X11 then I run these line:
DISPLAY=:0.0
+
But I got this
to open display ":0.0"
I try to see /etc/ssh/sshd_config and I got
yes
and
X11UseLocalhost yes
. I got stuck there for a day.
MiSFhE (21 rep)
Nov 11, 2020, 10:59 AM • Last activity: Jan 18, 2022, 04:00 PM
0 votes
0 answers
107 views
Count read, rejected and discarded data from CSV
So for example, I have tried inserting 9 columns in the oracle sql table. Table ACCOUNTREQUEST: 7 Rows successfully loaded. 2 Rows not loaded due to data errors. I want to create a echo.txt or .log that counts the error and the error name. I have this as my control data LOAD DATA INFILE 'csv_account...
So for example, I have tried inserting 9 columns in the oracle sql table. Table ACCOUNTREQUEST: 7 Rows successfully loaded. 2 Rows not loaded due to data errors. I want to create a echo.txt or .log that counts the error and the error name. I have this as my control data LOAD DATA INFILE 'csv_accountrequest.csv' BADFILE 'bad_accountrequest.bad' APPEND INTO TABLE AccountRequest FIELDS TERMINATED BY "," TRAILING NULLCOLS (requestid "request_id_interval.nextval", branch, account_type, title, firstname, lastname, Birthday Date "dd/mm/yyyy", workphone, homephone, address, state, zip, email,status) and have this as my csv 1,manila,SAVINGS,MR,Alpha,Bravo,01/02/2000,21313,213,kor,north,3232,MyEmail@sample.com,Entered 2,japan,CURRENT,MR,Charlie,Delta,02/03/2001,21313,213,kor,north,3232,MyEmail@sample.com,Approved 3,indo,CURRENT,MS,Echo,Foxtrot,03/04/2002,21313,213,kor,north,3232,MyEmail@sample.com,Entered 4,MY,SAVINGS,MR,Golf,Hotel,04/05/2003,21313,213,kor,north,3232,MyEmail@sample.com,Entered 5,SG,CURRENT,MRS,India,Juliet,05/06/2004,21313,213,kor,north,3232,MyEmail@sample.com,Approved 6,china,CURRENT,MS,Kilo,Lima,06/07/2005,21313,213,kor,north,3232,MyEmail@sample.com,Entered 7,turkey,CURRENT,MR,Mike,November,07/08/2006,21313,213,kor,north,3232,MyEmail@sample.com,Entered 8,chile,CURRENT,MRsr,Mike,November,07/08/2006,21313,213,kor,north,3232,MyEmail@sample.com,rejected 9,poland,CURRENTs,MR,Mike,November,07/08/2006,21313,213,kor,north,3232,MyEmail@sample.com,Entered via SQLLDR, And this as my error.text Record 8: Rejected - Error on table ACCOUNTREQUEST. ORA-02290: check constraint (HR.CHK_TITLE) violated Record 9: Rejected - Error on table ACCOUNTREQUEST. ORA-02290: check constraint (HR.CHK_ACCOUNTS) violated Table ACCOUNTREQUEST: 7 Rows successfully loaded. 2 Rows not loaded due to data errors. 0 Rows not loaded because all WHEN clauses were failed. 0 Rows not loaded because all fields were null. i want to use a shell scrip that counts the rows that is successfully loaded and not loaded and why (like what was said in record 8 and 9) PS. The data didnt insert because of constraint which only allows (MR,MRS,MS) for title and (SAVINGS,CURRENT) for account type I can already count the rejected via shell script grep -wc "rejected" txtsample.txt but cant echo it to a error.log and i also need the reason for error which is the record 8 and 9
Mark Llasos Villa (1 rep)
Nov 20, 2021, 04:58 AM • Last activity: Nov 20, 2021, 12:35 PM
0 votes
0 answers
362 views
What is missing from these Oracle Solaris 11.4 firewall rules to allow traffic
I am trying to reach a separate, in-house application server from our Solaris server. The only firewalls that exist between these two are the native firewalls. We have set the following rules on the Solaris firewall: pass quick on pub_net inet proto {tcp, udp} to port XXXX flags any keep state (slop...
I am trying to reach a separate, in-house application server from our Solaris server. The only firewalls that exist between these two are the native firewalls. We have set the following rules on the Solaris firewall: pass quick on pub_net inet proto {tcp, udp} to port XXXX flags any keep state (sloppy) pass quick from SolarisIP to applicationIP keep state (sloppy) The traffic is not making it out of the Solaris server. The application server does accept traffic on the specified port. If I understand the second rule it should be opening a point to point connection between the servers for any port. Running curl from the command line of the Solaris server fails to connect. We have the same rules in place in another Solaris node and it is able to reach the same application server with no issue.
Scott (1 rep)
Nov 12, 2021, 12:20 AM
0 votes
1 answers
387 views
How to distinguish between a oracle database installation and oracle client installation
hello experts, I have a bash script to execute which when executing on a oracle database server will do things like reading some files , and populating some tables but if same is executed on a oracle client machine (client only installation) will not go into that loop. My problem is I am unable to f...
hello experts, I have a bash script to execute which when executing on a oracle database server will do things like reading some files , and populating some tables but if same is executed on a oracle client machine (client only installation) will not go into that loop. My problem is I am unable to find out how do i distinguish if its a DB server or only an oracle client installation. My script will be running on oracle 12C and 19C. Any hints on how to distinguish this two types of installations?
achak01 (21 rep)
Sep 26, 2021, 07:22 AM • Last activity: Sep 26, 2021, 12:09 PM
0 votes
1 answers
3290 views
Swap memory high Usage
I need to know what is the actual effect of Swap memory full ?. I have already enough ram but it is still using swap memory? I am using Server With Oracle 11g Database. So if because of swap memory full does it make an effect on the database? Current Scenario if server memory usage free -h total use...
I need to know what is the actual effect of Swap memory full ?. I have already enough ram but it is still using swap memory? I am using Server With Oracle 11g Database. So if because of swap memory full does it make an effect on the database? Current Scenario if server memory usage free -h total used free shared buff/cache available Mem: 31G 10G 176M 17G 20G 2.9G Swap: 2.0G 2.0G 152K
Ray (1 rep)
Jul 31, 2018, 10:22 AM • Last activity: Apr 15, 2021, 07:48 AM
0 votes
1 answers
307 views
ORA-01017 from sqldeveloper but ok from sqlplus
I've logged into Oracle 19c via sqldeveloper as sys and created a new user -- USER SQL CREATE USER data_owner IDENTIFIED BY "password!" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP"; -- ROLES GRANT CONNECT TO data_owner ; GRANT RESOURCE TO data_owner ; GRANT CREATE SESSION TO data_owner; Th...
I've logged into Oracle 19c via sqldeveloper as sys and created a new user -- USER SQL CREATE USER data_owner IDENTIFIED BY "password!" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP"; -- ROLES GRANT CONNECT TO data_owner ; GRANT RESOURCE TO data_owner ; GRANT CREATE SESSION TO data_owner; Then I ssh to the SUSE Linux Enterprise Server 12 server and su - oracle to check the user from sqlplus and I can connect fine as data_owner with above said password. Why is sqldeveloper returning the following error when I use the same credentials? ORA-01017: invalid username/password; logon denied 01017. 00000 - "invalid username/password; logon denied" *Cause: *Action: Codice fornitore 1017 As a double check, if I connect as sys again via sqldeveloper, I can log in and the sql SELECT username, default_tablespace, profile, authentication_type FROM dba_users WHERE account_status = 'OPEN'; gives me SYS SYSTEM DEFAULT PASSWORD SYSTEM SYSTEM DEFAULT PASSWORD DATA_OWNER USERS DEFAULT PASSWORD
Giulio (125 rep)
Apr 13, 2021, 12:07 PM • Last activity: Apr 15, 2021, 07:37 AM
0 votes
1 answers
92 views
Can I install an Oracle DB on a Solaris 10/11 VM (not sparc)?
I have Solaris machines (10/11) which are running on VMware and I am intending on installing a DB on them. Can I install on Oracle DB if it's not on sparc? if so- where can I find instructions? If not- What DB can I install on a VM like that? Thanks a lot
I have Solaris machines (10/11) which are running on VMware and I am intending on installing a DB on them. Can I install on Oracle DB if it's not on sparc? if so- where can I find instructions? If not- What DB can I install on a VM like that? Thanks a lot
Stan (101 rep)
Dec 13, 2020, 03:55 PM • Last activity: Dec 13, 2020, 04:43 PM
0 votes
1 answers
71 views
Pass Linux variable in Oracle script
How to pass Linux variable in Oracle code? I need to pass it in below format and it should not ask for "enter a value for 1:" Please advise. mount='/u08/dbname/' sqlplus -s "/ as sysdba" 0)then dbms_output.put_line(line); end if; END; / $mount EOF
How to pass Linux variable in Oracle code? I need to pass it in below format and it should not ask for "enter a value for 1:" Please advise. mount='/u08/dbname/' sqlplus -s "/ as sysdba" 0)then dbms_output.put_line(line); end if; END; / $mount EOF
Divya (1 rep)
Oct 30, 2020, 06:47 AM • Last activity: Oct 31, 2020, 07:22 PM
Showing page 1 of 20 total questions