Skip to content

Instantly share code, notes, and snippets.

@p-mongo
Created April 1, 2020 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p-mongo/0d32544a51ed7c31fbb557a287609193 to your computer and use it in GitHub Desktop.
Save p-mongo/0d32544a51ed7c31fbb557a287609193 to your computer and use it in GitHub Desktop.
Tenex Paste
carbon% ~/apps/pubfiles/script/docker-build
Image name not specified, using server-gssapi-crash
Sending build context to Docker daemon 3.072kB
Step 1/6 : FROM debian:9
---> 1f69da558304
Step 2/6 : ENV DEBIAN_FRONTEND=noninteractive
---> Using cache
---> cb6c5bc9e551
Step 3/6 : RUN apt-get update && apt-get -y install curl
---> Using cache
---> 8979af7fcc3b
Step 4/6 : RUN curl https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-debian92-4.3.5.tgz |tar xfz - && mv mongodb-* /opt/mongodb
---> Using cache
---> 95772c52e352
Step 5/6 : COPY test.sh .
---> ac26cb5e5643
Step 6/6 : RUN sh test.sh
---> Running in 3d32a6e91f5d
Removing intermediate container 3d32a6e91f5d
---> 8546defc0d66
Successfully built 8546defc0d66
Successfully tagged server-gssapi-crash:latest
carbon% ~/apps/pubfiles/script/docker-build
Image name not specified, using server-gssapi-crash
Sending build context to Docker daemon 3.072kB
Step 1/6 : FROM debian:9
---> 1f69da558304
Step 2/6 : ENV DEBIAN_FRONTEND=noninteractive
---> Using cache
---> cb6c5bc9e551
Step 3/6 : RUN apt-get update && apt-get -y install curl
---> Using cache
---> 8979af7fcc3b
Step 4/6 : RUN curl https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-debian92-4.3.5.tgz |tar xfz - && mv mongodb-* /opt/mongodb
---> Using cache
---> 95772c52e352
Step 5/6 : COPY test.sh .
---> 14a865b3fb11
Step 6/6 : RUN sh test.sh
---> Running in 1eadb7cfddda
mongod: error while loading shared libraries: libnetsnmpmibs.so.30: cannot open shared object file: No such file or directory
The command '/bin/sh -c sh test.sh' returned a non-zero code: 127
carbon% ~/apps/pubfiles/script/docker-build
Image name not specified, using server-gssapi-crash
Sending build context to Docker daemon 3.072kB
Step 1/7 : FROM debian:9
---> 1f69da558304
Step 2/7 : ENV DEBIAN_FRONTEND=noninteractive
---> Using cache
---> cb6c5bc9e551
Step 3/7 : RUN apt-get update && apt-get -y install curl
---> Using cache
---> 8979af7fcc3b
Step 4/7 : RUN curl https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-debian92-4.3.5.tgz |tar xfz - && mv mongodb-* /opt/mongodb
---> Using cache
---> 95772c52e352
Step 5/7 : RUN apt-get -y install libsnmp30
---> Running in 5c7060135b78
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libgdbm3 libpci3 libperl5.24 libsensors4 libsnmp-base libwrap0 netbase perl
perl-modules-5.24 rename tcpd
Suggested packages:
lm-sensors snmp-mibs-downloader perl-doc libterm-readline-gnu-perl
| libterm-readline-perl-perl make
The following NEW packages will be installed:
libgdbm3 libpci3 libperl5.24 libsensors4 libsnmp-base libsnmp30 libwrap0
netbase perl perl-modules-5.24 rename tcpd
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.6 MB of archives.
After this operation, 47.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u6 [2725 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libgdbm3 amd64 1.8.3-14 [30.0 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u6 [3525 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u6 [218 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 netbase all 5.4 [19.1 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 libpci3 amd64 1:3.5.2-1 [56.5 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libwrap0 amd64 7.6.q-26 [58.2 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libsensors4 amd64 1:3.4.0-4 [53.3 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 libsnmp-base all 5.7.3+dfsg-1.7+deb9u1 [1595 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 libsnmp30 amd64 5.7.3+dfsg-1.7+deb9u1 [2332 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 rename all 0.20-4 [12.5 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 tcpd amd64 7.6.q-26 [23.3 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.6 MB in 6s (1701 kB/s)
Selecting previously unselected package perl-modules-5.24.
(Reading database ... 7101 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.24_5.24.1-3+deb9u6_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u6) ...
Selecting previously unselected package libgdbm3:amd64.
Preparing to unpack .../01-libgdbm3_1.8.3-14_amd64.deb ...
Unpacking libgdbm3:amd64 (1.8.3-14) ...
Selecting previously unselected package libperl5.24:amd64.
Preparing to unpack .../02-libperl5.24_5.24.1-3+deb9u6_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u6) ...
Selecting previously unselected package perl.
Preparing to unpack .../03-perl_5.24.1-3+deb9u6_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u6) ...
Selecting previously unselected package netbase.
Preparing to unpack .../04-netbase_5.4_all.deb ...
Unpacking netbase (5.4) ...
Selecting previously unselected package libpci3:amd64.
Preparing to unpack .../05-libpci3_1%3a3.5.2-1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.5.2-1) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../06-libwrap0_7.6.q-26_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-26) ...
Selecting previously unselected package libsensors4:amd64.
Preparing to unpack .../07-libsensors4_1%3a3.4.0-4_amd64.deb ...
Unpacking libsensors4:amd64 (1:3.4.0-4) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../08-libsnmp-base_5.7.3+dfsg-1.7+deb9u1_all.deb ...
Unpacking libsnmp-base (5.7.3+dfsg-1.7+deb9u1) ...
Selecting previously unselected package libsnmp30:amd64.
Preparing to unpack .../09-libsnmp30_5.7.3+dfsg-1.7+deb9u1_amd64.deb ...
Unpacking libsnmp30:amd64 (5.7.3+dfsg-1.7+deb9u1) ...
Selecting previously unselected package rename.
Preparing to unpack .../10-rename_0.20-4_all.deb ...
Unpacking rename (0.20-4) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../11-tcpd_7.6.q-26_amd64.deb ...
Unpacking tcpd (7.6.q-26) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u6) ...
Setting up libgdbm3:amd64 (1.8.3-14) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u6) ...
Setting up perl (5.24.1-3+deb9u6) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libsensors4:amd64 (1:3.4.0-4) ...
Setting up libpci3:amd64 (1:3.5.2-1) ...
Setting up libwrap0:amd64 (7.6.q-26) ...
Setting up netbase (5.4) ...
Setting up libsnmp-base (5.7.3+dfsg-1.7+deb9u1) ...
Setting up libsnmp30:amd64 (5.7.3+dfsg-1.7+deb9u1) ...
Setting up rename (0.20-4) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
Setting up tcpd (7.6.q-26) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Removing intermediate container 5c7060135b78
---> febe0ad1b307
Step 6/7 : COPY test.sh .
---> c477b8aa60be
Step 7/7 : RUN sh test.sh
---> Running in 0af0abc248f5
{"t":{"$date":"2020-04-01T23:25:24.111+00:00"},"s":"I", "c":"CONTROL", "id":23285,"ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2020-04-01T23:25:24.112+00:00"},"s":"W", "c":"ASIO", "id":22601,"ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2020-04-01T23:25:24.112+00:00"},"s":"I", "c":"NETWORK", "id":4648601,"ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2020-04-01T23:25:24.113+00:00"},"s":"F", "c":"-", "id":23093,"ctx":"main","msg":"Fatal assertion {msgid} {status} at {file} {line}","attr":{"msgid":50743,"status":"UnknownError: gssapi could not acquire server credential for mongodb/0af0abc248f5@; Major code 851968; Unspecified GSS failure. Minor code may provide more information; Minor code 2529639136; Configuration file does not specify default realm; ","file":"src/mongo/db/modules/enterprise/src/sasl/cyrus_sasl_authentication_session.cpp","line":337}}
{"t":{"$date":"2020-04-01T23:25:24.113+00:00"},"s":"F", "c":"-", "id":23094,"ctx":"main","msg":"\n\n***aborting after fassert() failure\n\n"}
{"t":{"$date":"2020-04-01T23:25:24.113+00:00"},"s":"F", "c":"-", "id":0,"ctx":"main","msg":"{}","attr":{"message":"Got signal: 6 (Aborted)."}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31431,"ctx":"main",38940E0","b":"7FF443883000","o":"110E0","s":"funlockfile","s+":"50"},{"a":"7FF443516FFF","b":"7FF4434E4000","o":"32FFF","s":"gsignal","s+":"CF"},{"a":"7FF44351842A","b":"7FF4434E4000","o":"3442A","s":"abort","s+":"16A"},{"a":"5629EBCD35B9","b":"5629EADAA000","o":"F295B9","s":"_ZN5mongo35fassertFailedWithStatusWithLocationEiRKNS_6StatusEPKcj","s+":"18A"},{"a":"5629EBA0D7E6","b":"5629EADAA000","o":"C637E6","s":"_ZNSt17_Function_handlerIFvPN5mongo14ServiceContextEENS0_12_GLOBAL__N_1UlS2_E1_EE9_M_invokeERKSt9_Any_dataOS2_.cold.756","s+":"5E"},{"a":"5629ED9FD5D5","b":"5629EADAA000","o":"2C535D5","s":"_ZN5mongo14ServiceContext4makeEv","s+":"75"},{"a":"5629EBD823D5","b":"5629EADAA000","o":"FD83D5","s":"_ZN5mongo12_GLOBAL__N_111mongoDbMainEiPPcS2_","s+":"C5"},{"a":"5629EBCE4909","b":"5629EADAA000","o":"F3A909","s":"main","s+":"9"},{"a":"7FF4435042E1","b":"7FF4434E4000","o":"202E1","s":"__libc_start_main","s+":"F1"},{"a":"5629EBD7D0AA","b":"5629EADAA000","o":"FD30AA","s":"_start","s+":"2A"}],"processInfo":{"mongodbVersion":"4.3.5","gitVersion":"4a8ace6c37683b8bc422ecb16d2c67d468c5eb9f","compiledModules":["enterprise"],"uname":{"sysname":"Linux","release":"4.15.0-91-generic","version":"#92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020","machine":"x86_64"},"somap":[{"b":"5629EADAA000","elfType":3,"buildId":"769CA59C4AA979914735767387A638AB7EADCE3F"},{"b":"7FF443883000","path":"/lib/x86_64-linux-gnu/libpthread.so.0","elfType":3,"buildId":"16D609487BCC4ACBAC29A4EAA2DDA0D2F56211EC"},{"b":"7FF4434E4000","path":"/lib/x86_64-linux-gnu/libc.so.6","elfType":3,"buildId":"775143E680FF0CD4CD51CCE1CE8CA216E635A1D6"}]}}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EDB2D3E1","b":"5629EADAA000","o":"2D833E1","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.596","s+":"1E1"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EDB2EAC9","b":"5629EADAA000","o":"2D84AC9","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EDB2C006","b":"5629EADAA000","o":"2D82006","s":"_ZN5mongo12_GLOBAL__N_116abruptQuitActionEiP9siginfo_tPv","s+":"66"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"7FF4438940E0","b":"7FF443883000","o":"110E0","s":"funlockfile","s+":"50"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"7FF443516FFF","b":"7FF4434E4000","o":"32FFF","s":"gsignal","s+":"CF"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"7FF44351842A","b":"7FF4434E4000","o":"3442A","s":"abort","s+":"16A"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EBCD35B9","b":"5629EADAA000","o":"F295B9","s":"_ZN5mongo35fassertFailedWithStatusWithLocationEiRKNS_6StatusEPKcj","s+":"18A"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EBA0D7E6","b":"5629EADAA000","o":"C637E6","s":"_ZNSt17_Function_handlerIFvPN5mongo14ServiceContextEENS0_12_GLOBAL__N_1UlS2_E1_EE9_M_invokeERKSt9_Any_dataOS2_.cold.756","s+":"5E"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629ED9FD5D5","b":"5629EADAA000","o":"2C535D5","s":"_ZN5mongo14ServiceContext4makeEv","s+":"75"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EBD823D5","b":"5629EADAA000","o":"FD83D5","s":"_ZN5mongo12_GLOBAL__N_111mongoDbMainEiPPcS2_","s+":"C5"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EBCE4909","b":"5629EADAA000","o":"F3A909","s":"main","s+":"9"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"7FF4435042E1","b":"7FF4434E4000","o":"202E1","s":"__libc_start_main","s+":"F1"}}}
{"t":{"$date":"2020-04-01T23:25:24.147+00:00"},"s":"I", "c":"CONTROL", "id":31427,"ctx":"main","msg":" Frame: {frame}","attr":{"frame":{"a":"5629EBD7D0AA","b":"5629EADAA000","o":"FD30AA","s":"_start","s+":"2A"}}}
Aborted (core dumped)
The command '/bin/sh -c sh test.sh' returned a non-zero code: 134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment