Visit Counter

Monday, August 26, 2013

Oracle 11g DB 64-bit Installation on Linux Suse ( Invalid source path specified for unzip)



Common Installation error.




Solution:

1. Download Oracle 11G Database.
2. Linux.x64_11gR2_Database_1of2.zip & Linux.x64_11gR2_Database_2of2.zip
3. Unzip both zipped files.
4. It will create to folders etc...database & database (2).
5.Goto to second folder etc...database (2)
6. Copy the following directories under below path.
/database (2)/stage/components/
oracle.ctx
oracle.jdk
oracle.owb.rsf
oracle.rdbms.install.seeddb
oracle.sysman.console.db

7. Paste all directories in below path.

/database/stage/components/

8. Run the installation.



Wednesday, August 21, 2013

Windows Active Directory GRT Backup Failed




GRT Backup Failed.


































































































































Client:

Create the log bpcd directory under below path on netbackup client.

C:\Program Files\Veritas\NetBackup\logs



Master Server:

  # ./bptestbpcd -client afidc01 -verbose -debug


09:38:30.721 [5850] <2> bptestbpcd: VERBOSE = 5
09:38:30.723 [5850] <2> read_client: dname=., offline=0, online_at=0 offline_at=0
09:38:30.723 [5850] <2> read_client: dname=.., offline=0, online_at=0 offline_at=0
09:38:30.723 [5850] <2> read_client: dname=CO_0, offline=0, online_at=0 offline_at=0
09:38:30.723 [5850] <2> read_client: dname=OA_0, offline=0, online_at=0 offline_at=0
09:38:30.723 [5850] <2> read_client: dname=host_info, offline=0, online_at=0 offline_at=0
09:38:30.724 [5850] <2> db_freeEXDB_INFO: ?
09:38:30.724 [5850] <2> local_bpcr_connect: bpcr.c.278: connect_opts = 0x01030202 connect_opts2 = 0x01000100
09:38:30.724 [5850] <2> local_bpcr_connect: bpcr.c.285: connect_opts = 0x01000100
09:38:30.725 [5850] <2> local_bpcr_connect: bpcr.c.324: daemon_port_type = 0
09:38:30.726 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:30.727 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:30.727 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:30.727 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:30.727 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:30.727 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:30.728 [5850] <2> async_connect: [vnet_connect.c:1477] connect in progress 1 0x1
09:38:30.732 [5850] <2> vnet_pbxConnect: pbxConnectEx Succeeded
09:38:30.733 [5850] <2> do_pbx_service: [vnet_connect.c:2116] via PBX bpcd CONNECT FROM 192.0.0.198.47121 TO 192.0.0.51.1556 fd = 4
09:38:30.733 [5850] <2> async_connect: [vnet_connect.c:1644] connect async CONNECT FROM 192.0.0.198.47121 TO 192.0.0.51.1556 fd = 4
09:38:30.733 [5850] <2> connect_to_service: connect succeeded STATUS (0) SUCCESS FROM 0.0.0.0 TO afidc01 192.0.0.51 bpcd VIA pbx
09:38:30.733 [5850] <2> init_resilient_cache: [vnet_nbrntd.c:869] Initialize resilient cache. 0 0x0
09:38:30.733 [5850] <2> logconnections: BPCD CONNECT FROM 192.0.0.198.47121 TO 192.0.0.51.1556 fd = 4
09:38:30.734 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:30.734 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:30.735 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:30.735 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:30.735 [5850] <2> async_connect: [vnet_connect.c:1477] connect in progress 1 0x1
09:38:30.737 [5850] <2> vnet_pbxConnect: pbxConnectEx Succeeded
09:38:30.782 [5850] <8> do_pbx_service: [vnet_connect.c:2108] via PBX VNETD CONNECT FROM 192.0.0.198.47122 TO 192.0.0.51.1556 fd = 5
09:38:30.782 [5850] <2> async_connect: [vnet_connect.c:1644] connect async CONNECT FROM 192.0.0.198.47122 TO 192.0.0.51.1556 fd = 5
09:38:30.782 [5850] <2> connect_to_service: connect succeeded STATUS (0) SUCCESS FROM 0.0.0.0 TO 192.0.0.51 192.0.0.51 vnetd VIA pbx
09:38:30.782 [5850] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:443] VN_REQUEST_CONNECT_FORWARD_SOCKET 10 0xa
09:38:30.990 [5850] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:460] ipc_string 50682
09:38:31.051 [5850] <2> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:471] hash_str1 17cf5b2037093624e12d99d2098cee4f
1 1 1
192.0.0.198:47121 -> 192.0.0.51:1556
192.0.0.198:47122 -> 192.0.0.51:1556
09:38:31.200 [5850] <2> bpcr_get_peername_rqst: Server peername length = 17
09:38:31.260 [5850] <2> bpcr_get_hostname_rqst: Server hostname length = 7
09:38:31.320 [5850] <2> bpcr_get_clientname_rqst: Server clientname length = 7
09:38:31.380 [5850] <2> bpcr_get_version_rqst: bpcd version: 07500004
09:38:31.440 [5850] <2> bpcr_get_platform_rqst: Server platform length = 7
09:38:31.500 [5850] <2> bpcr_get_version_rqst: bpcd version: 07500004
09:38:31.560 [5850] <2> bpcr_patch_version_rqst: theRest == > <
09:38:31.561 [5850] <2> bpcr_get_version_rqst: bpcd version: 07500004
09:38:31.620 [5850] <2> bpcr_patch_version_rqst: theRest == > <
09:38:31.621 [5850] <2> bpcr_get_version_rqst: bpcd version: 07500004
PEER_NAME = backupserver-baan
HOST_NAME = afidc01
CLIENT_NAME = afidc01
VERSION = 0x07500004
PLATFORM = win_x64
PATCH_VERSION = 7.5.0.6
SERVER_PATCH_VERSION = 7.5.0.6
MASTER_SERVER = backupserver-baan
EMM_SERVER = backupserver-baan
NB_MACHINE_TYPE = CLIENT
09:38:31.681 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:31.681 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:31.681 [5850] <2> vnet_sortaddrs: [vnet_addrinfo.c:3954] sorted addrs: 1 0x1
09:38:31.681 [5850] <2> vnet_get_pref_netconnection: [vnet_addrinfo.c:4828] using interface  ANY
09:38:31.682 [5850] <2> async_connect: [vnet_connect.c:1477] connect in progress 1 0x1
09:38:31.684 [5850] <2> vnet_pbxConnect: pbxConnectEx Succeeded
09:38:31.715 [5850] <8> do_pbx_service: [vnet_connect.c:2108] via PBX VNETD CONNECT FROM 192.0.0.198.47123 TO 192.0.0.51.1556 fd = 6
09:38:31.716 [5850] <2> async_connect: [vnet_connect.c:1644] connect async CONNECT FROM 192.0.0.198.47123 TO 192.0.0.51.1556 fd = 6
09:38:31.716 [5850] <2> connect_to_service: connect succeeded STATUS (0) SUCCESS FROM 0.0.0.0 TO 192.0.0.51 192.0.0.51 vnetd VIA pbx
09:38:31.716 [5850] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:443] VN_REQUEST_CONNECT_FORWARD_SOCKET 10 0xa
09:38:31.927 [5850] <8> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:460] ipc_string 50684
09:38:31.980 [5850] <2> vnet_vnetd_connect_forward_socket_begin: [vnet_vnetd.c:471] hash_str1 59315d05334ef517e801b150ae806307
192.0.0.198:47123 -> 192.0.0.51:1556
<2>bptestbpcd: EXIT status = 0
09:38:32.068 [5850] <2> bptestbpcd: EXIT status = 0


Go to Windows Client services and change the netbackup services with the administrator privilege.


Netbackup Legacy Network Services
Netbackup Legacy Client Services
Netbackup Client Services






























Saturday, August 3, 2013

Configure NetBackup for Windows 2008 R2 AD Granular Restore Technology (GRT)


Granular Restore Technology (GRT)

Master Server   Solaris 10.5 Sparc 64-bit
Client                Windows 2008 R2 64-bit

1. Create the folder on local disk for windows 2008 r2 GRT backup.
2. Create the Storage Unit.



3. Create schedule for backup.


4. Create policy for duplicate GRT backup.
    Click on Enable Granular Recovery option.
    Policy Storage:  GRT_Backup





Oracle Solaris 11 Installation on Oracle VM


Monday, July 29, 2013

Uninstall Oracle 12c Database on Linux 6



Uninstall Oracle 12c DB


[oracle@test1 deinstall]$ pwd

Home Directory
/oracle12c/deinstall

[oracle@test1 deinstall]$ ls
bootstrap_files.lst  deinstall     deinstall.xml  readme.txt  sshUserSetup.sh
bootstrap.pl         deinstall.pl  jlib           response    utl

[oracle@test1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-07-29_10-59-41PM/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /oracle12c
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /home/oracle/app/oracle
Checking for existence of central inventory location /home/oracle/app/oraInventory
Checking for sufficient temp space availability on node(s) : 'test1'

## [END] Install check configuration ##


Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/netdc_check2013-07-29_11-00-54-PM.log

Specify all Single Instance listeners that are to be de-configured [LISTENER]:

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/databasedc_check2013-07-29_11-03-24-PM.log

Use comma as separator when specifying list of values as input

Specify the list of database names that are configured in this Oracle home [ora12c]: 

    
###### For Database 'ora12c' ######

Single Instance Database
The diagnostic destination location of the database: /home/oracle/app/oracle/diag/rdbms/ora12c
Storage type used by the Database: FS
Database file location: /oracle12c/ora12c,/home/oracle/app/oracle/fast_recovery_area/ora12c
Fast recovery area location: /home/oracle/app/oracle/fast_recovery_area/ORA12C
database spfile location: /oracle12c/dbs/spfileora12c.ora

The details of database(s) ora12c have been discovered automatically. Do you still want to modify the details of ora12c database(s)? [n]: 
Database Check Configuration END
Oracle Configuration Manager check START
OCM check log file location : /tmp/deinstall2013-07-29_10-59-41PM/logs//ocm_check9779.log
Oracle Configuration Manager check END

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /oracle12c
Inventory Location where the Oracle home registered is: /home/oracle/app/oraInventory
Following Single Instance listener(s) will be de-configured: LISTENER
The following databases were selected for de-configuration : ora12c
Database unique name : ora12c
Storage used : FS
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
oDo you want to continue (y - yes, n - no)? [n]:y  
A log of this session will be written to: '/tmp/deinstall2013-07-29_10-59-41PM/logs/deinstall_deconfig2013-07-29_11-00-51-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2013-07-29_10-59-41PM/logs/deinstall_deconfig2013-07-29_11-00-51-PM.err'

######################## CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/databasedc_clean2013-07-29_11-04-46-PM.log
Database Clean Configuration START ora12c
This operation may take few minutes.
Database Clean Configuration END ora12c

Network Configuration clean config START

Network de-configuration trace file location: /tmp/deinstall2013-07-29_10-59-41PM/logs/netdc_clean2013-07-29_11-08-52-PM.log

De-configuring Single Instance listener(s): LISTENER

De-configuring listener: LISTENER
    Stopping listener: LISTENER
    Warning: Failed to stop listener. Listener may not be running.
    Deleting listener: LISTENER
    Listener deleted successfully.
Listener de-configured successfully.

De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.

De-configuring backup files...
Backup files de-configured successfully.

The network configuration has been cleaned up successfully.

Network Configuration clean config END

Oracle Configuration Manager clean START
OCM clean log file location : /tmp/deinstall2013-07-29_10-59-41PM/logs//ocm_clean9779.log
Oracle Configuration Manager clean END
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START

Detach Oracle home '/oracle12c' from the central inventory on the local node : Done

Failed to delete the directory '/oracle12c'. The directory is in use.
Delete directory '/oracle12c' on the local node : Failed <<<<

Delete directory '/home/oracle/app/oraInventory' on the local node : Done

Delete directory '/home/oracle/app/oracle' on the local node : Done

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END


## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2013-07-29_10-59-41PM' on node 'test1'

## [END] Oracle install clean ##


######################### CLEAN OPERATION END #########################


####################### CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : ora12c
Following Single Instance listener(s) were de-configured successfully: LISTENER
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home '/oracle12c' from the central inventory on the local node.
Failed to delete directory '/oracle12c' on the local node.
Successfully deleted directory '/home/oracle/app/oraInventory' on the local node.
Successfully deleted directory '/home/oracle/app/oracle' on the local node.
Oracle Universal Installer cleanup was successful.


Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'test1' at the end of the session.

Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'test1' at the end of the session.
Run 'rm -rf /etc/oratab' as root on node(s) 'test1' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################


############# ORACLE DEINSTALL & DECONFIG TOOL END #############

[oracle@test1 deinstall]$ 

Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 6


Download the following.

Oracle Virtual Machine
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#vbox

Oracle Linux 6
https://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=13443339
Oracle Linux Release 6 Media Pack v1 for x86_64 (64 bit)

Oracle 12c Database



Unpack Files (Database Files)

# unzip linuxamd64_12c_database_1of2.zip
# unzip linuxamd64_12c_database_2of2.zip



Manual Setup

If you have not used the "oracle-rdbms-server-12cR1-preinstall" package to perform all prerequisites, you will need to manually perform the following setup tasks.
Add or amend the following lines in the "/etc/sysctl.conf" file.


fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500

Run the following command to change the current kernel parameters.


#/sbin/sysctl -p


Add the following lines to the "/etc/security/limits.conf" file.
oracle   soft   nofile    1024
oracle   hard   nofile    65536
oracle   soft   nproc    2047
oracle   hard   nproc    16384
oracle   soft   stack    10240
oracle   hard   stack    32768


























































Tuesday, July 16, 2013

Install / Uninstall Netbackup Client for Solaris 10



 Installation Netbackup  7.5 Client


root@afi-ssaerp2 # ls
Doc         LICENSE     NBClients   VSM_README  install
root@afi-ssaerp2 # ./install


Symantec Installation Script
Copyright 1993 - 2012 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)
Do you want to install the NetBackup client software for this client? [y,n] (y)

This package will install Solaris/Solaris10 client.

This package will install NetBackup client 7.5.

Enter the name of the NetBackup server : backupserver-baan

Would you like to use "afi-ssaerp2" as the configured
name of the NetBackup client? [y,n] (y)

Client binaries are located in /tmp/NetBackup_7.5_CLIENTS/NBClients/anb/Clients/ usr/openv/netbackup/client/Solaris/Solaris10.


NetBackup Deduplication software is incorrectly installed.
/etc/pdregistry.cfg was unexpectedly found.
Moving to /etc/pdregistry.cfg.2013-07-16_12:58 in order to continue.


Saving client binaries for Solaris/Solaris10.

Installing PBX...
A more up-to-date version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-20395-071613125958.log


Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Removing pre-existing SYMCnbclt package.
Jul 16 13:01:16 afi-ssaerp2 sendmail[20576]: [ID 702911 mail.alert] unable to qualify my own domain name (afi-ssaerp2) -- using short name
Installing SYMCnbclt package.
Jul 16 13:02:49 afi-ssaerp2 sendmail[20618]: [ID 702911 mail.alert] unable to qualify my own domain name (afi-ssaerp2) -- using short name
Installation of SYMCnbclt was successful.
More details regarding SYMCnbclt can be found in file
/tmp/install_cltpkg_trace.20317 on afi-ssaerp2.

Terminating NetBackup and/or Media Manager processes.

Installing NB-Java.

Unpacking SYMCnbjava package.
Checking for pre-existing SYMCnbjava package.
Removing pre-existing SYMCnbjava package.
Jul 16 13:04:43 afi-ssaerp2 sendmail[21195]: [ID 702911 mail.alert] unable to qualify my own domain name (afi-ssaerp2) -- using short name
Installing SYMCnbjava package.
Jul 16 13:06:04 afi-ssaerp2 sendmail[21216]: [ID 702911 mail.alert] unable to qualify my own domain name (afi-ssaerp2) -- using short name
Installation of SYMCnbjava was successful.
More details regarding SYMCnbjava can be found in file
/tmp/install_javapkg_trace.21138 on afi-ssaerp2.

Unpacking SYMCnbjre package.
Checking for pre-existing SYMCnbjre package.
Removing pre-existing SYMCnbjre package.
Jul 16 13:07:15 afi-ssaerp2 sendmail[21269]: [ID 702911 mail.alert] unable to qualify my own domain name (afi-ssaerp2) -- using short name
Installing SYMCnbjre package.
Jul 16 13:08:25 afi-ssaerp2 sendmail[21290]: [ID 702911 mail.alert] unable to qualify my own domain name (afi-ssaerp2) -- using short name
Installation of SYMCnbjre was successful.
More details regarding SYMCnbjre can be found in file
/tmp/install_jrepkg_trace.21138 on afi-ssaerp2.
+ /bin/cp ./nbj.conf /usr/openv/java

Directory /usr/openv/logs does not exist.
No log files to migrate.

Checking network connections.
bp.conf: IP_ADDRESS_FAMILY = AF_INET: default value, no update needed

Send a SIGHUP to inetd or xinetd so the (x)inetd.conf file will be reread.
No previous install detected.  Performing a fresh install.
+ Extracting PDDE agent package (/tmp/NetBackup_7.5_CLIENTS/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/pddeagent.tar.gz)...
Using /tmp/pdde_pkg to store temporary package data.
Unpacking SYMCpddea package.
Checking for pre-existing SYMCpddea package.
Removing pre-existing SYMCpddea package.
Installing SYMCpddea package.
Creating /etc/pdregistry.cfg.
Saving a copy of the uninstall script to /opt/pdde/pddeuninstall.sh
Checking to see if the PDDE configuration needs upgrading
Agent config file path found: {/etc/puredisk/Agent.cfg}
Making changes to /usr/openv/lib/ost-plugins/pd.conf
RESTORE_DECRYPT_LOCAL already in pd.conf
PREFETCH_SIZE already in pd.conf
META_SEGKSIZE already in pd.conf
Making changes to /usr/openv/lib/ost-plugins/pd.conf
FIBRECHANNEL already in pd.conf

PDDE install finished successfully.
Version now installed:
7.0000.0012.0118
Full PDDE installation log saved to: /var/log/puredisk/2013-07-16_13:08-pdde-install.log


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


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

Installation of Java LiveUpdate agent succeeded.  Refer to file
/tmp/JLU-Log/JavaLiveUpdate-Install.log on afi-ssaerp2
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.20233 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
you have mail
root@afi-ssaerp2 #



Uninstall Netbackup 7.5 Client on Solaris


root@afi-ssaerp2 # /usr/openv/netbackup/bin/bp.kill_all

No NB/MM daemons appear to be running.


root@afi-ssaerp2 # /usr/openv/netbackup/bin/vxlogcfg -r -p 51216
The configuration settings were removed successfully.


root@afi-ssaerp2 # /usr/openv/netbackup/bin/nblu_registration -r

Checking LiveUpdate registration for products to be removed.

Product CLT will be removed from registration.


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

# cd /usr/openv

# rm -rf  *