﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. </title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Sat, 31 Jul 2010 07:04:34 GMT</lastBuildDate><ttl>20</ttl><item><title>Other ora error Codes</title><link>http://www.franklinfaces.com/Topic149-44-1.aspx</link><description>&lt;FONT color=#3333dd&gt;After Server reboot, the users were getting the following ora error when running sqlldr on AIX platform on oracle 8.1.7 (i know this is pretty old version and people are still on it):&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;/home/:prodsrv128&amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color=#113333&gt;sqlldr&lt;/FONT&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;FONT color=#115511&gt;exec(): 0509-036 Cannot load program sqlldr because of the following errors:&lt;BR&gt;        0509-130 Symbol resolution failed for sqlldr because:&lt;BR&gt;        0509-136   Symbol pw_post (number 265) is not exported from&lt;BR&gt;                   dependent module /unix.&lt;BR&gt;        0509-136   Symbol pw_wait (number 266) is not exported from&lt;BR&gt;                   dependent module /unix.&lt;BR&gt;        0509-136   Symbol pw_config (number 267) is not exported from&lt;BR&gt;                   dependent module /unix.&lt;BR&gt;        0509-136   Symbol aix_ora_pw_version3_required (number 268) is not exported from&lt;BR&gt;                   dependent module /unix.&lt;BR&gt;        0509-192 Examine .loader section symbols with the&lt;BR&gt;                 'dump -Tv' command.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I had them check everything:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;ORACLE_HOME,   ORACLE_SID,  PATH, LD_LIBRARY_PATH  etc...  &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;They were all set properly and also I had them check the permission settings on the files etc.. .and everything was fine.   I also did a relink all to relink the binaries and still no good.   Then i did search on google and still no good.  Finally i checked metalink and found an article:  &lt;STRONG&gt;1006649.6&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier&gt;&lt;FONT color=#117711&gt;Problem Description:  &lt;BR&gt;====================  &lt;BR&gt;  &lt;BR&gt;You receive the following undefined symbol errors starting Oracle on an IBM &lt;BR&gt;RS/6000 AIX operating system: &lt;BR&gt;&lt;BR&gt;     Could not load program oracleSID &lt;BR&gt;     Symbol pw_wait in oracle is undefined &lt;BR&gt;     Symbol pw_post in oracle is undefined &lt;BR&gt;     Symbol pw_config in oracle is undefined &lt;BR&gt;     Error was: Exec format error &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Problem Explanation: &lt;BR&gt;==================== &lt;BR&gt;&lt;BR&gt;Oracle executables (such as SVRMGR, oracle, etc.) on AIX &lt;BR&gt;are built with the assumption that the post-wait extension &lt;BR&gt;is running in the UNIX kernel.  If the extention does not &lt;BR&gt;exist, the above errors will occur.  &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Search Words: &lt;BR&gt;============= &lt;BR&gt;&lt;BR&gt;post wait, pw-syscall, driver, pwpost, pwconfig, pwwait&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#3333dd&gt;&lt;STRONG&gt;The solution was simple:   I had the UNIX SA run the following command:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#113333&gt;&lt;STRONG&gt;cd /etc&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#113333&gt;&lt;STRONG&gt;./loadext -l pw-syscall&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;That fixed the problem.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier&gt;Here is what oracle document states:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#115511&gt;Solution Description:  &lt;BR&gt;===================== &lt;BR&gt;&lt;BR&gt;On most UNIX platforms, Oracle uses semaphores to synchronize shadow processes &lt;BR&gt;and background processes. But with RS/6000 AIX, the post/wait drive is used &lt;BR&gt;instead to increase the performance. &lt;BR&gt;&lt;BR&gt;The most common solution is to re-install the kernel extension. The best way &lt;BR&gt;to do this is to apply &lt;/FONT&gt;&lt;A href="http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=2896876" target=new&gt;&lt;FONT face=Courier color=#115511&gt;Patch 2896876&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Courier color=#115511&gt; . This patch is designed to clean-up &lt;BR&gt;existing kernel extension, re-install them, and update /etc/inittab to &lt;BR&gt;automatically load the proper extension at boot time. Please review the &lt;BR&gt;patch installation output to determine if a reboot is required &lt;BR&gt;&lt;BR&gt;This may be required if rootpre.sh was run more than once. &lt;BR&gt;When rootpre.sh is run, it issues the command: &lt;BR&gt;    ' /etc/loadext /etc/pw-syscall ' &lt;BR&gt;&lt;BR&gt;The second time this command is issued, the one that is currently &lt;BR&gt;running will be deactivated, thus giving the error above when database is &lt;BR&gt;brought up.  Rebooting the machine will clean out the deactivated &lt;BR&gt;drive in kernel and rerun the system call. &lt;BR&gt;&lt;BR&gt;In the 'Tuning Hints and Suggestions', there is a section called the 'Proper &lt;BR&gt;startup of the post/wait driver' which also suggests that rebooting the &lt;BR&gt;machine to resolve the error. &lt;BR&gt;&lt;BR&gt;You can also refer to the PW_README file in $ORACLE_HOME/orainst for more &lt;BR&gt;information. &lt;BR&gt;&lt;BR&gt;Also, you may want to do the following before rebooting: &lt;BR&gt;&lt;BR&gt;1. Login as "root" &lt;BR&gt;&lt;BR&gt;2. Change locations to the "etc" directory &lt;BR&gt;&lt;BR&gt;     # cd /etc &lt;BR&gt;&lt;BR&gt;3. Verify that the "loadext" and "pw-syscall&amp;lt;version&amp;gt;" files exist &lt;BR&gt;&lt;BR&gt;     # ls -l loadext &lt;BR&gt;     # ls -l pw-syscall*  &lt;BR&gt;&lt;BR&gt;4. Query whether kernel extension is loaded or not: &lt;BR&gt;&lt;BR&gt;     # ./loadext -q pw-syscall &lt;BR&gt;    &lt;BR&gt;   If a kernel extension is already loaded, check the version&lt;BR&gt;&lt;BR&gt;     # ./loadext -r pw-syscall &lt;BR&gt;&lt;BR&gt;   If the kernel extension version is older the the reqested version, unload&lt;BR&gt;   the version before loading the new version&lt;BR&gt;&lt;BR&gt;     # ./loadext -u pw-syscall &lt;BR&gt;  &lt;BR&gt;5. Mannually load the kernel extensions  &lt;BR&gt;&lt;BR&gt;     # ./loadext -l pw-syscall&amp;lt;version&amp;gt; &lt;BR&gt;&lt;BR&gt;6. Invoke Server Manager to see if you still get the error  &lt;BR&gt;    &lt;BR&gt;                                              &lt;BR&gt;Additional Information:                                                        &lt;BR&gt;-----------------------                                                       &lt;BR&gt;                                                                               &lt;BR&gt;From AIX 7.2 Installation and Configuration Guide (Appendix A-34), there is &lt;BR&gt;one kernel extension built in to the Oracle kernel for AIX:             &lt;BR&gt;- Oracle Post-Wait Kernel Extension.                                           &lt;BR&gt;  &lt;BR&gt;Note that starting with Oracle v7.1.6, the Oracle Protected  &lt;BR&gt;Shared Memory Kernel Extension of prior releases has been removed.             &lt;BR&gt;    &lt;BR&gt;The Oracle Post-Wait Kernel Extension implements an optimized mechanism of  &lt;BR&gt;inter-process communications without the overhead of signal handlers or &lt;BR&gt;semaphores.                                                                    &lt;BR&gt;    &lt;BR&gt;During the installation, the following files are placed in the /etc  &lt;BR&gt;directory:   &lt;BR&gt;&lt;BR&gt;/etc/pw-syscall                                                                &lt;BR&gt;/etc/loadext                                                                   &lt;BR&gt;  &lt;BR&gt;These files are normally executed automatically at system startup.   &lt;BR&gt;This loads the extension into the kernel and it will remain loaded as long  &lt;BR&gt;as the system is running.&lt;BR&gt;&lt;BR&gt;In the second case, reboot your machine. If your "/etc/inittab" file contains&lt;BR&gt;the line:&lt;BR&gt;    &lt;BR&gt;        orapw:2:wait:/etc/loadext /etc/pw-syscall&lt;BR&gt;&lt;BR&gt;then the post/wait driver will be loaded when the system is rebooted.     &lt;BR&gt;Otherwise, you will have to carry out the above steps to manually load the &lt;BR&gt;driver.&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#115511&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#115511&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Courier color=#115511&gt;Hope this helps.&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Sat, 15 Aug 2009 09:18:32 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>