Solved

Oracle10G AS startup  problem and help regarding dcmctl updateconfig command

Posted on 2004-08-24
8
7,349 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now