trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ezko <erez.ko...@harmonicinc.com>
Subject Re: [VOTE] Release Apache Traffic Server 7.1.5 (RC0)
Date Sun, 11 Nov 2018 19:26:41 GMT
Hi,
i'm trying to run this within docker but it's not working. 
What am I doing wrong ?
BR,
erez

traffic_crashlog 
[Nov 11 19:11:24.199] traffic_crashlog {0x7f87c4bbf880} NOTE: crashlog
started, target=209, debug=false syslog=false, uid=0 euid=0
[Nov 11 19:11:24.199] traffic_crashlog {0x7f87c4bbf880} WARNING: failed to
intialize management API: [5] Error establishing socket connection.
[Nov 11 19:11:24.211] traffic_crashlog {0x7f87c4bbf880} NOTE: logging to
0x1097d50
[Nov 11 19:11:24.211] traffic_crashlog {0x7f87c4bbf880} ERROR: wrote crash
log to /var/log/trafficserver/crash-2018-11-11-191124.log

cat /var/log/trafficserver/crash-2018-11-11-191124.log
Process:            bash [209]
File:               /usr/bin/bash
Version:            Traffic Server 7.1.5
System Version:     Linux x86_64 #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016
4.4.0-57-generic
Date:               Sun, 11 Nov 2018 19:11:24 +0000

No target signal information

No target CPU registers

Unable to retrieve backtrace: [5] Error establishing socket connection.

Process Status:
Name:	bash
State:	S (sleeping)
Tgid:	209
Ngid:	0
Pid:	209
PPid:	0
TracerPid:	0
Uid:	0	0	0	0
Gid:	0	0	0	0
FDSize:	256
Groups:	
NStgid:	209
NSpid:	209
NSpgid:	209
NSsid:	209
VmPeak:	   11936 kB
VmSize:	   11936 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	    3144 kB
VmRSS:	    3144 kB
VmData:	     376 kB
VmStk:	     136 kB
VmExe:	     884 kB
VmLib:	    2144 kB
VmPTE:	      48 kB
VmPMD:	      12 kB
VmSwap:	       0 kB
HugetlbPages:	       0 kB
Threads:	1
SigQ:	109/63867
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000010000
SigIgn:	0000000000384004
SigCgt:	000000004b813efb
CapInh:	0000003fffffffff
CapPrm:	0000003fffffffff
CapEff:	0000003fffffffff
CapBnd:	0000003fffffffff
CapAmb:	0000000000000000
Seccomp:	0
Cpus_allowed:	0f
Cpus_allowed_list:	0-3
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	104
nonvoluntary_ctxt_switches:	43

Process Limits:
Limit                     Soft Limit           Hard Limit           Units     
Max cpu time              unlimited            unlimited            seconds   
Max file size             unlimited            unlimited            bytes     
Max data size             unlimited            unlimited            bytes     
Max stack size            8388608              unlimited            bytes     
Max core file size        unlimited            unlimited            bytes     
Max resident set          unlimited            unlimited            bytes     
Max processes             unlimited            unlimited           
processes 
Max open files            65536                65536                files     
Max locked memory         65536                65536                bytes     
Max address space         unlimited            unlimited            bytes     
Max file locks            unlimited            unlimited            locks     
Max pending signals       63867                63867                signals   
Max msgqueue size         819200               819200               bytes     
Max nice priority         0                    0                    
Max realtime priority     0                    0                    
Max realtime timeout      unlimited            unlimited            us        

Memory Regions:
00400000-004dd000 r-xp 00000000 00:75 611                               
/usr/bin/bash
006dc000-006dd000 r--p 000dc000 00:75 611                               
/usr/bin/bash
006dd000-006e6000 rw-p 000dd000 00:75 611                               
/usr/bin/bash
006e6000-006ec000 rw-p 00000000 00:00 0 
00bd2000-00c14000 rw-p 00000000 00:00 0                                 
[heap]
7fd8a7547000-7fd8a7553000 r-xp 00000000 00:75 460                       
/usr/lib64/libnss_files-2.17.so
7fd8a7553000-7fd8a7752000 ---p 0000c000 00:75 460                       
/usr/lib64/libnss_files-2.17.so
7fd8a7752000-7fd8a7753000 r--p 0000b000 00:75 460                       
/usr/lib64/libnss_files-2.17.so
7fd8a7753000-7fd8a7754000 rw-p 0000c000 00:75 460                       
/usr/lib64/libnss_files-2.17.so
7fd8a7754000-7fd8a775a000 rw-p 00000000 00:00 0 
7fd8a775a000-7fd8a791d000 r-xp 00000000 00:75 52                        
/usr/lib64/libc-2.17.so
7fd8a791d000-7fd8a7b1c000 ---p 001c3000 00:75 52                        
/usr/lib64/libc-2.17.so
7fd8a7b1c000-7fd8a7b20000 r--p 001c2000 00:75 52                        
/usr/lib64/libc-2.17.so
7fd8a7b20000-7fd8a7b22000 rw-p 001c6000 00:75 52                        
/usr/lib64/libc-2.17.so
7fd8a7b22000-7fd8a7b27000 rw-p 00000000 00:00 0 
7fd8a7b27000-7fd8a7b29000 r-xp 00000000 00:75 56                        
/usr/lib64/libdl-2.17.so
7fd8a7b29000-7fd8a7d29000 ---p 00002000 00:75 56                        
/usr/lib64/libdl-2.17.so
7fd8a7d29000-7fd8a7d2a000 r--p 00002000 00:75 56                        
/usr/lib64/libdl-2.17.so
7fd8a7d2a000-7fd8a7d2b000 rw-p 00003000 00:75 56                        
/usr/lib64/libdl-2.17.so
7fd8a7d2b000-7fd8a7d50000 r-xp 00000000 00:75 613                       
/usr/lib64/libtinfo.so.5.9
7fd8a7d50000-7fd8a7f50000 ---p 00025000 00:75 613                       
/usr/lib64/libtinfo.so.5.9
7fd8a7f50000-7fd8a7f54000 r--p 00025000 00:75 613                       
/usr/lib64/libtinfo.so.5.9
7fd8a7f54000-7fd8a7f55000 rw-p 00029000 00:75 613                       
/usr/lib64/libtinfo.so.5.9
7fd8a7f55000-7fd8a7f77000 r-xp 00000000 00:75 32                        
/usr/lib64/ld-2.17.so
7fd8a8152000-7fd8a816c000 r--p 00000000 00:75 422                       
/usr/lib/locale/locale-archive
7fd8a816c000-7fd8a816f000 rw-p 00000000 00:00 0 
7fd8a8173000-7fd8a8176000 rw-p 00000000 00:00 0 
7fd8a8176000-7fd8a8177000 r--p 00021000 00:75 32                        
/usr/lib64/ld-2.17.so
7fd8a8177000-7fd8a8178000 rw-p 00022000 00:75 32                        
/usr/lib64/ld-2.17.so
7fd8a8178000-7fd8a8179000 rw-p 00000000 00:00 0 
7ffd8f02d000-7ffd8f04e000 rw-p 00000000 00:00 0                         
[stack]
7ffd8f13a000-7ffd8f13c000 r--p 00000000 00:00 0                         
[vvar]
7ffd8f13c000-7ffd8f13e000 r-xp 00000000 00:00 0                         
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]

Unable to retrieve Traffic Server records: [5] Error establishing socket
connection.

service trafficserver status:
Redirecting to /bin/systemctl status trafficserver.service
● trafficserver.service - Apache Traffic Server is a fast, scalable and
extensible caching proxy server.
   Loaded: loaded (/usr/lib/systemd/system/trafficserver.service; disabled;
vendor preset: disabled)
   Active: active (running) since Sun 2018-11-11 19:10:33 UTC; 9s ago
 Main PID: 204 (traffic_cop)
   CGroup:
/docker/8ad4bde580fc797f80ebb38e08c6e5660690e99f7972d5596c0303e37c783859/system.slice/trafficserver.service
           └─204 /usr/bin/traffic_cop

Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: traffic_manager not running,
making sure traffic_server is dead
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: spawning traffic_manager
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: binpath is /usr/bin
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: cop received child status
signal [207 256]
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: traffic_manager not running,
making sure traffic_server is dead
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: spawning traffic_manager
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: binpath is /usr/bin
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: cop received child status
signal [208 256]
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: traffic_manager not running,
making sure traffic_server is dead
Nov 11 19:10:33 8ad4bde580fc traffic_cop[204]: unable to start
traffic_manager, retrying in 60 second(s)


i'm using the same Dockerfile and docker run command that i used for my
current version 7.1.1 which is running fine.

docker run -itd --publish 172.0.2.104:80:80 --name ats --net lab1.local
--privileged --cap-add NET_BIND_SERVICE --env TS_ROOT='/'
traffic_server:7.1.5.rc0

the Dockerfile:

ENV TS_ROOT="/"

RUN yum -y group install "Development Tools" && \
    yum -y install wget tar bzip2 openssl-devel.x86_64 tcl-devel.x86_64
hwloc-devel libcap-devel ncurses-devel libcurl-devel.x86_64
perl-ExtUtils-MakeMaker && \
    yum clean all && \
    mkdir /tmp/trafficserver && \
    cd /tmp/trafficserver && \    
#    wget
http://archive.apache.org/dist/trafficserver/trafficserver-7.1.1.tar.bz2 &&
\
    wget
https://people.apache.org/~zwoop/rel-candidates/trafficserver-7.1.5-rc0.tar.bz2
&& \
#    tar jxvf trafficserver-7.1.1.tar.bz2 && \
    tar jxvf trafficserver-7.1.5-rc0.tar.bz2 && \
#    cd trafficserver-7.1.1 && \
    cd trafficserver-7.1.5 && \
    ./configure --enable-experimental-plugins --prefix= --exec-prefix=/usr
--libexecdir=/usr/lib64/trafficserver --libdir=/lib64 && \
    make && \
#    make check && \
    make install && \
    groupadd -r -g 176 ats && \
    adduser -c "Apache Traffic Server" -d / -g ats -N -M -p ats -s
/sbin/nologin -u 176 ats && \
    chown ats:ats /etc/trafficserver && \
    chown ats:ats /var/trafficserver && \
    chown ats:ats /var/log/trafficserver && \
    chmod a+rw /etc/trafficserver && \
    chmod a+w /var/trafficserver/ && \
    chmod a+w /var/log/trafficserver/ && \
    chmod a+w /etc/trafficserver/ && \
    rm -rf /tmp/* && \    
    chmod a+rw /etc/trafficserver/* && \
    yum -y group remove "Development Tools" && \
    yum -y remove wget bzip2 hwloc-devel libcap-devel ncurses-devel
libcurl-devel.x86_64 && \
    yum clean all && \
    rm -rf /var/cache/yum 



--
Sent from: http://apache-traffic-server.24303.n7.nabble.com/

Mime
View raw message