Visit Counter

Wednesday, May 11, 2016

Oracle 12c MML oracle_link with Library (This version of Oracle is not supported in this script)

-bash-4.1$ ./oracle_link


Wednesday, May 21, 2015 05:38:44 PM AST
All Oracle instances should be shutdown before running this script.

Please log into the Unix system as the Oracle owner for running this script

Do you want to continue? (y/n) [n] y


LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /ora/app/oracle/product/12.1.0/dbhome_1
Oracle version: 12.1.0.2.0
Platform type: sparc

This version of Oracle is not supported in this script

Please check the trace file located in /tmp/make_trace.4023
to make sure the linking process was successful.




-bash-4.1$ cat /tmp/make_trace.4072

Wednesday, May 21, 2015 505:55:39 PM AST
All Oracle instances should be shutdown before running this script.
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue? (y/n) [n] y
LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /ora/app/oracle/product/12.1.0/dbhome_1
Oracle version: 12.1.0.2.0
Platform type: sparc

This version of Oracle is not supported in this script





Solution:

Install netbackup client 7.7 on solaris 11.3

root@afi-ssaerp:~/netbackup7/net7/NetBackup_7.7_CLIENTS1# ./install


Symantec Installation Script
Copyright 1993 - 2015 Symantec Corporation, All Rights Reserved.


        Installing NetBackup Client Software


Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding.  The agreement includes
details on the NetBackup Product Improvement Program.

For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.

Do you wish to continue? [y,n] (y) y


Checking for required system conditions...

ok be_nb_same_host: inapplicable on solaris: skipping

Checking for recommended system conditions...

ok nb_77_hotfix_auditor: No potential for regression of hotfixes or EEBs was det
ected.

Do you want to install the NetBackup client software for this client? [y,n] (y)

This package will install Solaris/Solaris10 client.

NetBackup client is currently at release level 7.5.

This package will install NetBackup client 7.7.

Client binaries are located in /root/netbackup7/net7/NetBackup_7.7_CLIENTS1/NBCl
ients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10.

Starting NetBackup Deduplication installer
testing: /tmp/pdde_pkg_dir_8519
Checking for SYMCpddea package...
   Package SYMCpddea found.

NetBackup Deduplication software is installed.

NetBackup Deduplication is not yet configured.
NetBackup Deduplication preinstall check passed

Terminating NetBackup and/or Media Manager processes.

Saving pack history as /usr/openv/pack.7.5

Saving client binaries for Solaris/Solaris10.

Installing PBX...
Please wait while installation is in progress...
Installation completed Successfully
Installation log located here: /var/tmp/installpbx-8778-051316180521.log


Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Removing pre-existing SYMCnbclt package.
May 13 18:07:38 afi-ssaerp sendmail[9412]: [ID 702911 mail.alert] unable to qual
ify my own domain name (afi-ssaerp) -- using short name
Installing SYMCnbclt package.
May 13 18:08:44 afi-ssaerp sendmail[9452]: [ID 702911 mail.alert] unable to qual
ify my own domain name (afi-ssaerp) -- using short name
Installation of SYMCnbclt was successful.
More details regarding SYMCnbclt can be found in file
/tmp/install_cltpkg_trace.8507 on afi-ssaerp.

Terminating NetBackup and/or Media Manager processes.

Installing NB-Java.

Unpacking SYMCnbjava package.
Checking for pre-existing SYMCnbjava package.
Removing pre-existing SYMCnbjava package.
May 13 18:10:01 afi-ssaerp sendmail[10154]: [ID 702911 mail.alert] unable to qua
lify my own domain name (afi-ssaerp) -- using short name
Installing SYMCnbjava package.
May 13 18:11:03 afi-ssaerp sendmail[10171]: [ID 702911 mail.alert] unable to qua
lify my own domain name (afi-ssaerp) -- using short name
Installation of SYMCnbjava was successful.
More details regarding SYMCnbjava can be found in file
/tmp/install_javapkg_trace.10086 on afi-ssaerp.

Unpacking SYMCnbjre package.
Checking for pre-existing SYMCnbjre package.
Removing pre-existing SYMCnbjre package.
May 13 18:12:10 afi-ssaerp sendmail[10231]: [ID 702911 mail.alert] unable to qua
lify my own domain name (afi-ssaerp) -- using short name
Installing SYMCnbjre package.
May 13 18:13:11 afi-ssaerp sendmail[10250]: [ID 702911 mail.alert] unable to qua
lify my own domain name (afi-ssaerp) -- using short name
Installation of SYMCnbjre was successful.
More details regarding SYMCnbjre can be found in file
/tmp/install_jrepkg_trace.10086 on afi-ssaerp.
+ /bin/cp ./nbj.conf /usr/openv/java

WARNING: Copying /usr/openv/netbackup/nblog.conf to
         /usr/openv/netbackup/nblog.conf.05-13-16.18:04:29
         for future reference.  Any local modifications to
         /usr/openv/netbackup/nblog.conf should be re-evaluated.


Migrating log files in /usr/openv/logs
Migration of log files complete.

Send a SIGHUP to (x)inetd so the (x)inetd.conf file will be reread.
Starting NetBackup Deduplication installer
testing: /tmp/pdde_pkg_dir_10575
Checking for SYMCpddea package...
   Package SYMCpddea found.

NetBackup Deduplication software is installed.

NetBackup Deduplication is not yet configured.
Checking for SYMCpddea package...
   Package SYMCpddea found.
Removing SYMCpddea package...
May 13 18:14:12 afi-ssaerp sendmail[10618]: [ID 702911 mail.alert] unable to qua
lify my own domain name (afi-ssaerp) -- using short name
   Package SYMCpddea removed.
Installing NetBackup Deduplication agent package (/root/netbackup7/net7/NetBacku
p_7.7_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris1
0/pddeagent.tar.gz)...
Extracting package SYMCpddea in /tmp/pdde_pkg_dir_10575.
   Package SYMCpddea extracted to /tmp/pdde_pkg_dir_10575.
Installing package SYMCpddea.
May 13 18:15:16 afi-ssaerp sendmail[10672]: [ID 702911 mail.alert] unable to qua
lify my own domain name (afi-ssaerp) -- using short name
   Package SYMCpddea installed.
Running NetBackup Deduplication upgrade script (agent mode)...
NetBackup Deduplication install finished successfully.
Version now installed: 9.0000.0015.0619
Full NetBackup Deduplication installation log saved to: /var/log/puredisk/2016-0
5-13_18:13-pdde-install.log


WARNING: Copying /etc/init.d/netbackup to
         /usr/openv/netbackup/bin/goodies/netbackup.05-13-16.18:04:29
         for future reference.  Any local modifications to
         /etc/init.d/netbackup should be re-evaluated.


The following automatic startup and shutdown scripts (respectively)
have been installed.  They will cause the NetBackup daemons to be
automatically shut down and restarted each time the system boots.

/etc/rc2.d/S77netbackup
/etc/rc0.d/K01netbackup
/etc/rc1.d/K01netbackup


Processed 15 files out of 15.

Successfully updated the session cache parameters.
Starting vnetd...
Starting bpcd...
Starting nbftclnt...
Starting nbdisco...
Starting bmrbd...

Installation of Java LiveUpdate agent succeeded.  Refer to file
/tmp/JLU-Log/JavaLiveUpdate-Install.log on afi-ssaerp
for installation details.


Checking LiveUpdate registration for the following products: CLT
This may take a few minutes.

Product CLT is installed and will be registered.

Updating LiveUpdate registration now...this may take some time.



File /usr/openv/tmp/install_trace.8382 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
You have new mail in /var/mail/root
root@afi-ssaerp:~/netbackup7/net7/NetBackup_7.7_CLIENTS1#



-bash-4.1$ ./oracle_link



Friday, May 21, 2015 06:24:52 PM AST
All Oracle instances should be shutdown before running this script.

Please log into the Unix system as the Oracle owner for running this script

Do you want to continue? (y/n) [n] y


LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /ora/app/oracle/product/12.1.0/dbhome_1
Oracle version: 12.1.0.2.0
Platform type: sparc
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64.1 /ora/app/oracle/product/12.1.0/dbhome_1/lib/libobk.so
Done

Please check the trace file located in /tmp/make_trace.11165
to make sure the linking process was successful.








Oracle on Solaris 10 : Fixing the 'ORA-27102: out of memory'



When creating database using DBCA on solaris 11 sparc 64-bit getting error.


'ORA-27102: out of memory'


Environment:


Database Oracle 12c
O/S          Solaris 11.3 Sparc 64-bit


Solution


% id -p
uid=59008(oracle) gid=10001(dba) projid=3(default)

% prctl -n project.max-shm-memory -i project 3
project: 3: default
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        privileged      7.84GB      -   deny                                 -
        system          16.0EB    max   deny               



% prctl -n project.max-shm-memory -r -v 10G -i project 3

% prctl -n project.max-shm-memory -i project 3
project: 3: default
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        privileged      10.0GB      -   deny                                 -
        system          16.0EB    max   deny                                 -
Finally make sure the project is created with projects -l or cat /etc/project commands.