₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,417 members, 8,421,842 topics. Date: Sunday, 07 June 2026 at 07:33 AM

Toggle theme

Azum's Posts

Nairaland ForumAzum's ProfileAzum's Posts

1 2 3 (of 3 pages)

ComputersRe: Oracle DBA Corner by azum: 6:23am On Dec 28, 2009
@Jim,

What always reboot? Your Oracle Database Installation or the Virtual machine?
Clarify.
ComputersRe: Oracle DBA Corner by azum: 8:27am On May 25, 2009
jimblaze:
you mean 11g? because i did not get the problem with 10g, anyway it was after i could not connect that i pinged it
Apologies. What i meant is that right from Oracle 10g EM GC, it runs in secured mode by default and thus requires that you connect to it using https. Maybe Oracle has implemented this as the default mode for Oracle 11g DBConsole now.

As per pinging, open a command prompt on the client and then ping the server to test if your client can talk to the server.
ComputersRe: Oracle DBA Corner by azum: 7:50am On May 25, 2009
jimblaze:
yea i did change the sqlne.t.authenticatin_services to all and no i cant ping the server from the client, anyway i have already unstalled the client and i am gona reinstall it back, by the way how come when opening enterprise manager 11g from a web browser it would not open with http:// but with https://? why the s? when i did a fresh install of 11g, EM would not open so i went online and got the solution from an oracle dba blog tha said i should try https
S there means secured. Since Oracle 10g EM runs in secured mode by default.
If you can not ping the server from the client how then do you expect to be able to connect via Oracle?
ComputersRe: Oracle DBA Corner by azum: 7:37pm On May 22, 2009
jimblaze:
well i tnsping and it says TNS-12535: TNS:operation timed out and my sqlnet.ora file on both the server and client is this-# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES = (NTS)


this is not good right : cheesy
Change that to ALL.
And if you still can not connect post the following files here for review:

1. listener.ora file from the server end
2. sqlnet.ora from the server side
3. tnsnames.ora file from the client side.

Meanwhile can you please answer the following question: can you ping the server from the client?
ComputersRe: Oracle DBA Corner by azum: 7:58pm On May 21, 2009
jimblaze:
hello guys were are all of you?lemoor, a40, cabali, wats happening? i installed oracle 11g db on a coworkers pc and i installed oracle 11g client on my pc and i have been trying to use the client to connect but not possible, i keep getting ORA-12154: TNS:could not resolve the connect identifier specified and ORA-12154: TNS:could not resolve the connect identifier specified so, solutions grin
You must have TNSNAMES.ora file configured on the client.
Make sure it is properly configured.
ComputersRe: Oracle DBA Corner by azum: 8:39pm On Apr 22, 2009
ceso:
@ azum, I followed the steps but no luck, my guess is that it has something to do with admin rights as all attributes in the oracle folder are set to readonly. As soon as i uncheck readonly and close properties, the attributes automatically goes back to readonly. Anyway thanks for all your effort; i will delete and re-install enterprise manager.
If that's what you want to do, i believe somewhere in these threads i stated the steps to take to do a clean uninstall on windows.
Good luck.
ComputersRe: Oracle DBA Corner by azum: 10:29am On Apr 21, 2009
Ceso:

If you really need to solve this problem then follow the steps below in full. Dont stop halfway.

After looking at the log files try the following steps to unlock your SYSMAN account:

1. Stop dbconsole:
$ORACLE_HOME/bin/emctl stop dbconsole

2. check the status of the dbconsole using the following:
C> emctl status dbconsole

3. Unlock the SYSMAN user. Connect in SQLPlus as SYSDBA and run following statement:
ALTER USER SYSMAN ACCOUNT UNLOCK;

4. Backup and edit the following file:
$ORACLE_HOME/<hostname_SID>/sysman/config/emoms.properties

6. Locate and change following lines:
oracle.sysman.eml.mntr.emdRepPwd=<encrypted_string>
oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE

to

oracle.sysman.eml.mntr.emdRepPwd=<password_from_repository_unecrypted>
oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE

7. Check the new password
SQL> connect sysman/<new_password>[@database_alias]

8. Start db control:
$ORACLE_HOME/bin/emctl start dbconsole

9. check the status of the dbconsole.

10. While still at it check that the password has been encrypted
   Edit the file emoms.properties
   Search for the line beginning with:
   oracle.sysman.eml.mntr.emdRepPwd=
   Check that the password is encrypted
   Search for the line beginning with:
   oracle.sysman.eml.mntr.emdRepPwdEncrypted=
   Check that the value is TRUE

I have slightly changed the sequence. Check it out and let me know
If this does not work i might try to recreate the problem and see what is happening so as to get a solution.
ComputersRe: Oracle DBA Corner by azum: 6:25am On Apr 20, 2009
ceso:
@ azum,
im still not able to login as sysman, keeps saying my account is locked. I just found out that oracle 10g is not compatible with windows vista Home premium and im not sure if that has anything to do with the system 5 error i encountered while stopping dbconsole and also the loss of connection to my database. I find it strange that i was able to download 10g on vista home premium inspite of the compatibility issue.
Who told you Oracle 10g is not compatible to Windows Vista. It is and you can quote me on this.
Also, unlocking sysman account is not easy. That's why i took the pains to set out the steps above. Follow through those steps and you will be able to unlock the sysman account. Did you try the steps?
ComputersRe: Oracle DBA Corner by azum: 5:29am On Apr 19, 2009
ceso:
@azum, Apologies couldnt reply to your post soon enough. Just tried both emctl stop/status dbconsole, and i keep getting the error message "system 5 error has occured, access is denied". After poking around a bit, i figure this is an admin rights issue but i'm logged in as the administrator.
Now a few things:

1. Were you able to change the SYSMAN password?
2. Were you able to confirm this by loggin on to sqlplus using SYSMAN and its new password?
3. If the above are true, then send me the logfiles.
ComputersRe: Oracle DBA Corner by azum: 9:44pm On Apr 13, 2009
After looking at the log files try the following steps to unlock your SYSMAN account:

1. Stop dbconsole:
$ORACLE_HOME/bin/emctl stop dbconsole

2. check the status of the dbconsole using the following:
C> emctl status dbconsole

3. Unlock the SYSMAN user. Connect in SQLPlus as SYSDBA and run following statement:
ALTER USER SYSMAN ACCOUNT UNLOCK;

4. Check the new password
   SQL> connect sysman/<new_password>[@database_alias]

5. Backup and edit the following file:
$ORACLE_HOME/<hostname_SID>/sysman/config/emoms.properties

6. Locate and change following lines:
oracle.sysman.eml.mntr.emdRepPwd=<encrypted_string>
oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE

to

oracle.sysman.eml.mntr.emdRepPwd=<password_from_repository_unecrypted>
oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE

7. Start db control:
$ORACLE_HOME/bin/emctl start dbconsole

8. check the status of the dbconsole.

9. While still at it check that the password has been encrypted
Edit the file emoms.properties
Search for the line beginning with:
oracle.sysman.eml.mntr.emdRepPwd=
Check that the password is encrypted
Search for the line beginning with:
oracle.sysman.eml.mntr.emdRepPwdEncrypted=
Check that the value is TRUE

While doing this remember that you have 2 dbconsoles running from the same Oracle Home.
My advice is you shutdown both before doing the above steps for each one.

Basically what you're doing here is to unclock the SYSMAN account. Unfortunately just unlocking at the database level alone is not enough.

Let me know if this works for you.
ComputersRe: Oracle DBA Corner by azum: 1:22pm On Apr 13, 2009
I have sent you and email. Reply to that email with the log files.
And do remove your email address.
ComputersRe: Oracle DBA Corner by azum: 11:59am On Apr 13, 2009
Please do the following and paste the output respectively:

1. c:\> set ORACLE_SID=orcl
2. c:\> log on to oracle via sqlplus using system
3. issue the following command:
select instance_name from v$instance;
4. still in sqlplus issue the following command:
select username,account_status from dba_users;
5. log out of sqlplus
6 at C:\> prompt issue the following command:
emctl status dbconsole

Paste the output here.

Then execute the following command too:
1. c:\> set ORACLE_SID=chin
2. Repeat steps 2 to 6.

paste the output here.
ComputersRe: Oracle DBA Corner by azum: 11:53am On Apr 13, 2009
another thing, how many oracle homes do you have? one or two?
ComputersRe: Oracle DBA Corner by azum: 11:50am On Apr 13, 2009
give me your emailaddress and i will send you an email immediately.
Also, this output from sqlplus is that from the database you can not connect to?
ComputersRe: Oracle DBA Corner by azum: 7:09am On Apr 13, 2009
Do the following for the two environments:

1. log on to oracle via sqlplus as system. Issue a select command against the dba_users. Paste the output.
2. send me the log file from the sysman/logs directory for both databases.
3. check and ensure that the DBSNMP user is not locked in the 2 databases.
ComputersRe: Oracle DBA Corner by azum: 2:15pm On Apr 12, 2009
ceso:
@ azum, Not sure what happened but i'm not able to connect to the chin db through EM
Simple you got the correct url which includes the correct port number for the CHIN db.
Like i explained in the last post, given that you have two database instances there will be 2 url for each of the dbconsole each with different port numbers.
ComputersRe: Oracle DBA Corner by azum: 2:13pm On Apr 12, 2009
[quote author=ceso link=topic=6884.msg3719800#msg3719800 date=1239540899][/quote]@ azum
(1) They are both on port 1521
1521 is the listener port. This is ok since all it implies is you're using one listener to service both databases. However the dbconsoles ports are different. So the first thing you need to do is figure out what your dbconsole port is. There will be two for the dbconsoles you have installed.

(2) I'm trying to open the orcl database
If your trying to connect via the command line prompt, then you need to first set your ORACLE_SID to the database you want to connect to. in this case ORCL. you use the following command: C:\> set ORACLE_SID=ORACL
and on the next line issue your sqlplus command.
There is also an Oracle utility that allows you to toggle your ORACLE_SID. This utility will be located in the Oracle folder.
if you trying to connect via the sqlplus utility ensure that your tnsnames file is properly setup.
The above scenerio works if you have a single Oracle Home hosting the multiple database instances you have. But if you have different oracle homes for each instance then you have to set the oracle homes for each instance whenever you want to connect to it.

(3) I can connect to chin via sqlplus and when i try orcl in sqlplus i get the error message the account is locked ora-28000
Like it says your account is locked. The possibilities here are multiple:
a. the account is locked by default - meaning you need to log on to sqlplus as system to unlock that account.
b. the account is locked because it has exceeded the maxmum number of tries as allowed by the default password policy in place. By default after 3 tries with wrong combination of username/password the account gets locked and needs to be unlocked.

By the way provide more information as per the username you're trying to use here.

(4) There arent an other oracle services besides what i sent you
k.
ComputersRe: Oracle DBA Corner by azum: 1:31pm On Apr 12, 2009
what you are experiencing happens when you have multiple database instances running on windows.

1. Now, on what ports are the two dbconsoles: OracleDBConsoleChin, OracleDBConsoleOrcl running? The two will have different ports.
2. which of the dbconsoles were you trying to open? Chin or Orcl?
3. using sqlplus ensure you can connect to the two database instances: orcl and chin.
4. i need you to paste the other services having CHIN and ORCL in their names. Cant remember the names but check under the services and past these alongside their statuses.

waiting.
ComputersRe: Oracle DBA Corner by azum: 1:06pm On Apr 12, 2009
@Ceso,

You have two databases instances: chin and orcl.
Are you sure you're accessing the correct oem associated with the instance?
By the way, list all the oracle associated services and their statuses. as shown in the services.
these should start with something like "ORCL" or "CHIN".

Have you tried to reboot your laptop?
ComputersRe: Oracle DBA Corner by azum: 12:48pm On Apr 12, 2009
ceso:
@ azum, Happy Easter--> i checked under services and the dbconsole status is set to"started" and startup type is "automatic". I tried restarting both the oracleDBconsole and Oracleservice orcl, but no luck.
@Ceso,
Happy Easter joo.
Have you tried to restart your laptop? There are other services associated with dbconsole that also need to be in "started" mode too. Unfortunately i cant remember it off my head and i dont have 10g installed on my laptop at present.
Anyway try to reboot your laptop and see if that works.
And while you're still at it, how many Oracle Instances do you have installed on your laptop?
ComputersRe: Oracle DBA Corner by azum: 8:52am On Apr 12, 2009
ceso:
Thanks for the quick response azum. I downloaded oracle 10g database on my laptop (OS windows vista) and for a while i was able to login and then all of a sudden i cant connect to my database anymore. When i try to login i get the message"enterprise manager is not able to connect to the database instance"; i can see that my database instance is open and my listener is up however the agent connection to instance failed(ORA-12505). I have tried to define the SID but no luck. Anyway I ended up creating another DB but i still want to find out why i lost connection on the first database.
I assume by ' i was able to login and then all of a sudden i cant connect to my database anymore" you mean you cant via the dbconsole. I assume this because as i can see above you're able to connect via sqlplus. With this little information available, my first take is for you to check if the dbconsole services are running under the windows services. In windows vista the best way to do this is as follows:

1. start then go to control panel
2. click "Click Classic View"
3. go to Administrative tools
4. then go to Services

Check the status of the dbconsole service and its associated services. (Cant remember them off my head now)
they all have to be up and running. Your best bet is to reboot your laptop since these services start automatically unless you've changed them to start manually. Do this and let's know what you found.
ComputersRe: Oracle DBA Corner by azum: 3:06pm On Apr 11, 2009
ceso:
@azum: came across this site while searching for solutions on how to connect to my db. I have a similar problem as jabbock however i'm still getting the message that my oracle_sid is not defined. I restarted oracledbconsole, oracle tns listener and oracle services, but no luck. Any ideas on how i can fix this ?
Provide more information. What operating system are you using? and what exactly are you trying to do?
ComputersRe: Oracle DBA Corner by azum: 9:14pm On Apr 01, 2009
I just uploaded a zip files contains some nice documentation on RAC i collated over a long time. You can access it using the link below.

http://www.esnips.com/web/TechnicalDocumentation
ProgrammingRe: In Need Of Project Topics by azum: 1:11pm On Apr 01, 2009
Disaster Recovery is a good topic worth thinking about in the Nigerian context. This is one area very lacking in the Nigerian IT space.
ProgrammingRe: Oracle 10g Newbies Forum by azum: 1:09pm On Apr 01, 2009
A-40:
T[b]he sore point is there are not that many DBA jobs[/b] in Nigeria its still a growing field definitely and the experience thing is another issue people expect you to have been on the job for donkey years so its still a bit hard out there for most of us that are still pretty new to it
Are you really sure about the bold part. Yes it is a growing field just as it is anywhere in the world. Yes the experience matters. But believe me these two are not limited to Nigeria alone. But i dont quite think it is right to say there are not many DBA jobs in Nigeria. I know for sure that 5 of the following banks: GTB, First Bank, Union Bank, UBA, Intercontinental, Oceanic and Zenith run various versions of Oracle RDBMS server. Many of the second tier banks do. Infact i used to work for one of them before i left Nigeria in the late 1990s. Even as at then many other banks run Oracle environments.
I also know for a fact that all the major Oil companies including most of the local ones have complex Oracle environments requiring DBAs. Not to talk of most of the major companies in Nigeria. These i know for a fact. Then quite a number of State Govts have various ERPs running on the Oracle Database. Then there are various software houses all undertaking one Oracle project or the other.
Also note Oracle Corporation has a Nigerian office since 2001/2002: Oracle Corporation that i know of will not have an office in Nigeria unless it is revenue generating.
So definitely there are Oracle DBA jobs out there but the key thing is the experience. And then the issue of these banks and companies wanting to recruit Nigerians living abroad to come and work for them.
ProgrammingRe: Oracle 10g Newbies Forum by azum: 6:37pm On Mar 30, 2009
Kemjisuper:
Hello Database Newbies, Gurus & Guruettes kiss

I'd like us to use this forum to educate ourselves & discuss issues

concerning ORACLE Database Administration. I know there's already a

thread on Oracle, but it's packed full of Professionals and some of

the discussion points are way beyond the scope for us Newbies. We

really need to pick up on the very basics of being a DBA like for

instance

- What's the job of a DBA like?
The link below will help in addressing some of the tasks of a DBA.

http://www.oracle.com/technology/getting-started/coredba.html


- Would you be going to work every morning to issue SELECT statements?
Not necessary. Except when you're a Developer DBA, your use of SELECT statement is very minimal. Your use of this is restricted mainly for exploring the database for information. There is this wrong conception here that being a DBA is all about SQL and PL/SQL. Please there is far more to being a DBA than knowing PL/SQL and SQL.

- Is it an interesting job besides high paying?
It a fun job. Being in it for a few years now and cant see myself giving it up for anything.

- What professional ethics are associated with being a DBA?
This is one of those unwritten rules of being a DBA. As a DBA you have access to sensitive information stored in the databases you manage. So as a DBA a high standard is expected. That is why these days in the US after 9/11 certain DBA jobs require not only being a US citizen but also having a Secret Clearance.

- What professional Certifications are attainable for ORACLE?
There are just so many. Here is a link to help you.

http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=141

- Which are the best Institutions to study Oracle in Nigeria?
Unfortunately cant help here. More or less a visitor to Nigeria these days.

- What's the demand for Oracle DBA's like in Nigeria?
I believe the demand for those with relevant experience is high. That i know for sure going by what my contacts on ground tell me. But like everywhere else in the world, there is this apathy towards beginner. Employers seem to forget there the guru of tomorrow needs somewhere today to cut his teeth.

- What are the risks involved if something goes terribly wrong?

Very high. That's why the job interviews are always very demanding. You tend to e grilled on practical aspect of the job that even the exams dont cover. Employers put a lot of emphasis on ability to demonstrate hands-on capability than anything else. I remember sometimes in 2004 when i nearly ran into trouble for refreshing a listener on one of my environments that the client can not afford to go down for a minute. It takes something like less than the twinkle of an eye lid for a listener to be refreshed. Believe me, i hardlylogged out of the listener command line when the phones starting ringing and questions were being asked.
But all in all, even the strictest employers give room for mistakes. Most Oracle shops are segregated. DBAs are assigned job and duties based on their experience and comfortability. In such environments, junior DBAs are expected to ask questions from the senior DBAs. But in some one DBA environments, then you have a jack of all DBA. Here the margin for error is very minimal. It is more important for a DBA to know where to look for solution to a problem than to claim to know it all. As such employers these days are incorporating questions on the Internet Search engines like google and metalink as part of drill for DBAs being interviewed for a job.
Generally though, Oracle database is so robust that the possibility of a DBA doing something grave is very minimal. Unless for someone masquerading as a DBA. What is common though i DBAs being slow or unable to solve a problem. For example while it may take an experience DBA a short time to recover and restore a lost control file, it may take a beginner DBA like forever to do it.
All the above being said, its easier for a DBA to be fired for incompetence just like in other jobs than for a DBA to be fired for doing something stupid. It will really take a stupid DBA to go and delete all his control file.

- , and so on!
Lastly, let me add here being a DBA requires a lot of hardwork and lots and lots of continous education. Thank God for the internet. There are so many resources out there for one to access. Nearly any possible problem a DBA will encounter must have been encountered by someone before. So to succeed as a DBA you need to know where to look for for help. This key. And be ready to read wide.

Please note what i have written here can be aid to be global in nature. I wish i can give more Nigerian specific situations.

Here we'll be seeking help and advice from those who have gone far,

and those possibly through with their Oracle Certification.

As time goes on, we'll also practice revising some codes and SQL

statements which may be familiar or strange to us (Professional help

required here pls).

Please, let's respond to this topic positively in our best interests.

Cheers
I hope you find my post useful. If you have further questions please dont fail to post them and time permitting i will try my utmost best to address your concerns.

Goodluck.
ComputersRe: Oracle DBA Corner by azum: 6:50pm On Mar 26, 2009
cabali:
Prior to that I used mozilla and IE7 successfully with JRE update 13. I reverted back to IE7 and it isnt still working; thats the issue.
I guess you're on windows. First download the IE7 installer. As well as the Mozilla installer. Then go to programs and totally uninstall your IE and mozilla. Reboot your system to ensure these have been cleanly uninstalled. The once your system comes up verify from the list of installed programs that you do not have IE7 and Mozilla.
Then using the installers of IE7 and Mozilla you downloaded, reinstall these and you should be fine.
ProgrammingRe: Can U Pls. Help? by azum: 11:57am On Mar 26, 2009
Toyosi R:
HELLO PROGRAMMERS
Do any body have an idea of any of the following
please help me out.


1. importing and exporting from excel to sql server database using vb.net


2.  Making application run on network. (local area network)

3. Backing up and restoring


Thanks so much
Explain 2 and 3 better. What exactly are you trying to achieve. That will help profer solution.
ComputersRe: Oracle DBA Corner by azum: 11:53am On Mar 26, 2009
cabali:
BTW I am working on ERP on the E-business Suite.

Azum, any idea?
What i can think about is that you're having compatibility issues. If i remember correctly IE8 came out not long ago. And i doubt if Oracle has completely tested it to CERTIFY it for use with e-Business Suite or even with basic Oracle Forms. These things from experience take time. You may want to check/confirm from Metalink on Oracle website to see if e-Business is CERTIFIED for IE8. A temporary solution until IE8 is certified is to downgrade to IE7 which i believe is certified for e-Business Suite. Dont know about Mozilla but i believe it could be the same compatibility issue. Check Metalink for the compatibility matrix.
ProgrammingRe: Oracle On Laptop by azum: 6:35pm On Mar 19, 2009
JerseyGirl:
please help! can i install Oracle 11g on my personal laptop?. how many applications can i install?. i don't want to kill my pc. thanks.
Yes you can. Infact you can install as many applications as you have as long as the memory on your laptop can support them.
Before you install ensure you have the version compatible with the bits of your OS. If your windows is 32 bits ensure you get 32 bits Oracle 11g for windows to install and if it is 64 bits ensure you get 64 bits Oracle 11g for windows to install. Oracle 11g 32 bits wont work on a 64 bits Windows os and vice versa.
ComputersRe: Oracle DBA Corner by azum: 9:33pm On Mar 16, 2009
Other good websites with oracle DBA materials:

1. http://www.onlinetutelage.com/id1.html
2. http://www.dba-village.com - registration required
3. http://www.dbazine.com
4. http://www.orafaq.org
5. http://www.dba-oracle.com/articles.htm - By the world renowned DBA Guru himself - Donald K. Burleson.

Will update this post as i remember many more.
ComputersRe: Oracle DBA Corner by azum: 11:14am On Mar 08, 2009
All you looking for hands-on tutorials on Oracle the following link has lots and lots of it.

http://www.oracle.com/technology/obe/start/index.html

1 2 3 (of 3 pages)