Troubleshooting OBIEE : Diagnostic Files
I'm over in Singapore at the moment, and the client I'm working with is looking for some help with troubleshooting Oracle BI EE installations. This is an interesting area because as developers, we generally focus on building new applications rather than supporting existing ones, but if you're then handing these systems off for other people to support you need to give them some guidance on how to solve problems. So if you're going to support an Oracle BI EE system, how do you go about troubleshooting them?
If we are considering Oracle BI EE troubleshooting, to me there are three areas we need to cover:
- What indicators are there of current and potential problems?
- What are some of the common problems we might encounter when supporting Oracle BI EE?
- Are there things we can do to minimize the chance of problems occuring?
- $ORACLEBI/server/log/NQServer.log (the BI Server "alert log" file)
- $ORACLEBI/server/log/NSQuery.log (the BI Server query log file)
- $ORACLEBI/server/log/NQSheduler.log (the Delivers/scheduler log file)
- $ORACLEBI/server/log/NQCluster.log (the Cluster Controller log file)
The other log file that's worth keeping an eye on is the Presentation Services log file, found at
- $ORACLEBIDATA/web/log/sawlog0.log
- On an Oracle BI Applicaitons implementation on AIX, the Presentation Server would crash and segfault on particular dashboard pages, and when we looked in the Presentation Services log we could see that certain pivot table reports had a high level of cells which should normally have been caught by a setting in the instanceconfig.xml file but instead was causing the Presentation Server to crash.
- When setting up EPM and OBIEE integration, we could see that incoming login requests from the EPM Dashboard were being rejected as the Presentation Server wasn't properly handling the incoming SSO token.
Other logs that you will want to keep an eye on include:
- $ORACLEBIDATA/web/log/javahost/jhost0.log (Java host log)
The logs generated by the J2EE application server hosting the Presentation Services plug-in can be useful as well. The log files for OC4J and Weblogic 9.2 can be found here:
- $ORACLEBI/oc4j_bi/j2ee/home/log/server.log
- $BEA_HOME/user_projects/domains/bi/servers/AdminServer/logs/AdminServer/logs/AdminServer.log
Under Red Hat Linux / Oracle Enterprise Linux, the equivalent utility is the Systems Logs application, and I guess there are similar utilities available for the various Unix equivalents.
Outside of OBIEE, problems you might encounter might be down to the underlying database or OLAP server either not being available or failing to authenticate the user credentials being passed across by the connection pool, so it makes sense to keep an eye on the Oracle Alert Log, for example, to see if the problem lies with the database or just to spot potential database problems before they hit the user.So, that's it for log files and places to diagnose potential problems. Do you know of any others that you find useful on a regular basis? I'm off to work now, but later on I'll continue this series with some tips on what problems you are likely to encounter on an Oracle BI EE system, how you can do some preventative maintenance to avoid them, and also a high-level view of how to troubleshoot an attached Essbase OLAP server and Shared Services.