Search This Blog

Thursday, 19 June 2025

OCI APPS R12.2.8 - adstrtal.sh: exiting with status 1 - adstrtal.sh: Database connection could not be established

Introduction:

After stopping the APPS tier services and database tier services, got the following errors while starting up the APPS Tier services post database services.


 [oracle@test_oracle_cloud_app1 scripts]$ adstrtal.sh


You are running adstrtal.sh version 20.24.12020



Enter the APPS username: apps


Enter the APPS password:

Enter the WebLogic Server password:


adstrtal.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong.


USAGE:  adstrtal.sh <appsusername/appspassword> [-nothreading]

        adstrtal.sh <applications_username/applications_password> -secureapps

        adstrtal.sh -nodbchk

        adstrtal.sh -mode=allnodes

        adstrtal.sh -msimode



adstrtal.sh: exiting with status 1



Resolution:

Issue is not related to do any thing with apps user password or any of the listener on APPS Tier or database tier.

The issue is related to one of the ERP Service which did not startup with the database start.

Check the services

select name,network_name from v$services;


select SERVICE_ID,NAME from dba_services;


login to the PDB of APPS 


show pdbs;


show con_name;


Alter session set container=APPS_DB_PDB_NAME;


start the required services, in our case it was ebs_ERPTEST


 

SQL> exec dbms_service.start_service(service_name=>'ebs_ERPTEST');

 

PL/SQL procedure successfully completed.


now start the APPS Tier services.


If you are not sure about the APPS Service, check the alert log and grep with ":Started" and start the service with the above procedure.






Wednesday, 18 June 2025

How to deploy Oracle EBS Cloud Manager on Oracle Cloud

 Please follow the Oracle support document


Deploying Oracle E-Business Suite Cloud Manager Version 20.1.1.X on Oracle Cloud Infrastructure (Doc ID 2434500.1)



Wednesday, 4 June 2025

Cloning an Oracle Base Database Service 19c DB System for Oracle E-Business Suite Release 12.2 on Oracle Cloud

 Introduction:

To clone the Oracle Base Database Service 19c DB system on Oracle cloud , check the following Oracle support doc.


Cloning an Oracle Base Database Service 19c DB System for Oracle E-Business Suite Release 12.2

(Doc ID 2800199.1)

Wednesday, 28 May 2025

Oracle Cloud - Cloning of Oracle EBS R12.2 Application Tier on OCI

Introduction:


How to clone Oracle EBS R12.2 APPS tier on Oracle Cloud.


Resolution:

Please follow the Oracle support document (Doc ID 2912000.1)


Cloning the Oracle E-Business Suite Release 12.2 Application Tier on 

Oracle Cloud Infrastructure Compute (Doc ID 2912000.1)



Wednesday, 14 May 2025

Lock the OCI Oracle cloud linux OS user

 Introduction:

Some times there is requirement not to delete the OS user but to lock it. Following can be followed to lock the user account on OCI Oracle cloud.


Resolution:


[root@oraclecloudlinuxserver ~]# passwd -l username

Locking password for user username.

passwd: Success




Friday, 9 May 2025

Server refused our key - No supported authentication methods available (server sent: publickey.gssapt-keyex,gssapi-with-mic)

 Introduction:

after setting up the ssh private and public key, error message coming "Server refused our key"




Resolution:

Check the following steps and check if it resolve the issue.

1- login to server and switch to root user

2- go to /home/user_not_connecting_with_ssh e.g. /home/testuser

3- go to .ssh

4- vi the authorized_keys

5- insert the following on the first line and make sure there is space at the end of the following

ssh-rsa 

6- test the issue


Wednesday, 7 May 2025

Reset EBS Cloud manager password when current password not working

 Steps to rest the EBS Cloud Manager password when current password not working



1. Make sure no jobs are running in EBS Cloud Manager UI.

2. Make sure NodeJS, Quartz server, Chef server and MySQL Database server are down.

$ ps aux | awk '/[s]erver.js/'
$ ps aux | awk '/[j]ob_scheduler.sh/'
$ ps aux | awk '/[m]ysqld/'
$ ps aux | awk '/[o]c_erchef/'

2.1 If they are running, bring them down:

A. for NodeJS: $ sudo pkill -f server.js

B. for Quartz server: $ sudo pkill -f job_scheduler.sh
: $ sudo pkill -f quartz-2.2.3.jar

C. for Chef server: $sudo chef-server-ctl stop

D. MySQL Database server: $ sudo pkill -f mysqld


3. Create file /tmp/resetpassword.ini with 777 permission

$ touch /tmp/resetpassword.ini

$ chmod 777 /tmp/resetpassword.ini


4. Using ViM Add below content to file : /tmp/resetpassword.ini

ALTER USER 'root'@'localhost' IDENTIFIED BY 'Reset@123';
ALTER USER 'ebsoc'@'localhost' IDENTIFIED BY 'Reset@123';
ALTER USER 'quartz'@'localhost' IDENTIFIED BY 'Reset@123';
FLUSH PRIVILEGES;

5. Stat mysql server

$ sudo mysqld --init-file=/tmp/resetpassword.ini --user=mysql &

6. Kill the process

$ sudo pkill -f mysqld

7. Remove file /tmp/resetpassword.ini

$ rm -f /tmp/resetpassword.ini

8. Restart all services and when prompted, enter the new Cloud Manager admin password
$ cd /u01/install/APPS/apps-unlimited-ebs/bin
$ sh ebscloudmgrctl.sh startall

OCI APPS R12.2.8 - adstrtal.sh: exiting with status 1 - adstrtal.sh: Database connection could not be established

Introduction: After stopping the APPS tier services and database tier services, got the following errors while starting up the APPS Tier ser...