Thursday, December 12, 2013

convert cert.pfx to cer , key

Extract crt and key

openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.crt
openssl pkcs12 -in domain.pfx -nocerts -nodes  -out domain.key 
openssl pkcs12 -in domain.pfx -out domain-ca.crt -nodes -nokeys -cacerts


Created pfx file from crt and key 

openssl pkcs12 -export -out nokey-domain.pfx -inkey domain.key -in domain.crt 


Friday, December 6, 2013

Disable bing.com

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing
change vule to 0

Tuesday, November 26, 2013

Installation failed; reason - load on module failed, failed to load security policy - Checkpoint Firewall

Running in  expert Mode


cpwd_admin stop -name FWM -path "$FWDIR/bin/fw" -command "fw kill fwm"
cpwd_admin start -name FWM -path "$FWDIR/bin/fwm" -command "fwm"

cpwd_admin stop -name CPD -path "$CPDIR/bin/cpd_admin" -command "cpd_admin stop"
cpwd_admin start -name CPD -path "$CPDIR/bin/cpd" -command "cpd"


check Process
cpwd_admin list

Sunday, November 17, 2013

Configuration issues. "Quick stats on hostname is not up-to-date" vCenter 5.5

vpxd.quickStats.HostStatsCheck
vpxd.quickStats.ConfigIssues

To add the quickStats parameters to the Advanced Settings of the vCenter Server:

vpxd.quickStats.HostStatsCheck

Value: False

vpxd.quickStats.ConfigIssues

Value: False

reboot vCenter

Monday, September 30, 2013

Crontab delete Archivelog

#!/bin/bash

for i in DB1 DB2 ;
do
. oraenv << EOI
$i
EOI
rman target /   << EOI
sql "alter system switch logfile";
delete noprompt archivelog until time 'SYSDATE-7';
EOI
done;

Sunday, September 29, 2013

Rebuid em on windows 2008 r2

open CMD as Administrator

set ORACLE_HOSTNAME=hostname
edit c:/windows/system32/driver/etc/host
ipaddress hosname

set ORACLE_UNQNAME=sid

emca -config dbcontrol db -repos recreate


ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout