Azum's Posts
Nairaland Forum › Azum's Profile › Azum's Posts
@Jim, What always reboot? Your Oracle Database Installation or the Virtual machine? Clarify. |
jimblaze: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. |
jimblaze: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? |
jimblaze: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? |
jimblaze:You must have TNSNAMES.ora file configured on the client. Make sure it is properly configured. |
ceso: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. |
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. |
ceso: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? |
ceso: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. |
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. |
I have sent you and email. Reply to that email with the log files. And do remove your email address. |
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. |
another thing, how many oracle homes do you have? one or two? |
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? |
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. |
ceso: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. |
[quote author=ceso link=topic=6884.msg3719800#msg3719800 date=1239540899][/quote]@ azum (1) They are both on port 15211521 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 databaseIf 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-28000Like 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 youk. |
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. |
@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? |
ceso:@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? |
ceso: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. |
ceso:Provide more information. What operating system are you using? and what exactly are you trying to do? |
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 |
Disaster Recovery is a good topic worth thinking about in the Nigerian context. This is one area very lacking in the Nigerian IT space. |
A-40: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. |
Kemjisuper:The link below will help in addressing some of the tasks of a DBA. |
cabali: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. |
Toyosi R:Explain 2 and 3 better. What exactly are you trying to achieve. That will help profer solution. |
cabali: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. |
JerseyGirl: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. |
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. |
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 |

