- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2004 06:24 PM
тАО07-16-2004 06:24 PM
HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
I am trying small sample proc program on HP unix 64 bit machine. But with 9.2.0.5 it gives core dump
program:
====
#include
#include
#include
#include
#define USERNAME "xx1"
#define PASSWORD "xx1"
char *username = USERNAME;
char *password = PASSWORD;
VARCHAR dynstmt[80];
VARCHAR ename[12];
int empno = 10;
main() {
EXEC SQL WHENEVER SQLERROR GOTO error;
EXEC SQL CONNECT :username IDENTIFIED BY :password;
puts("Connected\n");
exit(1);
error :
puts("\n not connected.\n");
}
Machine is
HP-UX xx B.11.11 U 9000/800 178484665 unlimited-user license
The program runs fine in oracle 9.0.1.4.0
But it gives core dump in oracle 9.2.0.5.0
GDB Trace is shown below,
====
#0 0x800003ffbf157390 in pthread_default_stacksize_np+0xe8 () from /usr/lib/pa20_64/libpthread.1
#1 0x800003ffbfe609c0 in Ldipme10+0x85daf0 ()
from /u01/apps/products/oracle/902/lib/libclntsh.sl.9.0
#2 0x800003ffbf9f1130 in Ldipme10+0x3ee260 ()
from /u01/apps/products/oracle/902/lib/libclntsh.sl.9.0
#3 0x800003ffbf9f48c8 in Ldipme10+0x3f19f8 ()
from /u01/apps/products/oracle/902/lib/libclntsh.sl.9.0
#4 0x800003ffbf9f5294 in Ldipme10+0x3f23c4 ()
from /u01/apps/products/oracle/902/lib/libclntsh.sl.9.0
=========
Can anyone help me out ? Have anyone faced this issue ?
Also, is there any patch needs to be updated for 9.2.0.5 ?
Thanks.
With Regards,
Srinivasan S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 12:38 PM
тАО07-18-2004 12:38 PM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
Oracle Server 9.0 is a 64/32 bit version while 9.2 is a 64 bit full version.
Probably you are addressing 64 bits lib when compiling in 9.2 version.
Try addressing $ORACLE_HOME/lib32 when compiling this program.
If your problem continue, please let me know.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 03:52 PM
тАО07-18-2004 03:52 PM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
Thanks for your suggestion.
I am in the process of installing of proc32.
But anyway If I have to run in 64 Bit why should it give core dump ? I have checked the environment libraries. It all points to 64 Bit only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 08:56 PM
тАО07-18-2004 08:56 PM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
I'm not sure but check if the 9i Oracle server is actually a 64 bit version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 09:02 PM
тАО07-18-2004 09:02 PM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
and checked the library loaded it is infact pointing to 64 bit library.
Well,
During this time of investigation, if I place -lpthread option ie., if enabling thread it is running fine ?
I am not able to understand logic behind this.
Regards,
Srinivasan S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 11:44 PM
тАО07-18-2004 11:44 PM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
from 9.2 on the client libs are release dependend. YOu need to change the client libs to the new client-sw.
In addition, never use a DEFINE for a password in a C-program !
strings programname
will exploit uid and password in this case.
Use real coding an my be the chr() function.
passwd[0]=chr(65);
passwd[1]=chr(66);
passwd[2]=chr(67);
passwd[3]=0;
Not so easy to crack, and in addition, keep an eye on the sourcecode.
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2004 11:56 PM
тАО07-18-2004 11:56 PM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
Moreover I am not using it as separate client at all.
I am wondering why I should add -lpthread option in 9.2.0.5 where as it does not require in 9.0.1.4.0 ?
Regards,
Srinivasan S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 03:24 AM
тАО07-19-2004 03:24 AM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
But I am clueless. When I include -lpthread option the program seems to work fine.
Can anyone teach me whether -lpthread is needed in all proc programs from 9.2.0.5 ?
To my understanding we include -lpthread iff we have multi thread programs.
Also,
When should I do relink and not do relink ?
Meaning everytime If installed 9.2.0.5.0 do the relink is required ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 04:13 AM
тАО07-19-2004 04:13 AM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 05:22 AM
тАО07-19-2004 05:22 AM
Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump
I have not contected oracle support yet.
The thing is same compilation if I do in 9.0.1.4.0 it goes fine.