Quantcast
Viewing all 262 articles
Browse latest View live

Attempt to connect to a data store that has been manually unloaded from R AM

Timesten in-memory Database :-

ttisql DSN_NAME

ttIsql (c) 1996-2005, TimesTen, Inc. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
All commands must end with a semicolon character.
connect "DSN=DSN_NAME";
707: Attempt to connect to a data store that has been manually unloaded from R
AM

The command failed.

This should be easy to resolve. A TimesTen datastore (physical database), which is what a DSN points at, has a property called its 'ramPolicy' The default value for this is inUse which means that TimesTen will load the datastore into memory whenever it is being used.

Solution :

ttAdmin -ramload DSN_NAME


Reference :-
1- Oracle OTN Forum here

Cheers

Osama ....

TT6003: Lock request denied because of time-out

Trying to create cache group lead to the below error :-

java.sql.SQLException: [TimesTen][TimesTen 11.2.1.4.0 ODBC Driver][TimesTen]TT6003: Lock request denied because of time-out
Details: Tran 143.23106 (pid 19946) wants Sn lock on rowid BMUFVUAAAAxogAALDp, table SUBSCRIBER. But tran 144.67398 (pid 19946) has it in Xn (request was Xn). Holder SQL (select ID,identifierType,identifiervalue,subscriberId,groupName,siid from subscriptionidentifie...) -- file "tindex.c", lineno 4277, procedure "sbTixNext()"

After check the Timesten parameter found the issue was with LockWait


Lockwait :- Allows an application to configure the lock wait interval for the connection.

LockWait may be set to any value between 0 and 1,000,000 inclusive to a precision of
tenths of a second. The default is 10 seconds.

Actual lock wait response time is imprecise and may be exceeded by up to one tenth of
a second, due to the scheduling of the agent that detects timeouts. This imprecision
does not apply to zero second timeouts, which are always reported immediately.

Cheers

Osama ...


Linux : Cannot Access .... Input/output error

/bin/ls: reading directory .: Input/output error
total 0

The above error indicate that i cannot access to the specific file on Linux, Delete not working. with root user as well.
so the error is not a problem to delete files, it's a problem about the file system itself and/or an hardware problem, but before announce that it's hardware issue :) try the below solution :-

 Option #1:-

use command dmesg.

(display message or driver message) is a command on most Linux- and Unix-based operating systems that prints the message buffer of the kernel. Read about that command here

Option #2 ( worked for me)

Use Fsck command to detect filesystem error and fix it.

How !!!

  1.  First Umount File system ( that file located ). Using Umount command if it's not able to un mount the file system use lsof command or fuser to check which user using this filesystem.
  2. run the fsck -y /dev/................. 
  3. mount file system again.
Fsck Command here

Cheers

Osama ...


Jordan Amman Oracle User Group


Jordan "officially the Hashemite Kingdom of Jordan" Capital Is Amman, More Here.

I have been working to create group for something i love ORACLE, and now it's officially created, the idea behind the group is so simple will let the member sharing their knowledge and ideas about oracle, answering their question and let them know more about oracle technology.

There is no condition to join this group Anyone is welcome to Join us.

The Website will be officially published Soon.
you can Like Us On Facebook Page here


Cheers
Osama 

Oracle DBA Scripts

I Published Some Scripts that every DBA Needs, these Scripts available for everyone, I used GitHub to Upload the scripts, this Blog post will be updated and will contains new scripts.

The Scripts Here.

Cheers
Osama ....

Fusion Middleware Attack

New Idea, New Concept It's always nice to learn something new in next event, this time i create new attack called Oracle Fusion middleware attack or Short name "OFM ATTACK" that allow people to interact and learn more about oracle fusion middleware.

if you are interseted in this attack please contact me by leaving comment " Your name and Email Address" and i will contact you back to volunteer in this attack,


Thank You

osama mustafa

2014 Achievement as an Oracle ACE

2014 is almost finished , new year will starting soon usually i don't list what i have done, but there is always start point for everything. it was very busy year on all level : Personal, Work and as oracle ACE.

One of the major achievement for me this year is created and lead Jordan Amman Oracle User group which is the first Oracle Group in Jordan and I am working now to organize next event for this group and this is taking most of time now.

The 2014 Summary :-

Let's Start with Conference :-


  • Dublin Conference.
  • Dubai Conference.
  • OTN Mena Tour.
  • Dublin Again :) 
  • Oracle open World.
  • New Zealand.
Sure during most of these conferences i was organizing RAC ATTACK Event around the world and simply it successful year for this amazing event.

Don't forget the webinar as well. 

I have to mention One of the most amazing event all the time which is oracle open world, This is was my first time in SF OOW I met most of the people in oracle community i will try to mention all of them but i am sorry if i forgot someone :-
  • Gurcan Orhan
  • Yury Velikanov
  • Kai Yu
  • Jeff Smith 
  • Kellyn PotVin-Gorman.
  • Danny Bryant
  • Don Seiler.
  • Steve karam
  • Sarah Craynon Zumbrum
  • Leighton Nelson
  • René Antúnez Berdejo ( i met twice this year ) .
  • Francisco Munoz ( i met him in NZ ).
And Sure other People , my first time in OOW was my first time to present in this Big Event I would like to thank Debra Lilley to give me this chance :)

I also enjoyed my time with best company Gurcan Orhan He is amazing person and would like to meet him again who knows next conference or maybe in Turkey.

i enjoyed my time hanging out with ACE and ACED, a lot of activity to do in OOW such as presentation, Concert .. etc.

don't forgot this year i wrote three articles to different magazine and i still have a lot of different topics to share, My Blog  i wrote blog post related to fusion middleware and Timesten in memory database most of these article what i faced in my real life challenging but amazing at the same time.

i was the first one in the middle east ( Jordan ) who appeared in Oracle Magazine Peer to Peer Thanks for Oracle ACE program i am really proud to be member of this amazing community.

I created magazine on flip-board that collect all the good articles posted by oracle community and share under one place and i am contribute in another one  Thanks for my friend Leighton Nelson.
the both magazine are simply amazing both sharing different idea.

I also passed Fusion middleware exam and upgrade my OCP certification. 

Finally I am really proud of one of the most achievement for this year which is created JAOUG ( Jordan Amman Oracle user group) i am working too hard to make this group success, i would like to give special thanks to Heli Helskyaho who supported me and gave me an idea to launch the group when i was in OOW.

i am sure 2015 will bring new things to me, 2014 was amazing year and fun at the same time. "Enshalla" 2015 will be more interesting i welcome any new challenge.

Cheers

Osama Mustafa


Configure NIC/Ethernet On ESXI 5.5

Happy new year and healthy 2015.

During the Holiday I was working on my mini Lab and Upgrading the Server i want to use ESXI 5.5 this time,usually the built-in Ethernet card  Intel or Realtek ( Mine ) while the installation i faced an issue that ESXI 5.5 doesn't identify my Ethernet card and the installation failed.

To solve this issue the normal ESXI iso will not work, because of this you have to create something called ESXI custom ISO using Software called ESXI customizer.

Download it from here.

You make this software work you need to install the original ESXI ISO.

Download it from here.

and The most important thing which is the driver that you need it for Ethernet Card, the driver usually depend on the PC just like to told you before I am using Realtek and you can download :-


  • net-r8168+r8111e From here.
  • net-r8169 From here.

Now you have all the software,  Original ESXI , Driver and the customizer.
Open the ESXI customizer new GUI screen will be open with three box like the below.



Now RUN Button and Check the output Directory Burn the ISO and This is should solve the issue.

Cheers
Osama Mustafa


Unable to Ping ESXI 5.5 Host

while i am continue working on my  Lab and configure ESXI i faced another problem and took 2 days to solve it maybe someone faced this issue but this will help other people as well.

The problem description like this :- after assigned IP to the server i want like normal people connect to this server using my laptop but simply when trying to ping :-

"Detestation unreachable" 

I thought at first it was my network card issue and maybe it's not supported By ESXI, But this is not valid option because the weirdest part in this issue was when restart the server and ESXI loading the services i was able to ping without any problem then the message appeared again.


as you see from the above screenshoot ping then not ping !!!!!


The solution very simple i start missing with BIOS options and found new option there called "Network Stack" all you have to do is enable this option and link to IPV4.


Cheers

Osama Mustafa

How to add storage to ESXI 5.5

in this post i will show you how to add New Storage to ESXI 5.5 using vsphere client follow the screenshot :-


  1. Login to Vsphere client
  2. Select the host and then choose the Configuration tab --> Storage. like below


  • Storage Type :-



  • Which Storage you want add :-



  • VMFS-3 For our case




  • Storage Name



  • maximum file size and capacity of the database.



  • Press Finish



  • Summary 



Cheers

osama mustafa

Step by Step Install REHL7 (Video)

This Link will show video that explain Step by Step How to install Redhat Enterprise Linux 7

Press here to watch.


Thank you
Osama Mustafa

Step by Step Install oracle 12.1.0.2 on RHEL 7

In this post i created document that includ steps to install oracle 12.1.0.2 database on Redhat Enterprise Linux 7 Press here to view the presentation.

Cheers

Osama

Migrate Data from SQL Server to Oracle

This Post will describe how to migrate data from SQL Server ( different version ) to oracle using SQL Developer

You can read it from here

Cheers
Osama 

Refresh Development From Production

In this Post i Created document that contain step by step how to refresh Development/Test/UAT From Production database.

View Presentation here.

Cheers
Osama 

J2EE User Management Using DataWarehouse Builder

In this Document i explained how to Start and Create Control center management ( OC4J ) using Data Ware House Builder.

View Document from here

Cheers
Osama Mustafa

How to apply new patch on siebel 8.2.2.4

In this post i will describe how to patch Siebel CRM Version 8.2.2.4

You Can check the document here

Cheers
Osama Mustafa

sshUserSetup.sh & runcluvfy.sh

Oracle 11gR2 RAC Grid install includes a useful script that can be used to make your life easier no more copying and waiting for errors the above scripts will make your easier simply.

./sshUserSetup.sh 

useful script to establish and exchange ssh keys between all the nodes of the cluster called sshUserSetup.sh

And Can Be Used like the below :-

./sshUserSetup.sh -user oracle -hosts "node1 node2" -noPromptPassphrase
./sshUserSetup.sh -user grid   -hosts "node1 node2" -noPromptPassphrase


./runcluvfy.sh

Cluster Verification Utility

Regarding to Oracle documentation :-

"performs system checks in preparation for installation, patch updates, or other system changes. Using CVU ensures that you have completed the required system configuration and preinstallation steps so that your Oracle Grid Infrastructure or Oracle Real Application Clusters (Oracle RAC) installation, update, or patch operation completes successfully."

you can learn More Here


Example :-
./runcluvfy.sh stage -pre crsinst -n  node1,node -fixup -verbose

Error in invoking target 'rat_on part_on dm_on olap_on sdo_on'

Today while i was browsing on Oracle Fourms i found Threads related to 11gR2 Installation , the OP faced an error like the below :-



The above error related to Space On Temp File system all you have to do make sure that there is enough space on temp ( tmp ) or use the below command :-


export TMP=/u01/Foldername
export TMPDIR=/u01/Foldername

Try again now


Cheers
Osama ..  

Configure E-mail For Oracle Enterprise manager DB 11gR2

Sometimes you will be not be able to check the database out of the office, sick ....

Regarding to oracle documentation :-

The notification system allows you to notify Enterprise Manager administrators of alerts, policy violations, and the status changes of job executions. In addition to notifying administrators, the notification system can perform actions such as executing operating system commands (including scripts) and PL/SQL procedures when an alert is triggered.

Before Enterprise Manager can send e-mail notifications, you must first specify the Outgoing Mail (SMTP) servers to be used by the notification system. Once set, you can then define e-mail notifications for yourself or, if you have Super Administrator privileges, you can also define notifications for other Enterprise Manager administrators.

For More about E-Mail Notification Read here.


If everything is ready please follow the screen shot :-

Welcome Screen/Login Page


The Main Page, Click On preference on Upper Right :-

Add the E-mail below :-



If you need to schedule any Rule Just add it like the below :-


Cheers
Osama Mustafa


Apply psu on single database

This post describes how to apply PSU Patch on Single Node Oracle Database With Screenshot

To view the document from here

Cheers
Osama Mustafa
Viewing all 262 articles
Browse latest View live