( Installation Part ) , You can Download and Check the Document Here.
Thank you
Osama mustafa
For the people who think differently Welcome aboard
Thank you
Osama mustafa
when trying to open oracle bi administration tool client, You can download oracle bi administration tool client from here.
Cause :-
Most probably this error related to version mismatch between OBIEE Server and Administration Tool Client in my case OBIEE Version 11.1.1.7.1 and Administration Tool client 11.1.1.7.0
Solution :-
1- Download Upgrade Patch 17530796 From http://support.oracle.com depend on operating system
2- Patch contain multiple file search for this one :- p17463403_111170_Generic.zip
3- inside this zip file browse
17463403\files\clients\biserver\
4- you will find two files biee_client_install_x64.exe Or biee_client_install.exe depend on version.
5- Install One of this file to upgrade Administration tools, Use Repair Option.
Thank you
Osama Mustafa
Trying to Recover Database and Open it with Resetlogs will lead to this error :-
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: ‘/u01/app/oracle/oradata/NPDB/system01.dbf’
This Error is only apart of the problem, To solve it :-
Recover database using file name (Redolog) to get the current filename :-
SQL > Startup mount ;
SQL > select member from v$logfile lf , v$log l where l.status=’CURRENT’ and lf.group#=l.group#;
MEMBER
——————————————-
/u01/app/oracle/oradata/NPDB/redo03.log
SQL > Recover database using backup controlfile until cancel ;
Specify log: {=suggested | filename | AUTO | CANCEL}
/u01/app/oracle/oradata/NPDB/redo03.log ( From the Above Query ).
Log applied.
Media recovery complete.
Trying to open database :-
SQL > Alter database open Resetlogs ;
Failed !!!! with Another Datafile which is UNDO.
ORA-01110: data file 4:’/u01/app/oracle/oradata/NPDB/UNDOTBS01.DBF’
SQL > Create Pfile from Spfile ;
Modify the pfile and add the hidden parameter :-
_allow_resetlogs_corruption=True
But this Not Solved the problem either.
Again Edit Pfile But this Time :-
undo_management=manual
undo_tablespace=UNDOTBS1
SQL> select name from v$datafile;
NAME
——————————————–
/u01/app/oracle/oradata/NPDB/SYSTEM01.DBF
/u01/app/oracle/oradata/NPDB/UNDOTBS01.DBF
/u01/app/oracle/oradata/NPDB/SYSAUX01.DBF
/u01/app/oracle/oradata/NPDB/USERS01.DBF
……………………
SQL > alter database datafile ‘/u01/app/oracle/oradata/NPDB/UNDOTBS01.DBF’ offline drop;
ERROR at line 1:
ORA-01548: active rollback segment ‘_SYSSMU11$’ found, terminate dropping tablespace
Check Segment that Needs Recovery :-
SQL>select segment_name,status,tablespace_name from dba_rollback_segs where status=’NEEDS RECOVERY’;
SEGMENT_NAME STATUS TABLESPACE_NAME
—————————— —————- —————–
_SYSSMU11$ NEEDS RECOVERY UNDOTBS1
_SYSSMU12$ NEEDS RECOVERY UNDOTBS1
_SYSSMU13$ NEEDS RECOVERY UNDOTBS1
Add the following line to pfile:
_corrupted_rollback_segments = (‘_SYSSMU11$’,’_SYSSMU12$’,’_SYSSMU13$’);
SQL > Startup mount pfile=’/u01/osama.ini’;
SQL > drop rollback segment “_SYSSMU11$” –> Drop all the above Segments ;
Drop the Undo And Recreate it again.
SQL > Startup ;
SQL> create undo tablespace UNDOTBS2
datafile ‘/u01/app/oracle/oradata/NPDB/UNDOTBS02.DBF’ size 1G;
Remove All Hidden Parameter and restore UNDO_Managment Parameter to AUTO and UNDO_TABLESPACE=UNDOTBS2 then :-
SQL> create spfile from pfile;
first Advice Enable RMAN Please
Thank you
Osama Mustafa
Reference :-
1- Doc ID 94114.1
2- Doc ID 1295294.1
3- Doc ID 28226.1
Oracle HTTP Server is the web server component in Oracle Fusion Middleware. Based on the Apache infrastructure, Oracle HTTP Server allows developers to program their site in a variety of languages and technologies.
PHP (recursive acronym for “PHP: Hypertext Preprocessor”) is a general-purpose scripting language often used for generating web sites. The object model of PHP 5 facilitates project development using standard object-oriented methodologies.
To Configure PHP with Oracle OHS Follow the below steps :-
Step #1:-
export ORACLE_HOME=/Siebel/ohs/Middleware/Oracle_WT1/
export ORACLE_INSTANCE=/Siebel/ohs/Middleware/Oracle_WT1/instances/instance1/
export CONFIG_FILE_PATH=/Siebel/ohs/Middleware/Oracle_WT1/instances/instance1/config/OHS/ohs1/
Step #2:
Download PHP From here.
Upload the file to the server ( should be on the same OHS Server).
gunzip php-5.4.27.tar.gz
tar -xvf php-5.4.27.tar
cd /Siebel/php-5.4.27
$./configure –with-apxs2=$ORACLE_HOME/ohs/bin/apxs –prefix=$ORACLE_HOME –with-config-file-path=$CONFIG_FILE_PATH
make
make install
libphp5.so is generated inside php/libs
cp php.ini-production $CONFIG_FILE_PATH/php.ini
AddType application/x-httpd-php .php .phtml
./opmnctl stopall
./opmnctl startall
Install Demo Files HereExtract demo file to $CONFIG_FILE_PATH/htdocs
1- Linux Check Memory Usage Here.
2- 18 Command Line Tools to Monitor Linux Performance here.
There are options available to flush cache of linux memeory :-
Flush everything ( Pagecache, dentries and inodes ) :-
sync; echo 3 > /proc/sys/vm/drop_caches.
Flash dentries and inodes :-
sync; echo 2 > /proc/sys/vm/drop_caches
Flash PageCache only
sync; echo 1 > /proc/sys/vm/drop_caches
All the command should be Run As root.
Schudle the above command as job using crontab , choose from the above command what you need :-
0 * * * * /root/memory.sh
Memorysh –> should be contain one the above script run as root.
Thank you
Osama mustafa
emctl start dbcsonole
Working without any errors, metrics collected, but when trying to run
emctl start iasconsole
Or
emctl istart iasconsole
The Error ” Unable to determine console port, default-web-site.xml : no such file or directory”
The File is exists, and configured to run oc4j on port 8888, http://hostname:888/em not working with error “iasconsole service should be stopped”. Weird !!!!!
Operating system Oracle Linux 64bit, After investigation i discovered that binary/files for oc4j in ORACLE_HOME was corrupted and not working correctly however this is what i did to fix this error :-
First Download OC4J_extend.zip from here, this zip file contain same directory files ( xml,config ) in oc4j ($ORACLE_HOME/oc4j) so extract this file inside this path, if oc4j not exist create one and extract the zip file into this directory.
But this is will not make oc4j works, complete the below steps to make sure everything is working fine.
[oracle@PROD bin]$ ./java -jar /u01/app/oraclenew/product/11.2.0/dbhome_1/oc4j/j2ee/home/oc4j.jar
Apr 3, 2014 2:51:51 PM com.evermind.server.XMLApplicationServerConfig randomizeJtaAdminPassword
INFO: Updating JtaAdmin account
14/04/03 14:52:30 Set OC4J administrator’s password (password text will not be displayed as it is entered)
Enter password:
Confirm password:
The password for OC4J administrator “oc4jadmin” has been set.
14/04/03 14:52:35 The OC4J administrator “oc4jadmin” account is activated.
14/04/03 14:52:39 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
Configure Cygwin so simple, follow the below steps :-
Download Cygwin from Here, Upload File to the windows Server and Run the setup.
/usr/bin/ssh-host-config
Should privilege separation be used? (yes/no) yes
new local account ‘sshd’? (yes/no) yes
Do you want to install sshd as a server? Yes
Enter the value of CYGWIN for the daemon: [] (DON’T ENTER ANYTHING, PRESS ENTER)
Do you want to use a different name? (yes/no) no
Create new privileged user account ‘cyg_server’? (yes/no) yes
Please enter the password: ENTER YOUR PASSWORD HERE
Reenter: RE-ENTER YOUR PASSWORD
Using Command Prompt ( cmd )
Start ssh by –> net start sshd
Stop ssh by –> net stop sshd
Another way posted by my friend Maaz you can check it here.
Enterprise manager cloud 12c contains two different type of Connection mode online and offline, this blog describe how to install manually :-
From Setup –> extensibility –> Self Update
Press On Agent Software., The below screen will appear :-
By pressing any of those agent new pop up will open included with link to download, copy the link and upload the file to OMS Host and run the below command :-
[oracle@EM12C emcli]$ ./emcli import_update -omslocal -file=….
File Path should be provided in the above command.
The output :-
Processing update: Agent Software – Agent Software (12.1.0.1.0) for Microsoft Windows x64 (64-bit)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
Thank you
Osama mustafa
For Overview and concept about it Read Oracle Documentation Here
The Setup to enable emcli so simple and already provided with Enterprise manager 12c,
From Setup –> Command Line Interface.
After Access Command Line Interface you should be able to install emcli kit by press the below :
Jar File will be installed,Upload it to the server.
Create New Folder On the Server Using :
mkdir /u01/emcli
Set The Variable:-
export JAVA_HOME=/u01/app/fmw/jdk
export PATH=$JAVA_HOME/bin:$PATH
Run the Below Command
java -jar emcliadvancedkit.jar client -install_dir=/u01/emcli
cd /u01/emcli
emcli setup -url=https://EM12c:7802/em -username=sysman -trustall -autologin
Thank you
Osama Mustafa