Address is in use?

I have a setup with parallell logstash. The docker-compose file places the second (test) on port 5001, where the production is on 5000.

When I look in logs I see these messages:

ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,319][DEBUG][logstash.filters.grok    ] Grok compiled OK {:pattern=>"^%{SPACE}\\* Process ID: %{NUMBER:pid}", :expanded_pattern=>"^(?:\\s*)\\* Process ID: (?<NUMBER:pid>(?:(?:(?<![0-9.+-])(?>[+-]?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))))))"}
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,340][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"map['sent'] = 0 ; map['duration'] = 0"}
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,371][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"map['duration'] += event.get('batchduration')"}
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,375][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"map['sent'] += event.get('batchsent')"}
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,378][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"event.set('Duration', map['duration']) ; event.set('Sent', map['sent'])"}
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,385][DEBUG][logstash.filters.aggregate] Aggregate timeout for '%{identity}' pattern: 1000 seconds
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,388][DEBUG][logstash.filters.aggregate] Aggregate default timeout: 1000 seconds
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,509][DEBUG][io.netty.util.internal.logging.InternalLoggerFactory] Using SLF4J as the default logging framework
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,535][DEBUG][io.netty.util.internal.PlatformDependent0] -Dio.netty.noUnsafe: false
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,535][DEBUG][io.netty.util.internal.PlatformDependent0] Java version: 8
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,537][DEBUG][io.netty.util.internal.PlatformDependent0] sun.misc.Unsafe.theUnsafe: available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,537][DEBUG][io.netty.util.internal.PlatformDependent0] sun.misc.Unsafe.copyMemory: available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,538][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.Buffer.address: available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,538][DEBUG][io.netty.util.internal.PlatformDependent0] direct buffer constructor: available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.Bits.unaligned: available, true
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent0] jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.DirectByteBuffer.<init>(long, int): available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent] sun.misc.Unsafe: available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,540][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,540][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.bitMode: 64 (sun.arch.data.model)
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,541][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.noPreferDirect: false
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,541][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.maxDirectMemory: 259522560 bytes
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,541][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.uninitializedArrayAllocationThreshold: -1
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,542][DEBUG][io.netty.util.internal.CleanerJava6] java.nio.ByteBuffer.cleaner(): available
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,544][DEBUG][io.netty.util.internal.NativeLibraryLoader] -Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
ESC[33mlogstashdebug     |ESC[0m [2019-02-05T13:19:03,545][DEBUG][io.netty.util.internal.NativeLibraryLoader] Unable to load the library 'netty_tcnative_linux_x86_64', trying other loading mechanism.
ESC[33mlogstashdebug     |ESC[0m java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_x86_64 in java.library.path

From there it just keeps crashing.
It's the postfix setup I'm trying to set up elsewhere.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.