WARNING: Your password has expired. Password change required but no TTY available.

Problem Description 

Scp command fails with following error message
scp /tmp/11204.tar oracle@prod:/tmp
oracle@prod's password:

How to Enable or Disable the Supplemental Logging in Oracle Database

Steps to Enable the supplemental logging

SQL> set timing on time on

08:42:21 SQL> select

Startup command fails with ORA-27102: out of memory, Linux-x86_64 Error: 28: No space left on device

Error Description
Oracle startup command fails with following error.

SQL> startup

Oracle relink all command failed with ld: 0706-006 Cannot find or open library file: -l java

Error Description

Oracle binaries copied / cloned from different server with different ORACLE_HOME path. Then relink all command fails with following error.

Expdp failed with ORA-39047 ORA-39047: Jobs of type TRANSPORTABLE cannot use multiple execution streams

Error Description: 

Data Pump export (expdp) with transport_tablespace failed with following error.

How to Copy and Multiplex Oracle OCR into Different Disk Group

[root@]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     409568
         Used space (kbytes)      :       1712

Check/Find Location and Status of Oracle OCR and VOTEDISK

What is OCR and Voting disk: 

The voting disk is a file that manages information about node membership, and the OCR is a file that manages cluster and Oracle RAC database configuration information.

PROC-50 PROT-30: The Oracle Cluster Registry location to be added is not usable

Error Description: 

Oracleasm listdisks shows the disk but Ocrconfig -add command failed with following error message.

Settings to Run SQLPLUS from Other or Non-Oracle User

Add a new unix user as readuser

[root@Test]# useradd readuser
[root@Test]# passwd readuser
Changing password for user readuser.

Steps to Remove / Deinstall Oracle OEM, OMS from Unix Server

You have to use OUI with deinstall option to remove the components installed by the OEM or OMS. See the steps below.

Step 1: 

Oracle Sql Query to Find Out Number Of Weeks Between Two Dates

In this post I would like to give a query to find out the number of weeks between two dates. 


Database Connection Using SQLPLUS Without tnsnames.ora from Command Line

Here is the method to connect to the oracle database using sqlplus without configuring the TNSNAMES from the OS prompt. 


digitizeindia.gov.in: What is the Reward Point Conversion rate / Value in Rupee or Paise?

Digitizeindia.gov.in is the one of the trustworthy Indian government website for the online money making through data entry. But one of the major concern which I face is the slowness of the website. Most of the time the website is utter slow to load the snippets. Your patience is important for this activity at least for these initial days J.

digitizeindia.gov.in: Snippets have exhausted. Please try again later

Digitizeindia.gov.in is the one of the trustworthy Indian government website for the online money making through data entry. It works based on the online data entry work. The snippets are the scanned documents from the different government organizations. Most of the time you will get enough snippets for the data entry. But at least some days or during particular time you may face the following pop up with message “Snippets have exhausted. Please try again later”

2 Ways to Run / Execute OS (Unix, Linux, Windows) Commands, Shell Script from SQLPLUS or SQL prompt

You can use either ! or host keyword to execute OS commands or to run shell script from the sqlplus / sql prompt. Here are some examples for OS command execution

Fix Oracleasm Deletedisk Command Failed with Unable to Clear Disk “Disk Name”

Error Description:
Oracleasm deletedisk diskname failed with following error.

# oracleasm deletedisk OCR_VOTE
Clearing disk header: failed
Unable to clear disk "OCR_VOTE"

Oracle 12c Data Redaction (Full, Partial, Random, Regular Expression) Implementation Examples

Let’s first create a sample test table 'TEST_DATA' under REDACT schema.

SQL> grant EXECUTE ON sys.dbms_redact TO REDACT;

Grant succeeded.

ERROR: OMS_HOST cannot be null. Pass OMS_HOST value either as command-line arguments or in response file

Error Description

Manual OEM agent deployment failed with following error.

[oracle@xlracnde101 agent12c]$ ./agentDeploy.sh AGENT_BASE_DIR=/u01/app/oracle/agent12c RESPONSE_FILE=/u01/app/oracle/agent12c/agent.rsp

3 Ways to Invoke / Open Vi Editor by ed Command in SQLPLUS

Generally, SQLPLUS takes the default editor by the OS. You can bypass the OS default editor using following settings. There are 3 option to set vi as the editor for the sqlplus command. 

Fix terminating the instance due to error 27625; Instance terminated by RBAL, pid = ; summary=[abnormal instance termination]

Error description: 

ASM instance is down with following messages in the alert.log file.

Silent Installation of OEM 12c agent: manually using emcli, scripts and response file

We need to install the OEM agent in the target server which we need to monitor from the OEM console. Generally, we can do this by OEM console itself. If it allows the agent installation through OEM is well and good as it is the easiest way.

onewaycopyAction : Source File dropdb.pl" does not exists or is not readable; Cannot copy file from 'dropdb.pl' to '/u01/app/12.1.0/grid/crs/install/dropdb.pl'

Error Description:
Opatch napply failed with following error

[grid@ patch]$ /u01/app/12.1.0/grid/OPatch/opatch napply -oh /u01/app/12.1.0/grid -local /u01/installs/patch/23273629/23054327
Oracle Interim Patch Installer version

Steps to Recover Database from RMAN Backup TAG

RMAN Script 
Here the RMAN tag is TAG='TAG20160921T013645'

run {


Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer