Kbase P97540: _orasrv missing (error 1451) on HP UX and AIX with 10.0B 32 bit
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Verified
FACT(s) (Environment):
HP-UX
IBM AIX
OpenEdge 10.0B
Oracle DataServer
SYMPTOM(s):
Failed to connect to ORACLE database . (1451)
The dataserver log file (dataserv.lg) shows:
BROKER could not execute <modname>. (1155)
BROKER could not execute _orasrv. (1155)
The _orasrv executable is missing in the $DLC/bin directory
CAUSE:
This is expected behaviour. As stated by the release note RN#: 100A-20110, "for OpenEdge Release 10, executables must be built on AIX and may need to be built on 32-bit HPUX".
FIX:
Rebuild the _orasrv executable.
Follow the steps below:
($ = ksh or bash shell, # = comment)
1) Become root:
$ su root
2) Set up the OpenEdge 10.0B environment
$ cd <10.0B DLC>/bin
$ ./proenv
3) Set up the Oracle Environment
$ cd <ORACLE_HOME>/bin
# Get ORACLE_SID
$ cat /etc/oratab
# Get ORACLE_HOME
$ ./dbhome
# Enter ORACLE_SID and ORACLE_HOME
$ . ./oraenv
4) Link and deploy _orasrv
$ cd $DLC/oebuild/make
$ unset SHLIB_PATH
$ ./build_orasrv.sh
(Bundled) cc: warning 480: The +O2 option is available only with the
C/ANSI C product; ignored.
-rwxrwxrwx 1 <user> <group> xxxxxx MMM DD HH:MM
<10.0B DLC>/oebuild/_orasrv
$ cp ../_orasrv $DLC/bin
$ cd $DLC/bin
$ chown root:sys _orasrv
$ chmod 4755 _orasrv