Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle10G AS startup  problem and help regarding dcmctl updateconfig command

Posted on 2004-08-24
8
Medium Priority
?
7,478 Views
Last Modified: 2013-12-01
I have setup OracleAS 10G as following:
OracleAS 10G Infrastructure components:
Metadata Repositrory: Machine m1
Identity Components: Machine m2

OracleAS 10G MiddleTier on m1

All the components were running fine.

For Integration purpose, I manually changed httpd.conf file on m2 and restarted the http server on m2.This worked fine.
Later I modified the sso/conf/policy.properties file and restarted the OC4J_Security instance.However this failed with error "SSO: DB Error. Please make sure the database is available and restart SSO Server
 
04/08/24 15:12:49 oracle.security.sso.server.util.DBException: Empty DB connect string. Could not create DB connection pool .
SSO: FAILED TO START SSO SERVER! ".

I reverted back the changes made to both the files are restart the services,However again both OC4J_Security and SSO failed.

On m1 I tried restarting the Metadata repository ASControl instance.But this failed with error ""Error 1053: The service did not respond to the start or control request in
a timely fashion."
Same happened for Middle tier ASControl instance on m1.

Am trying to run "dcmctl.bat updateconfig -v" command on m1 for metadata repository instance and on m2 for identity AS instance.

Do I need to execute any other command before executing this? Like 'dcmctl.bat start/stop'. Also around how much max time should this command take to execute? For me control is not returning back for around past 45 min.

Any other way to get the system up and stable?

Any help on this highly appreciated :)

Thanks
Aarati  
0
Comment
Question by:AaratiK
8 Comments
 
LVL 1

Expert Comment

by:Poornimashiv
ID: 11889949
Hi Aarati,

What changes did you make to the policy.properties file. Try running dcmctl updateConfig -ct oc4j.
If this succeeds, then restart the Listener and the Database from the command line.

Let me know if OC4J_Security starts still returns the same errors.

Regards,
Poornima
0
 

Author Comment

by:AaratiK
ID: 11890152
Hi Poornima,

I was trying to change the 'MediumSecurity_AuthPlugin' value. I have written a class for Authentication and had given path of this  class.

Now I have reverted back to original.

As yuo had suggested I tried starting only the oc4j instance.But no success :(.
I tries other commands ' dcmctl get state', ' dcmctl listapplications' but these too landup in a nonending loop.

Thanks & Regards,
_Aarati
0
 
LVL 1

Expert Comment

by:Poornimashiv
ID: 11890837
Hi Aarati,

Do an opmnctl stopall followed by an opmncl startall. This will update the changes to the config files.
Check if this brings up oc4j_security succesfully.

Regards,
Poornima
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:seazodiac
ID: 11899320
Aarati--->Later I modified the sso/conf/policy.properties file and restarted the OC4J_Security instance.However this failed with error "SSO: DB Error. Please make sure the database is available and restart SSO Server
 

when you modified these files, always remember to run "dcmctl updateConfig" right away, OR you will be at risk of corrupting infrastructure repository.

try to shutdown every thing now,

and reboot the machine m1 and m2,

then bring up the components in the following order:

1.start listener and  Infra database on m1,
2.start  identity component on m2,
3. start middle tier on m1.


make sure to obey the sequence of the above commands
0
 
LVL 62

Expert Comment

by:gheist
ID: 11906420
04/08/24 15:12:49 oracle.security.sso.server.util.DBException: Empty DB connect string. Could not create DB connection pool .
SSO: FAILED TO START SSO SERVER! ".


fix data-sources.xml of your OC4J

http://tinyurl.com/6katn
0
 

Expert Comment

by:ramaswamymorla
ID: 11924902
Verify that your listener.ora and tnsnames.ora file is using the port 1521. This should be the default port that should be configured.

Make sure that your machine is configured with a fully qualified domain name.

Have you run the pre-install scripts before installing Oracle 9iAS 9.0.2.0.1? If not, I suggest you do a clean deinstall Oracle 9iAS, run the pre-install scripts, and then install Oracle 9iAS. The pre-install scripts allows to scan your system, and make sure that the necessary requirements are configured.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 12142999
Submitted to PAQ with no points refunded (of 500)

DarthMod
Community Support Moderator
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question