Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A0641057D for ; Mon, 10 Jun 2013 11:46:48 +0000 (UTC) Received: (qmail 4681 invoked by uid 500); 10 Jun 2013 11:46:47 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 4463 invoked by uid 500); 10 Jun 2013 11:46:47 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 4452 invoked by uid 99); 10 Jun 2013 11:46:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 11:46:45 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of uttav.avinash99@gmail.com designates 209.85.160.51 as permitted sender) Received: from [209.85.160.51] (HELO mail-pb0-f51.google.com) (209.85.160.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 11:46:40 +0000 Received: by mail-pb0-f51.google.com with SMTP id um15so7117316pbc.24 for ; Mon, 10 Jun 2013 04:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Vx5/TNFBi6oIGzbWRolQgLhuDEtatNV2CD1SXxEX0Zo=; b=R0XjUNlCrfmJF25W6EgCr3jSoFFalefbTvDYpo6jpQp/rqIfoZ5oMEJtETOeOz/jkr XcW81VMcNMZwGy71QVhnK2tsHSUM2FmuYMQyB5PH2H3io09dCEKBMAV6zCBgltO5KS2T mynV7gi+yBFDKFN2Sx/nY4r4vzYAqHWDXGUrpckTcu7h4G7bwB3EtHRhyC9IG8COjAqV cxy5VxquulaZyTDYK1ULO1wWfcFYl8H2FmU9Hh41F8PdOXYHc9gw6F93+4b8N21Nj5Nm M2ZFAUfMCfchev7t5y2nk7vWNa4I7mtkbkbaLtATaIo3OkoGztfQ/c+v9LDxJBdtTzD/ UDdA== MIME-Version: 1.0 X-Received: by 10.68.17.8 with SMTP id k8mr9720790pbd.102.1370864778802; Mon, 10 Jun 2013 04:46:18 -0700 (PDT) Received: by 10.70.26.98 with HTTP; Mon, 10 Jun 2013 04:46:18 -0700 (PDT) In-Reply-To: References: <2DDF9DF3-4643-455C-99CF-4A9A4F767AB0@apache.org> Date: Mon, 10 Jun 2013 17:16:18 +0530 Message-ID: Subject: Re: spdy_plugin load problem From: Avinash Uttav To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary=bcaec51dd0df2cfca304decb540b X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51dd0df2cfca304decb540b Content-Type: text/plain; charset=ISO-8859-1 The config.log in Traffic server code directory are showing the error in ssl section: conftest.c: In function 'main': conftest.c:35:10: error: 'EVP_PKEY_CTX_new' undeclared (first use in this function) and /tmp/ccgZ2WCn.o: In function `main': /home/avinash/trafficserver/conftest.c:61: undefined reference to `SSL_CTX_set_next_protos_advertised_cb' collect2: error: ld returned 1 exit status configure:20477: $? = 1 configure: failed program was: Thank You very much for the help . On Mon, Jun 10, 2013 at 3:34 PM, Avinash Uttav wrote: > Hi, > I installed the Openssl 1.0.1e but still facing the same problem . Is > there any other possible reason ?? > Thank U . > > > On Sat, Jun 8, 2013 at 8:59 PM, James Peach wrote: > >> On Jun 6, 2013, at 10:21 PM, Avinash Uttav >> wrote: >> >> > This is the FATAL message : >> > >> > FATAL: spdy.cc:375: failed assert >> `TSNetAcceptNamedProtocol(TSContCreate(spdy_accept_io, TSMutexCreate()), >> TS_NPN_PROTOCOL_SPDY_2) == TS_SUCCESS` >> >> I'd bet that the version of OpenSSL you are using is old enough that it >> doesn't support the Next Protocol Negotiation extension. If you still have >> the log from when you ran configure, you would whether it was detected. I >> believe that NPN was added in OpenSSL 1.0.1. >> >> Please file a bug on this, because it should log a useful message rather >> than asserting, >> >> J >> >> > >> > Last message : >> > Program received signal SIGABRT, Aborted. >> > 0x00007ffff5529b25 in *__GI_raise (sig=) at >> ../nptl/sysdeps/unix/sysv/linux/raise.c:64 >> > 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or >> directory. >> > in ../nptl/sysdeps/unix/sysv/linux/raise.c >> > >> > >> > >> > stack trace >> > /home/avinash/packages/bin/traffic_server - STACK TRACE: >> > >> /home/avinash/packages/lib/libtsutil.so.3(ink_fatal+0xa3)[0x7ffff7bb1e85] >> > >> /home/avinash/packages/lib/libtsutil.so.3(_Z12ink_get_randv+0x0)[0x7ffff7bb0d30] >> > /home/avinash/packages/bin/traffic_server(_TSAssert+0x0)[0x4e97bb] >> > >> /home/avinash/packages/libexec/trafficserver/spdy.so(TSPluginInit+0x12d)[0x7ffff19a9415] >> > /home/avinash/packages/bin/traffic_server[0x51303e] >> > >> /home/avinash/packages/bin/traffic_server(_Z11plugin_initPKc+0x30f)[0x513715] >> > /home/avinash/packages/bin/traffic_server(main+0xef4)[0x50b010] >> > /lib/libc.so.6(__libc_start_main+0xfd)[0x7ffff5514c4d] >> > >> > Back trace : >> > #0 0x00007ffff5529b25 in *__GI_raise (sig=) at >> ../nptl/sysdeps/unix/sysv/linux/raise.c:64 >> > #1 0x00007ffff552d670 in *__GI_abort () at abort.c:92 >> > #2 0x00007ffff7bb1d08 in ink_die_die_die (retval=1) at ink_error.cc:43 >> > #3 0x00007ffff7bb1dda in ink_fatal_va (return_code=1, >> message_format=0x7ffff7bcca68 "%s:%d: failed assert `%s`", >> ap=0x7fffffffba78) at ink_error.cc:65 >> > #4 0x00007ffff7bb1e85 in ink_fatal (return_code=1, >> message_format=0x7ffff7bcca68 "%s:%d: failed assert `%s`") at >> ink_error.cc:73 >> > #5 0x00007ffff7bb0d30 in _ink_assert (expression=0x7ffff19aba70 >> "TSNetAcceptNamedProtocol(TSContCreate(spdy_accept_io, TSMutexCreate()), >> TS_NPN_PROTOCOL_SPDY_2) == TS_SUCCESS", >> > file=0x7ffff19ab8b9 "spdy.cc", line=375) at ink_assert.cc:38 >> > #6 0x00000000004e97bb in _TSReleaseAssert (text=0x7ffff19aba70 >> "TSNetAcceptNamedProtocol(TSContCreate(spdy_accept_io, TSMutexCreate()), >> TS_NPN_PROTOCOL_SPDY_2) == TS_SUCCESS", >> > file=0x7ffff19ab8b9 "spdy.cc", line=375) at InkAPI.cc:409 >> > #7 0x00007ffff19a9415 in TSPluginInit (argc=1, argv=0x7fffffffcc90) at >> spdy.cc:373 >> > #8 0x000000000051303e in plugin_load (argc=1, argv=0x7fffffffcc90) at >> Plugin.cc:140 >> > #9 0x0000000000513715 in plugin_init (config_dir=0x9e4f20 >> "/home/avinash/packages/etc/trafficserver") at Plugin.cc:319 >> > #10 0x000000000050b010 in main (argc=1, argv=0x7fffffffe6d8) at >> Main.cc:1716 >> > >> > >> > The version I m using is >> > Current (Developer/unstable )release 3.3.2 >> > >> > >> > Thank u >> > >> > >> > On Thu, Jun 6, 2013 at 9:59 PM, James Peach wrote: >> > On Jun 5, 2013, at 11:48 PM, Avinash Uttav >> wrote: >> > >> > > I am trying to install the spdy plugin in my ats proxy server .. but >> its not getting loaded .. >> > > what i did : >> > > 1.make spdy >> > > 2.make install >> > > 3.then added the following line into >> > > plugin.config : >> > > spdy.so >> > > 4 started traffic server in debugging session >> > > >> > > after passing that string line and file and line no . to >> _ink_assert function . >> > > It goes to in ink_fatal (return_code=1,message_format=0x7ffff7bcca68 >> "%s:%d": failed assert '%s'")at ink_error.cc >> > > then ink_fatal_va >> > > then ink_die_die_die( retval= 1) at ink_error.cc >> > > >> > > kindly tell me if i have missed something in the installation >> > >> > Since you hit an assertion, there should be a fatal log message that >> describes the problem, and a stack trace. Can you post both of these, along >> with the version of Traffic SErver that you are using? >> > >> > J >> > >> > >> >> > --bcaec51dd0df2cfca304decb540b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The config.log in Traffic server code directory are = showing the error in ssl section:

conftest.c: In function 'main&= #39;:
conftest.c:35:10: error: 'EVP_PKEY_CTX_new' undeclared (fi= rst use in this function)

and

/tmp/ccgZ2WCn.o: In function `main':
/hom= e/avinash/trafficserver/conftest.c:61: undefined reference to `SSL_CTX_set_= next_protos_advertised_cb'
collect2: error: ld returned 1 exit statu= s
configure:20477: $? =3D 1
configure: failed program was:


Thank You very much for the help .


On Mon, Jun 10, 2013 at 3:34 PM= , Avinash Uttav <uttav.avinash99@gmail.com> wrote:
Hi,
I in= stalled the Openssl 1.0.1e but still facing the same problem . Is there any= other possible reason ??
Thank U .


On Sat, Jun 8, 2013 at 8:59 PM, James Peach <jpeach@apache.org> wrote:
On Jun 6, 2013, at 10:21 PM, Avinash Uttav <uttav.avinash99@gmail.com> w= rote:

> This is the FATAL message :
>
> FATAL: spdy.cc:375: failed assert `TSNetAcceptNamedProtocol(TSContCrea= te(spdy_accept_io, TSMutexCreate()), TS_NPN_PROTOCOL_SPDY_2) =3D=3D TS_SUCC= ESS`

I'd bet that the version of OpenSSL you are using is old enough t= hat it doesn't support the Next Protocol Negotiation extension. If you = still have the log from when you ran configure, you would whether it was de= tected. I believe that NPN was added in OpenSSL 1.0.1.

Please file a bug on this, because it should log a useful message rather th= an asserting, <https://issues.apache.org/jira/browse/TS>

J

>
> Last message :
> Program received signal SIGABRT, Aborted.
> 0x00007ffff5529b25 in *__GI_raise (sig=3D<value optimized out>) = at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> 64 =A0 =A0 =A0../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or= directory.
> =A0 =A0 =A0 =A0 in ../nptl/sysdeps/unix/sysv/linux/raise.c
>
>
>
> stack trace
> /home/avinash/packages/bin/traffic_server - STACK TRACE:
> /home/avinash/packages/lib/libtsutil.so.3(ink_fatal+0xa3)[0x7ffff7bb1e= 85]
> /home/avinash/packages/lib/libtsutil.so.3(_Z12ink_get_randv+0x0)[0x7ff= ff7bb0d30]
> /home/avinash/packages/bin/traffic_server(_TSAssert+0x0)[0x4e97bb]
> /home/avinash/packages/libexec/trafficserver/spdy.so(TSPluginInit+0x12= d)[0x7ffff19a9415]
> /home/avinash/packages/bin/traffic_server[0x51303e]
> /home/avinash/packages/bin/traffic_server(_Z11plugin_initPKc+0x30f)[0x= 513715]
> /home/avinash/packages/bin/traffic_server(main+0xef4)[0x50b010]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x7ffff5514c4d]
>
> Back trace :
> #0 =A00x00007ffff5529b25 in *__GI_raise (sig=3D<value optimized out= >) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #1 =A00x00007ffff552d670 in *__GI_abort () at abort.c:92
> #2 =A00x00007ffff7bb1d08 in ink_die_die_die (retval=3D1) at ink_error.= cc:43
> #3 =A00x00007ffff7bb1dda in ink_fatal_va (return_code=3D1, message_for= mat=3D0x7ffff7bcca68 "%s:%d: failed assert `%s`", ap=3D0x7fffffff= ba78) at ink_error.cc:65
> #4 =A00x00007ffff7bb1e85 in ink_fatal (return_code=3D1, message_format= =3D0x7ffff7bcca68 "%s:%d: failed assert `%s`") at ink_error.cc:73=
> #5 =A00x00007ffff7bb0d30 in _ink_assert (expression=3D0x7ffff19aba70 &= quot;TSNetAcceptNamedProtocol(TSContCreate(spdy_accept_io, TSMutexCreate())= , TS_NPN_PROTOCOL_SPDY_2) =3D=3D TS_SUCCESS",
> =A0 =A0 file=3D0x7ffff19ab8b9 "spdy.cc", line=3D375) at ink_= assert.cc:38
> #6 =A00x00000000004e97bb in _TSReleaseAssert (text=3D0x7ffff19aba70 &q= uot;TSNetAcceptNamedProtocol(TSContCreate(spdy_accept_io, TSMutexCreate()),= TS_NPN_PROTOCOL_SPDY_2) =3D=3D TS_SUCCESS",
> =A0 =A0 file=3D0x7ffff19ab8b9 "spdy.cc", line=3D375) at InkA= PI.cc:409
> #7 =A00x00007ffff19a9415 in TSPluginInit (argc=3D1, argv=3D0x7fffffffc= c90) at spdy.cc:373
> #8 =A00x000000000051303e in plugin_load (argc=3D1, argv=3D0x7fffffffcc= 90) at Plugin.cc:140
> #9 =A00x0000000000513715 in plugin_init (config_dir=3D0x9e4f20 "/= home/avinash/packages/etc/trafficserver") at Plugin.cc:319
> #10 0x000000000050b010 in main (argc=3D1, argv=3D0x7fffffffe6d8) at Ma= in.cc:1716
>
>
> The version I m using is
> Current (Developer/unstable )release 3.3.2
>
>
> Thank u
>
>
> On Thu, Jun 6, 2013 at 9:59 PM, James Peach <jpeach@apache.org> wrote:
> On Jun 5, 2013, at 11:48 PM, Avinash Uttav <uttav.avinash99@gmail.com> w= rote:
>
> > I am trying to install the spdy plugin in my ats proxy server .. = but its not getting loaded ..
> > what i did :
> > 1.make spdy
> > 2.make install
> > 3.then added the following line into
> > plugin.config :
> > spdy.so
> > 4 started traffic server in debugging session
> >
> > after passing that string line and file and line no . =A0to =A0_i= nk_assert function .
> > It goes to in ink_fatal (return_code=3D1,message_format=3D0x7ffff= 7bcca68 "%s:%d": failed assert '%s'")at ink_error.cc=
> > then ink_fatal_va
> > then ink_die_die_die( retval=3D 1) at ink_error.cc
> >
> > kindly tell me if i have missed something in the installation
>
> Since you hit an assertion, there should be a fatal log message that d= escribes the problem, and a stack trace. Can you post both of these, along = with the version of Traffic SErver that you are using?
>
> J
>
>



--bcaec51dd0df2cfca304decb540b--