Archive for the ‘TEChNoLoGY’ Category

Capture Snapshot From ILOM

July 25th, 2021, posted in Solaris
Share
1)
-> cd /SP/diag/snapshot
 
2) specify the host and directory where the snapshot will be transferred. 
-> set dump_uri=ftp://<valid_ftpuser>@ip_address//<directory>
Enter remote user password: *******
Set ‘dump_uri’ to ‘ftp://[email protected]<ip_address>//tmp’

3) Check status of “snapshot”
-> show

/SP/diag/snapshot

   Targets:

   Properties:

       dataset = normal
       dump_uri = (Cannot show property)
       encrypt_output = false
       result = Running  <– check for completed status

4) Check for the completion of snapshot
-> show

/SP/diag/snapshot

   Targets:

   Properties:

       dataset = normal
       dump_uri = (Cannot show property)
       encrypt_output = false
       result = Collecting data into
ftp://[email protected]<ip_address>//tmp/v4v-t5120a-sp_<ip_address>_2013-08-10T17-43-27.zip
Snapshot Complete.

Done.
References:
Share

SSH ERROR No Hostkey Alg

July 18th, 2021, posted in Solaris
Share

Do not ever change the file permissions of rsa and dsa keys. I was working on troubleshooting some ssh issue and I decided to give read permissions to everyone on file /etc/ssh/ssh_host_rsa_key and the next thing I know I cant login to the server via ssh.

#ssh testbox01
no hostkey alg

#ls -l /etc/ssh/ssh_host_rsa_key
-rw——-. 1 root ssh_keys   1679 Nov 25  2014 ssh_host_rsa_key

#ls -l /etc/ssh/ssh_host_dsa_key
-rw——-   1 root     root         668 Aug 20  2007 /etc/ssh/ssh_host_dsa_key

#ls -l /etc/ssh/ssh_host_rsa_key.pub
-rw-r–r–. 1 root root        382 Nov 25  2014 ssh_host_rsa_key.pub
#ls -l /etc/ssh/ssh_host_dsa_key.pub
-rw-r–r–. 1 root root        382 Nov 25  2014 ssh_host_dsa_key.pub
Make sure the permissions are set to 0600 for the private ssh keys and 0644 for public ssh keys(default public keys under /etc/ssh ends with an extension .pub)
Share

Unable to archive thread 1 sequence

June 30th, 2021, posted in Oracle Queries
Share

From alert log it was noticed that archive process is leaving some messages as below.

Sun Nov 11 09:41:34 2018
ARC5: Evaluating archive log 20 thread 1 sequence 59168
ARC5: Unable to archive thread 1 sequence 59168
Log actively being archived by another process
ARC5: Evaluating archive log 22 thread 1 sequence 59175
ARC5: Unable to archive thread 1 sequence 59175
Log actively being archived by another process

Cause :

It is due to having more than one archiver.

Solution :

If automatic archiving is turned ‘ON’ and LOG_ARCHIVE_MAX_PROCESSES is set to more than one, then all of the archiver processes will try to archive this logfile, however they will not be able to aquire the lock ‘kcrrlt’, to protect multiple arch processes from archiving the same logfile.

The failing process process will write to the trace/alert message that it was unable to archive the logfile.

It doesn’t mean that the log mentioned is not archived; it is successfully archived by some other process. It only means that the log was not archived the first time it was tried.

If you go a bit down you will see that the log had been archived.

Share

RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack

June 27th, 2021, posted in Oracle EBS Application
Share

Error :

/u01/oradr/db_1/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/u01/oradr/db_1/oui -classpath /u01/oradr/db_1/appsutil/clone/jlib/xmlparserv2.jar:/u01/oradr/db_1/appsutil/clone/jlib/ojdbc5.jar:/u01/oradr/db_1/appsutil/clone/jlib/java:/u01/oradr/db_1/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oradr/db_1/appsutil/clone/jlib/oui/ewt3.jar:/u01/oradr/db_1/appsutil/clone/jlib/oui/share.jar:/u01/oradr/db_1/appsutil/clone/jlib/oui/srvm.jar:/u01/oradr/db_1/appsutil/clone/jlib/ojmisc.jar   oracle.apps.ad.clone.ApplyDBTier -e /u01/oradr/db_1/appsutil/TEST_azuredr.xml -stage /u01/oradr/db_1/appsutil/clone   -showProgress APPS Password : Log file located at /u01/oradr/db_1/appsutil/log/TEST_azuredr/ApplyDBTier_03271654.log \      0% completed       RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack ERROR while running Apply… Tue Mar 27 16:55:27 2018 ERROR: Failed to execute /u01/oradr/db_1/appsutil/clone/bin/adclone.pl

Cause :

log file reveled the information

"Perl lib version (5.10.1) doesn't match executable version (v5.10.0) at /usr/lib64/perl5/Config.pm line 50.
Compilation failed in require at /u01/oradr/db_1/appsutil/clone/ouicli.pl line 35.
BEGIN failed--compilation aborted at /u01/oradr/db_1/appsutil/clone/ouicli.pl line 35."

Solution :

set perl to verion 5.10.0 as below and rerun the clone

export PERL5LIB=/u01/oradr/db_1/perl/lib/5.10.0:/u01/oradr/db_1/perl/lib/site_perl/5.10.0:/u01/oradr/db_1/appsutil/perl

export PATH=/u01/oradr/db_1/perl/bin:$PATH
Share