-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup #1
Merged
Merged
Cleanup #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jumanjiman
force-pushed
the
cleanup
branch
2 times, most recently
from
June 26, 2015 18:33
34e6c54
to
f88ffca
Compare
as of jumanjiman@f88ffca this pukes with: [root@0035363b7b46 /]# /start.sh
+ CLIENT='remote:password@*.*.*.*'
+ exec /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A 'remote:password@*.*.*.*' --no-daemonize --no-ssl --debug
IM> Reading configuration file: /usr/local/etc/intermapperd.conf
IM> Cannot open config file "/var/local/InterMapper_Settings/ssl.conf": No such file or directory
18:33:05 XGraphics::MapFonts -- font path is /var/local/InterMapper_Settings/Fonts
18:33:05 XGraphics::MapFonts -- /var/local/InterMapper_Settings/Fonts
IM> Loading log file "Event Log201506260000.txt", size 56 bytes
IM> ... 0 seconds
IM> Loading log file "Debug201506260000.txt", size 1234 bytes
IM> ... 0 seconds
18:33:05 Starting InterMapper Debug Log File (5.8.2/Build F1201/i386/Linux/64-bit).
Machine info:
Uptime: 60487 seconds
Operating system: Linux/4.0.5
Real UID/GID: intermapper [499] / root [0]
Eff. UID/GID: intermapper [499] / root [0]
IM> Loading log file ".lossless201506260000-jrnl", size 20 bytes
IM> ... 0 seconds
*** Segmentation violation ***
18:33:05 ======= Begin Stack Walk (Build F1201/i386/Linux/64-bit)
/usr/local/bin/intermapperd(_ZN10XStackwalk14WalkStackToLogEi+0x46) [0x8e86b6]
/usr/local/bin/intermapperd() [0x604877]
/lib64/libpthread.so.0(+0xf710) [0x7fa388d8e710]
/lib64/libc.so.6(fclose+0x4) [0x7fa38842f384]
/usr/local/bin/intermapperd(_ZN20XSocketInterfaceList10InitializeEv+0x7d) [0x8de8ed]
/usr/local/bin/intermapperd(_ZN20XSocketInterfaceListC1Ev+0x99) [0x8ca289]
/usr/local/bin/intermapperd(_ZN16CNetworkServices10InitializeEv+0x35) [0x76e385]
/usr/local/bin/intermapperd(_ZN10UIMGlobals11InitGlobalsEv+0x24e) [0x60c1ce]
/usr/local/bin/intermapperd(_ZN12CIMDaemonApp12IIMDaemonAppEv+0x60) [0x5fc900]
/usr/local/bin/intermapperd(main+0x5be) [0x60416e]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7fa3883e7d5d]
/usr/local/bin/intermapperd(cos+0x129) [0x5b9af9]
18:33:05 ======= End Stack Walk (Build F1201/i386/Linux/64-bit)
XExitProcess(11): Segmentation violation |
@vpalacio just for grins, i grabbed the intermapper 5.8.1 rpm from our internal yum server and built the image. still fails: core@td-lss01 ~/docker-intermapper $ docker logs e0de2b9f7daa
+ CLIENT='remote:password@*.*.*.*'
+ exec /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A 'remote:password@*.*.*.*' --no-daemonize --no-ssl --debug
IM> Reading configuration file: /usr/local/etc/intermapperd.conf
19:47:40 XGraphics::MapFonts -- font path is /var/local/InterMapper_Settings/Fonts
19:47:40 XGraphics::MapFonts -- /var/local/InterMapper_Settings/Fonts
IM> Loading log file "Event Log201506260000.txt"
IM> ... 0 seconds
IM> Loading log file "Debug201506260000.txt"
IM> ... 0 seconds
19:47:40 Starting InterMapper Debug Log File (5.8.1/Build E9172/i386/Linux/64-bit).
Machine info:
Uptime: 92134 seconds
Operating system: Linux/4.0.5
Real UID/GID: intermapper [499] / root [0]
Eff. UID/GID: intermapper [499] / root [0]
IM> Loading log file ".lossless201506260000-jrnl"
IM> ... 0 seconds
*** Segmentation violation ***
19:47:40 ======= Begin Stack Walk (Build E9172/i386/Linux/64-bit)
/usr/local/bin/intermapperd(_ZN10XStackwalk14WalkStackToLogEi+0x46) [0x8dc156]
/usr/local/bin/intermapperd() [0x5fef67]
/lib64/libpthread.so.0(+0xf710) [0x7f675c351710]
/lib64/libc.so.6(fclose+0x4) [0x7f675b9f2384]
/usr/local/bin/intermapperd(_ZN20XSocketInterfaceList10InitializeEv+0x7d) [0x8d249d]
/usr/local/bin/intermapperd(_ZN20XSocketInterfaceListC1Ev+0x99) [0x8bed39]
/usr/local/bin/intermapperd(_ZN16CNetworkServices10InitializeEv+0x35) [0x765a95]
/usr/local/bin/intermapperd(_ZN10UIMGlobals11InitGlobalsEv+0x24e) [0x605b1e]
/usr/local/bin/intermapperd(_ZN12CIMDaemonApp12IIMDaemonAppEv+0x34) [0x5f7624]
/usr/local/bin/intermapperd(main+0x58e) [0x5fe8ee]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f675b9aad5d]
/usr/local/bin/intermapperd(cos+0x129) [0x5b5829]
19:47:40 ======= End Stack Walk (Build E9172/i386/Linux/64-bit)
XExitProcess(11): Segmentation violation |
* pin to centos7 for clarity * install specific compatible java for intermapper * quote the download url to avoid bash interpretation of '&' * put all install commands in a single RUN and remove intermediate files to reduce image size * install dependencies that intermapper does not specify * enable tls and disable (broken) ssl
@vpalacio please 🚢 it seems to work! user@devenv:~/docker-intermapper(cleanup)$ docker run -d --name intermapper --net host intermapper
3bd0b9f6f0e0753dc347777629465320a946016544512b6a1d3f6f9124443242
user@devenv:~/docker-intermapper(cleanup)$ docker logs -f intermapper
+ CLIENT='remote:password@*.*.*.*'
+ exec /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A 'remote:password@*.*.*.*' --no-daemonize --no-ssl --debug
IM> Reading configuration file: /usr/local/etc/intermapperd.conf
IM> SSL protocols: TLSv1.0 TLSv1.1 TLSv1.2
00:52:42 XGraphics::MapFonts -- font path is /var/local/InterMapper_Settings/Fonts
00:52:42 XGraphics::MapFonts -- /var/local/InterMapper_Settings/Fonts
IM> Loading log file "Event Log201506270000.txt", size 56 bytes
IM> ... 0 seconds
IM> Loading log file "Debug201506270000.txt", size 1234 bytes
IM> ... 0 seconds
00:52:42 Starting InterMapper Debug Log File (5.8.2/Build F1201/i386/Linux/64-bit).
Machine info:
Uptime: 83264 seconds
Operating system: Linux/4.0.5
Real UID/GID: intermapper [999] / root [0]
Eff. UID/GID: intermapper [999] / root [0]
IM> Loading log file ".lossless201506270000-jrnl", size 20 bytes
IM> ... 0 seconds
00:52:42 FindBestSerialNumber: InterMapper
00:52:42 exiting FindBestSerialNumber
00:52:42 Going with S/N: InterMapper-DEMO-L000-YHUK-AARW-HVXU-AYXE .
00:52:42 FindBestSerialNumber: IMWirelessAddon
00:52:42 exiting FindBestSerialNumber
00:52:42 FindBestSerialNumber: IMRemoteAccessPool
00:52:42 exiting FindBestSerialNumber
00:52:42 FindBestSerialNumber: IMFlows
00:52:42 exiting FindBestSerialNumber
00:52:42 Loading MIBs...
00:52:42 MIB[3]: Cannot find module (IANA-CHARSET-MIB): At line 18 in /var/local/InterMapper_Settings/MIB Files/RFC3805-Printer-MIB.txt
00:52:42 MIB[4]: Did not find 'IANACharset' in module #-1 (/var/local/InterMapper_Settings/MIB Files/RFC3805-Printer-MIB.txt)
00:52:42 Loading MIBs (Finished).
00:52:43 UDP socket (port 162) rcv buffer size: 212992, ipv4-only: false
Preferences indicate that IM Remote Server is disabled. Port number = 8181. Restarting...
00:52:43 UDP socket (port 8181) rcv buffer size: 212992, ipv4-only: false
00:52:46 mDNSRegister: DNSServiceRegister returned -65537
Weekly schedule is not initialized from timeRgn resource on non-Mac platforms
00:52:46 Loading Icons...
+ CLIENT='remote:password@*.*.*.*'
+ exec /usr/local/bin/intermapperd -f /usr/local/etc/intermapperd.conf -A 'remote:password@*.*.*.*' --no-daemonize --no-ssl --debug
IM> Reading configuration file: /usr/local/etc/intermapperd.conf
IM> SSL protocols: TLSv1.0 TLSv1.1 TLSv1.2
00:52:42 XGraphics::MapFonts -- font path is /var/local/InterMapper_Settings/Fonts
00:52:42 XGraphics::MapFonts -- /var/local/InterMapper_Settings/Fonts
IM> Loading log file "Event Log201506270000.txt", size 56 bytes
IM> ... 0 seconds
IM> Loading log file "Debug201506270000.txt", size 1234 bytes
IM> ... 0 seconds
00:52:42 Starting InterMapper Debug Log File (5.8.2/Build F1201/i386/Linux/64-bit).
Machine info:
Uptime: 83264 seconds
Operating system: Linux/4.0.5
Real UID/GID: intermapper [999] / root [0]
Eff. UID/GID: intermapper [999] / root [0]
IM> Loading log file ".lossless201506270000-jrnl", size 20 bytes
IM> ... 0 seconds
00:52:42 FindBestSerialNumber: InterMapper
00:52:42 exiting FindBestSerialNumber
00:52:42 Going with S/N: InterMapper-DEMO-L000-YHUK-AARW-HVXU-AYXE .
00:52:42 FindBestSerialNumber: IMWirelessAddon
00:52:42 exiting FindBestSerialNumber
00:52:42 FindBestSerialNumber: IMRemoteAccessPool
00:52:42 exiting FindBestSerialNumber
00:52:42 FindBestSerialNumber: IMFlows
00:52:42 exiting FindBestSerialNumber
00:52:42 Loading MIBs...
00:52:42 MIB[3]: Cannot find module (IANA-CHARSET-MIB): At line 18 in /var/local/InterMapper_Settings/MIB Files/RFC3805-Printer-MIB.txt
00:52:42 MIB[4]: Did not find 'IANACharset' in module #-1 (/var/local/InterMapper_Settings/MIB Files/RFC3805-Printer-MIB.txt)
00:52:42 Loading MIBs (Finished).
00:52:43 UDP socket (port 162) rcv buffer size: 212992, ipv4-only: false
Preferences indicate that IM Remote Server is disabled. Port number = 8181. Restarting...
00:52:43 UDP socket (port 8181) rcv buffer size: 212992, ipv4-only: false
00:52:46 mDNSRegister: DNSServiceRegister returned -65537
Weekly schedule is not initialized from timeRgn resource on non-Mac platforms
00:52:46 Loading Icons...
00:52:48 Loading Icons (Finished). 1115 icons loaded.
00:52:48 Loading Probes...
00:52:48 ExpandInternalProbes
Probe syntax warning(s) in file com.dartware.snmp.prototype.txt:
Ignoring section start tag <snmp-device-display> while inside section <description>
Ignoring section start tag <description> while inside section <description>
Ignoring section start tag <snmp-device-display> while inside section <description>
Ignoring section start tag <snmp-device-display> while inside section <description>
Loading probes took 0.367 seconds.
header 231 0.017 4.55%
description 231 0.033 9.09%
parameters 211 0.000 0.00%
script 82 0.067 18.18%
script-output 53 0.000 0.00%
snmp-device-variables 88 0.033 9.09%
snmp-device-variables-ondemand 5 0.000 0.00%
snmp-device-thresholds 74 0.017 4.55%
snmp-device-alarmpoints 16 0.000 0.00%
snmp-device-notifiers 1 0.000 0.00%
snmp-device-display 89 0.000 0.00%
snmp-device-properties 40 0.000 0.00%
command-line 23 0.000 0.00%
command-exit 23 0.017 4.55%
command-display 23 0.000 0.00%
files-and-versions 0 0.000 0.00%
autorecord 2 0.000 0.00%
datasets 42 0.000 0.00%
tool 22 0.000 0.00%
postflight 0 0.000 0.00%
Time remaining 0.117 31.82%
Probe which loaded the longest: "com.dartware.snmp.cisco-ip-sla.txt". Loading time: 0.017 seconds.
00:52:48 Loading Probes (Finished).
00:52:48 Loading Web Pages...
00:52:48 ExpandWebFiles
00:52:48 Loading Web Pages (Finished).
font path: GDFONTPATH=/var/local/InterMapper_Settings/Fonts
00:52:48 Report server is disabled.
Settings folder is /var/local/InterMapper_Settings
ExtensionFileVisitor trying file flows.jar
ExtensionFileVisitor trying file switches.zip
Trying to load extension for zip file switches.zip
00:52:48 Load server extension: com.dartware.intermapper.switches (enabled=true)
ExtensionFileVisitor trying file flows.xml
00:52:48 Load server extension: com.dartware.intermapper.flows (enabled=true)
00:52:48 Starting server extension: com.dartware.intermapper.switches
00:52:49 Initialization completed. InitGlobals took 6.283 seconds.
00:52:49 ExpandTranslations
******** InterMapper 5.8.2 (Build F1201) Config ********
8 Command line arguments: '/usr/local/bin/intermapperd' '-f' '/usr/local/etc/intermapperd.conf' '-A' 'remote:password@*.*.*.*' '--no-daemonize' '--no-ssl' '--debug'
Daemon Configuration:
debug_flag=true
version_flag=false
printconfig_flag=false
run_as_user=999 (intermapper)
run_as_group=0 (N/A)
settings_folder_path="/var/local/InterMapper_Settings"
font_folder_path="/var/local/InterMapper_Settings/Fonts"
admin_address="remote:password@*.*.*.*"
detailed logs = 0
SSL protocols=TLSv1.0 TLSv1.1 TLSv1.2
SSL ciphers=DEFAULT
SSL client session renegotiation=default
SSL cipher preference=default
Users & Groups: 2 users, 1 groups
user: "Admin" : EMPTY : 127.0.0.1
user: "remote" : PASSWORD :
group: "Administrators" : remote, Admin
ENABLED remote server on port 8181 . 6 listeners, 200 maxconns
url: intermapper://192.168.254.162:8181
acl: allow *.*.*.*
acl: allow 127.0.0.1
DISABLED web server on port 80 . 8 listeners, 10 maxconns
acl: deny *.*.*.*
DISABLED telnet server on port 23 . 2 listeners, 10 maxconns
acl: deny *.*.*.*
************************************
(Running all Test Cases...)
XTestCase PASS CDictionary 0 ms
XTestCase PASS CMemento 0 ms
XTestCase PASS CTerraProjection 0 ms
XTestCase PASS RCalcParser 1 ms
XTestCase PASS RGrep 0 ms
00:52:49 JS> dbug <unknown script purpose>: x = 00:52:49 JS> dbug <unknown script purpose>: 300:52:49 JS> dbug <unknown script purpose>:
00:52:49 JS> dbug <unknown script purpose>: > 00:52:49 JS> dbug <unknown script purpose>: number00:52:49 JS> dbug <unknown script purpose>: : 00:52:49 JS> dbug <unknown script purpose>: x00:52:49 JS> dbug <unknown script purpose>: = 00:52:49 JS> dbug <unknown script purpose>: 3
00:52:49 JS> dbug <unknown script purpose>: > 00:52:49 JS> dbug <unknown script purpose>: function00:52:49 JS> dbug <unknown script purpose>: : 00:52:49 JS> dbug <unknown script purpose>: foo00:52:49 JS> dbug <unknown script purpose>: = 00:52:49 JS> dbug <unknown script purpose>: function () {
var global = function () {return this;}();
for (var prop in global) {
debugln("> ", (typeof global[prop]), ": ", prop, " = ", global[prop]);
}
}
00:52:49 JS> dbug <unknown script purpose>: [object Native]
00:52:49 JS> dbug <unknown script purpose>: 30
00:52:49 JS> dbug <unknown script purpose>: iterator: 00:52:49 JS> dbug <unknown script purpose>: value00:52:49 JS> dbug <unknown script purpose>: =00:52:49 JS> dbug <unknown script purpose>: 35
00:52:49 JS> dbug <unknown script purpose>: iterator: 00:52:49 JS> dbug <unknown script purpose>: parent00:52:49 JS> dbug <unknown script purpose>: =00:52:49 JS> dbug <unknown script purpose>: [object Object]
00:52:49 JS> <RJavaScript>:InterMapper native object cannot resolve property "fred"
00:52:49 JS> <RJavaScript>:1:Error: InterMapper native object cannot set non-tinyid property "fred"
00:52:49 JS> dbug <unknown script purpose>: [object Orphan]
00:52:49 JS> <RJavaScript>:1:Error: InterMapper native object is out of scope
XTestCase PASS RJavaScript 1 ms
XTestCase PASS RMesgDigest5 0 ms
XTestCase PASS RStringMap 0 ms
XTestCase PASS RTerraPt 0 ms
XTestCase PASS RWINSMessage 0 ms
XTestCase PASS RZipFile 1 ms
XTestCase PASS URandom 0 ms
XTestCase PASS CLogFile 20042 ms
XTestCase PASS CNodeAddr 0 ms
XTestCase PASS CSNMPRouterQueryTable 0 ms
XTestCase PASS CStreamServerACL 0 ms
XTestCase PASS CTCPScriptHandle 0 ms
XTestCase PASS CUsersAndGroupsDatabase 15 ms
XTestCase PASS DNRUtil 0 ms
XTestCase PASS DNSMessage 0 ms
XTestCase PASS FormFill 0 ms
XTestCase PASS RNetworkID 0 ms
XTestCase PASS RTCPProbeCmdLine 0 ms
XTestCase PASS UIMProbeSpec 0 ms
XTestCase PASS USNMPReader 0 ms
XTestCase PASS RSNMPObjectID 0 ms
XTestCase PASS RSNMPv3Pkt 100 ms
XTestCase PASS ULibSNMP 0 ms
XTestCase PASS RSQLiteFile 53 ms
XTestCase PASS UPack 0 ms
# VFormatArgOrder: Only 14 format specifiers can be processed: testing %3$d %1$d %2$d %d %d %d %d %9$d %8$d %d %d %d %d %d %d %d %d %d %d %d %s
XTestCase PASS UPrintf 0 ms
XTestCase PASS UScanf 0 ms
XTestCase PASS UString 0 ms
XTestCase PASS UStringUTF8 6 ms
XTestCase PASS XCmdLineParser 0 ms
XTestCase PASS XCoordinates 0 ms
XTestCase PASS XDebugNew 0 ms
XTestCase PASS XLocale 0 ms
XTestCase PASS XPlatform 0 ms
XTestCase PASS XPQueue 2000 ms
XTestCase PASS XString 8 ms
XTestCase PASS XVector 0 ms
XTestCase PASS XSocketAddrEnet 0 ms
XTestCase PASS XSocketAddrIPv4 0 ms
XTestCase PASS XSocketAddrIPv6 8 ms
# Interface 1, name=lo, type=24
# IP: 127.0.0.1/8 DGW: ::
# IP: ::1/128 DGW: ::
# Interface 2, name=eth0, type=6
# MAC: 02:9b:62:de:16:d1
# IP: 192.168.254.162/24 DGW: ::
# IP: fe80::9b:62ff:fede:16d1/64 DGW: ::
# Interface 3, name=docker0, type=0
# IP: 172.17.42.1/16 DGW: ::
# IP: fe80::1889:daff:fe26:5c13/64 DGW: ::
# Self-Publish: 192.168.254.162 (forceIPv4 = false)
# Self-Publish: 192.168.254.162 (forceIPv4 = true)
# AddressIPv4: 192.168.254.162 prefix: 24 gw: 0.0.0.0
# AddressIPv6: fe80::9b:62ff:fede:16d1 prefix: 64 gw: ::
XTest FAIL XSocketInterfaceList:54 "intf->GetIfType() != 0"
XTestCase FAIL XSocketInterfaceList 20 ms
SSL library: OpenSSL 1.0.1j 15 Oct 2014
XTestCase PASS XSocketSSL_Utils 13 ms
XTestCase PASS XFile 0 ms
XTestCase PASS XBundle 0 ms
XTestCase PASS XDateTime 0 ms
# 1000000 getppid's took 6 ticks, 96 msec
# 1000000 XTickCounts took 14 ticks, 223 msec
# 1000000 XTimeStamp::SetTimeNow's took 11 ticks, 196 msec
XTestCase PASS XTickCount 5351 ms
XTestCase PASS XGraphics 0 ms
# v4 localhost = 127.0.0.1
# v4 google.com = 173.194.33.167
# v4 192.168.1.1 = (error 1)
# v4 72.14.207.99 = (error 1)
# v6 localhost = ::1
# v6 google.com = 2607:f8b0:400a:803::1001
# v6 big6.dartware.com = (error -2)
# v4 big6.dartware.com = 23.253.142.248
# v6 ::1 = localhost
# v6 2::1 = (error -2)
# v6 fe80:4::20a:95ff:fea7:ea20 = (error -2)
# v4 billg5.local = (error 1)
# v6 billg5.local = (error -2)
XTestCase PASS XGetAddrInfoIP 4336 ms
XTestCase PASS XPThread 1498 ms
XTestCase PASS XPMutex 0 ms
XTestCase PASS XStackwalk 1 ms
XTestCase PASS XAsyncRead 49 ms
# Disk [/] 59.84853 GB available, 80.74601 GB total
XTestCase PASS XDisk 0 ms
========= FAIL 1 tests failed (57/58 pass) =========
************************************
CIMDaemonApp::OpenStartupItems - no valid serial number
00:53:22 Server extension exited: com.dartware.intermapper.switches
00:53:22 Starting server extension: com.dartware.intermapper.switches
00:53:22 serialNumberListBestSNExpired: InterMapper-DEMO-L000-YHUK-AARW-HVXU-AYXE
00:53:22 serialNumberListBestSNExpiredReminder: InterMapper-DEMO-L000-YHUK-AARW-HVXU-AYXE
^C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@vpalacio work-in-process for visibility