Monday, September 21, 2015

Unable to start bi_server1 after changing the listening port to 80

We recently tried changing the listener port of the analytics web application from 9704 to 80 using the WebLogic Administration Console. When we tried the restart of bi_server1, the BI Services now fail to start successfully.

When we tried the log files to see what is causing the issue , we found the below error.


After some investigation we found the issue was caused because we didn't perform the system reboot.On the whole below are the steps performed to change the port.

Port Change in Console

Change the Analytics port number from 9704 to 80 following the instructions given in the Configure Listen Ports section of the Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online Help 11g Release 1 (10.3.3) Part Number E13952-03.
Here are the steps:
  • Log in to WebLogic console: http://servername:7001/console.
  • Go to Environment -> Servers. Click on Lock and Edit button -> Configuration tab -> click on bi_server1 link -> set Listen Port: to 80 -> click on Save.
  • Click on Activate Changes button.
Stop the instance:
  • Stop the OBIEE components from command prompt:
[FMW_HOME]\instances\instance1\bin\opmnctl stopall
  • Stop the Managed server from GUI. Access the weblogic console from a browser (replace "hostname" by the machine name):
http://[hostname]:7001/console
  • Log in, Environment -> Servers -> Control -> select bi_server1 -> click on Stop. It will take some time for the Managed server to stop.
  • Stop the Admin server from GUI. Access weblogic console from a browser (replace "hostname" by the machine name):
http://[hostname]:7001/console
  • Log in, Environment -> Servers -> Control -> select AdminServer(admin) -> click on Stop. It will take some time for the Admin server to stop.
  • Stop the Node Manager. Go to Windows Services and stop "Oracle WebLogic Node Manager".
  • Reboot the machine. This is required. If you attempt to restart the BI instance without rebooting the machine, it will fail.

Start the instance:

  • Start NodeManager. Go to Windows Services and start "Oracle WebLogic Node Manager".
  • Start the Admin server from command prompt:
[FMW_HOME]\user_projects\domains\bifoundation_domain\bin\startWebLogic.cmd

It will ask you for the user name and password. Specify the user details that you have mentioned at the time of the 11g install.

Wait until you see a message that the Admin server is in running mode.
  • Start the Managed server from GUI. Access weblogic console from a browser (replace "hostname" by the machine name):
http://[hostname]:7001/console
  • Log in, Environment -> Servers -> Control -> select bi_server1 -> click on start
It will take some time for the Managed server to start. Wait until you see Running status.
  • Start the OBIEE components from command prompt:
[FMW_HOME]\instances\instance1\bin\opmnctl startall

Note: You many want to change the port number in the start up scripts provided when OBIEE is installed. Those scripts are static and port number needs to be updated manually there.

No comments:

Post a Comment