- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- curl -k core dump
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
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
тАО12-11-2009 11:03 AM
тАО12-11-2009 11:03 AM
curl -k core dump
Linux Box...
$ curl -k https://mail.jbase.com
Object Moved
This document may be foundhere
HPUX ...
$ curl -k https://mail.jbase.com
Memory fault(coredump)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 12:52 PM
тАО12-11-2009 12:52 PM
Re: curl -k core dump
Not a very useful description.
uname -a
> curl [...]
Not a very useful description.
curl --version
Compare working with non-working systems.
(Particularly "Features:".)
Otherwise, apply a debugger to the "core"
file, and try to figure out what happened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 12:59 PM
тАО12-11-2009 12:59 PM
Re: curl -k core dump
Run again with -v / --verbose -or- --trace and get the error code. Must have error code!
curl --verbose
echo $?
-or-
curl --trace output_file
echo $?
Error codes:
http://curl.haxx.se/libcurl/c/libcurl-errors.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 01:20 PM
тАО12-11-2009 01:20 PM
Re: curl -k core dump
> Must have error code!
If the program blows up in the middle, where
were you expecting to find this (whose?)
error (exit) code?
> echo $?
Not likely to be very informative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 01:25 PM
тАО12-11-2009 01:25 PM
Re: curl -k core dump
Thorazine - to help treat extremely severe hyperexcitability in people who become easily combative and explosive without being provoked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 01:31 PM
тАО12-11-2009 01:31 PM
Re: curl -k core dump
Does your cURL on your HP-UX system work any
better with an "http://" URL than it does
with an "https://" URL? For example:
curl -k http://mail.jbase.com
Where did you get this particular cURL kit?
(Pre-built, built it yourself, downloaded
from ...?)
Does it work at all with any URL?
On my convenient VMS system, I see:
alp $ curl --version
curl 7.19.3 (ALPHA-HP-VMS) libcurl/7.19.3 OpenSSL/0.9.8j
Protocols: tftp ftp telnet dict http file https ftps
Features: Largefile NTLM SSL
and it all works fine for me. My first guess
is that you're either missing that "SSL" in
the "Features:" list (and/or "https" in the
"Protocols:" list), or else there's something
else broken about your cURL program. But
with exactly no information about it, it's
hard to do more than guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 11:49 AM
тАО12-16-2009 11:49 AM
Re: curl -k core dump
HP-UX usxxxx01 B.11.23 U 9000/800 655309333 unlimited-user license
#curl --version
curl 7.19.6 (hppa2.0w-hp-hpux11.23) libcurl/7.19.6 OpenSSL/0.9.8k zlib/1.2.3
Protocols: tftp ftp telnet dict http file https ftps
Features: IPv6 Largefile NTLM SSL libz
#curl --verbose -k https://mail.jbase.com
* About to connect() to mail.jbase.com port 443 (#0)
* Trying 198.145.183.67... connected
* Connected to mail.jbase.com (198.145.183.67) port 443 (#0)
* SSL: couldn't set callback!
* WARNING: failed to configure server name indication (SNI) TLS extension
Memory fault(coredump)
#curl --trace output_file -k https://mail.jbase.com
Segmentation fault (core dumped)
ouput_file is written as a zero-byte file
Works fine with http://mail.jbase.com
downloaded depot from hp for the curl "internet_A.13.00-013_HP-UX_B.11.23_IA_PA.depot"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 02:26 PM
тАО12-16-2009 02:26 PM
Re: curl -k core dump
HP-UX, and I tend to build such products from
the source rather than using a depot built by
someone else, so I know nothing, but my
uneducated guess is that your cURL program
was built using some relatively modern
version of OpenSSL ("0.9.8k"), but that you
don't actually have that OpenSSL installed on
your system, and the link-loader is finding
some older/incompatible OpenSSL fossil, and
trying to run with that (with limited
success).
Looking at the cURL 7.19.7 source (which I
have at hand), the message "SSL: couldn't set
callback!" seems to be coming from some code
bounded by
#ifdef SSL_CTRL_SET_MSG_CALLBACK
and a nearby comment says:
/* The SSL_CTRL_SET_MSG_CALLBACK doesn't exist in ancient OpenSSL versions
and thus this cannot be done there. */
This suggests the possibility that your cURL
program is calling OpenSSL stuff which
doesn't really exist on your system.
So, I'd either try building cURL from the
source, or else installing an OpenSSL depot
which might be consistent with what was used
to build that cURL depot.
Note that one man's "ancient" may not be very
well defined, so I'd look for an OpenSSL at
least as new as 0.9.8k. (0.9.8l seems to be
the current one.)