- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Core files
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
Forums
Discussions
Discussions
Discussions
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
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
02-03-2005 08:17 AM
02-03-2005 08:17 AM
Core files
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
No executable file now.
No symbol file now.
warning: Unknown symbols for '/vobs/PTC/POS/LOCATION_MANAGER/core'; use the 'symbol-file' command.
Core was generated by `POS_LOCATION_M'.
Program terminated with signal 6, Aborted.
#0 0xc01f49b0 in
Source directories searched: $cdir:$cwd
Source directories searched: /vobs/PTC/POS/LOCATION_MANAGER:$cdir:$cwd
(gdb) symbol-file POS_LOCATION_MANAGER.HP_UX11
Reading symbols from POS_LOCATION_MANAGER.HP_UX11...done.
Then I select "Call Stack" and get:
warning: GDB cannot print complete stack trace since some shared libraries are missing.
Set GDB_SHLIB_PATH and try again.
Invalid
#1 0xc020111c in
At the WDB command line I typed below and got the error
(gdb) GDB_SHLIB_PATH=/usr/lib
Undefined command: "GDB". Try "help".
How do you set the path and I'm I selecting the correct path for HP-UX
I running
HP-UX normal B.11.00 U 9000/785 2000052961 unlimited-user license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 09:05 AM
02-03-2005 09:05 AM
Re: Core files
export SHLIB_PATH=/usr/bin
That will work with posix and korn.
Use the two line format (set, export) for other shells like bourne.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 11:54 PM
02-03-2005 11:54 PM
Re: Core files
export SDB_SHLIB_PATH=/user/bin
export SHLIB_PATH=/usr/bin
on the WDB command line I get
Undefined command: exportâ
Is there a typo should SDB be GDB still get error
Iâ m using HP WDB-GUI Reference Manual and the Debug with GDB HP eleventh Edition as reference. There a little help,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 11:57 PM
02-03-2005 11:57 PM
Re: Core files
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2005 12:18 AM
02-04-2005 12:18 AM
Re: Core files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2005 01:08 AM
02-04-2005 01:08 AM
Re: Core files
setenv GDB_SHILIB_PATH /usr/lib
for c shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2005 01:10 AM
02-04-2005 01:10 AM
Re: Core files
You're trying to execute export in the gdb command prompt.
Exit gdb, at the OS prompt type
# export SDB_SHLIB_PATH=/user/bin
# export SHLIB_PATH=/usr/bin
Find the name of the process that generated the core file by typing:
# file
The command will return something like:
and reenter the WDB shell (gdb) by typing:
# gdb
If all goes well gdb will analyze the core structure and display pertinent app errors.
Note:
You may need to cd to the bin directory (where the app reside) and run gdb from there to get a full output from the debugger.
Enjoy,
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2005 02:48 AM
02-04-2005 02:48 AM
Re: Core files
Basically what you want to know is the error situation of the reason for the core dump.
Very often it also helps to use:
strings core | more
or
strings core > core_output.log
Then you get only the readable core information
and then search for error...
Bob :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2005 01:06 AM
02-06-2005 01:06 AM
Re: Core files
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2005 04:33 PM
02-06-2005 04:33 PM
Re: Core files
http://rpm-www.rose.hp.com/~chrisb/tools.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2005 06:05 PM
02-06-2005 06:05 PM
Re: Core files
HP-UX B11.11 use POSFIX as default shel, so use 2 command to set env parameter.
#export SDB_SHLIB_PATH=/usr/bin
#export SHLIB_PATH=/usr/bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2005 06:32 PM
02-06-2005 06:32 PM
Re: Core files
About the advice...
Of course any reply in these forums is still subject to the readers own evalution.
In my case it solved a few system crashes by just going through the core files with strings and figuring out why the hack it did crash. Many time I found hardware problems from them. :-(
Regards,
Bob
Ps. This was my 0.02 euro contribution. :-)