Welcome to TP-LINK Tech Support Forum
+ Reply to Thread
Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast
Results 46 to 60 of 64
  1. #46
    Könnte daran liegen, dass Java eine shared lib verwendet, die bei Dir nicht installiert ist. Kannst ja mal mit strace nachschauen, was das SIGKILL verursacht:

    Code:
    strace /opt/tplink/EAPController/jre/bin/java -server -Xms128m -Xmx1024m -XX:MaxHeapFreeRatio=60 \
       -XX:MinHeapFreeRatio=30 -XX:+UseSerialGC -XX:+HeapDumpOnOutOfMemoryError \
       -cp "/opt/tplink/EAPController/lib/com.tp-link.eap.start-0.0.1-SNAPSHOT.jar:/opt/tplink/EAPController/lib/*:/opt/tplink/EAPController/external-lib/*" \
       -Deap.home="/opt/tplink/EAPController" com.tp_link.eap.start.EapMain start

  2. #47
    execve("/opt/tplink/EAPController/jre/bin/java", ["/opt/tplink/EAPController/jre/bi"..., "-server", "-Xms128m", "-Xmx1024m", "-XX:MaxHeapFreeRatio=60", "-XX:MinHeapFreeRatio=30", "-XX:+UseSerialGC", "-XX:+HeapDumpOnOutOfMemoryError", "-cp", "/opt/tplink/EAPController/lib/co"..., "-Deap.home=/opt/tplink/EAPContro"..., "com.tp_link.eap.start.EapMain", "start"], [/* 21 vars */]) = 0
    brk(NULL) = 0x634000
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e56aae000
    readlink("/proc/self/exe", "/opt/tplink/EAPController/jre/bi"..., 4096) = 38
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/tls/x86_64", 0x7ffce31333f0) = -1 ENOENT (No such file or directory)
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/tls", 0x7ffce31333f0) = -1 ENOENT (No such file or directory)
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/x86_64", 0x7ffce31333f0) = -1 ENOENT (No such file or directory)
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    stat("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=31548, ...}) = 0
    mmap(NULL, 31548, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1e56aa6000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\26 0`\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0
    mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e5666e000
    mprotect(0x7f1e56686000, 2093056, PROT_NONE) = 0
    mmap(0x7f1e56885000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f1e56885000
    mmap(0x7f1e56887000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1e56887000
    close(3) = 0
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/libjli.so", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0# \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=98530, ...}) = 0
    mmap(NULL, 2181448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e56459000
    mprotect(0x7f1e5646e000, 2093056, PROT_NONE) = 0
    mmap(0x7f1e5666d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f1e5666d000
    close(3) = 0
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\24 0\r\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e56aa5000
    mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e56255000
    mprotect(0x7f1e56258000, 2093056, PROT_NONE) = 0
    mmap(0x7f1e56457000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f1e56457000
    close(3) = 0
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t \2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
    mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e55e8b000
    mprotect(0x7f1e5604b000, 2097152, PROT_NONE) = 0
    mmap(0x7f1e5624b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7f1e5624b000
    mmap(0x7f1e56251000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1e56251000
    close(3) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e56aa4000
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e56aa3000
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e56aa2000
    arch_prctl(ARCH_SET_FS, 0x7f1e56aa3700) = 0
    mprotect(0x7f1e5624b000, 16384, PROT_READ) = 0
    mprotect(0x7f1e56457000, 4096, PROT_READ) = 0
    mprotect(0x7f1e56885000, 4096, PROT_READ) = 0
    mprotect(0x7f1e56ab0000, 4096, PROT_READ) = 0
    munmap(0x7f1e56aa6000, 31548) = 0
    set_tid_address(0x7f1e56aa39d0) = 5144
    set_robust_list(0x7f1e56aa39e0, 24) = 0
    rt_sigaction(SIGRTMIN, {0x7f1e56673b50, [], SA_RESTORER|SA_SIGINFO, 0x7f1e5667f390}, NULL, 8) = 0
    rt_sigaction(SIGRT_1, {0x7f1e56673be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f1e5667f390}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
    brk(NULL) = 0x634000
    brk(0x655000) = 0x655000
    readlink("/proc/self/exe", "/opt/tplink/EAPController/jre/bi"..., 4096) = 38
    access("/opt/tplink/EAPController/jre/lib/amd64/libjava.so", F_OK) = 0
    open("/opt/tplink/EAPController/jre/lib/amd64/jvm.cfg", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=677, ...}) = 0
    read(3, "# Copyright (c) 2003, Oracle and"..., 4096) = 677
    read(3, "", 4096) = 0
    close(3) = 0
    stat("/opt/tplink/EAPController/jre/lib/amd64/server/libjvm.so", {st_mode=S_IFREG|0644, st_size=15236782, ...}) = 0
    futex(0x7f1e564580a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    open("/opt/tplink/EAPController/jre/lib/amd64/server/libjvm.so", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\2 54\36\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=15236782, ...}) = 0
    mmap(NULL, 15177928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e55011000
    mprotect(0x7f1e55b87000, 2093056, PROT_NONE) = 0
    mmap(0x7f1e55d86000, 802816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb75000) = 0x7f1e55d86000
    mmap(0x7f1e55e4a000, 264392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1e55e4a000
    close(3) = 0
    open("/opt/tplink/EAPController/jre/bin/../lib/amd64/jli/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=31548, ...}) = 0
    mmap(NULL, 31548, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1e56aa6000
    close(3) = 0
    access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V \0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=1088952, ...}) = 0
    mmap(NULL, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1e54d08000
    mprotect(0x7f1e54e10000, 2093056, PROT_NONE) = 0
    mmap(0x7f1e5500f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x7f1e5500f000
    close(3) = 0
    mprotect(0x7f1e5500f000, 4096, PROT_READ) = 0
    munmap(0x7f1e56aa6000, 31548) = 0
    access("/opt/tplink/EAPController/lib/*", F_OK) = -1 ENOENT (No such file or directory)
    open("/opt/tplink/EAPController/lib/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(3, /* 9 entries */, 32768) = 504
    getdents(3, /* 0 entries */, 32768) = 0
    close(3) = 0
    access("/opt/tplink/EAPController/external-lib/*", F_OK) = -1 ENOENT (No such file or directory)
    open("/opt/tplink/EAPController/external-lib/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(3, /* 63 entries */, 32768) = 3104
    getdents(3, /* 0 entries */, 32768) = 0
    close(3) = 0
    mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f1e569a1000
    mprotect(0x7f1e569a1000, 4096, PROT_NONE) = 0
    clone(child_stack=0x7f1e56aa0ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND| CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARE NT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f1e56aa19d0, tls=0x7f1e56aa1700, child_tidptr=0x7f1e56aa19d0) = 5145
    futex(0x7f1e56aa19d0, FUTEX_WAIT, 5145, NULLlog4j:WARN No appenders could be found for logger (com.tp_link.eap.util.system.SystemUtil).
    log4j:WARN Please initialize the log4j system properly.
    ========EAP_LINUX_MONGOD_KEY======
    mongodPath = "/opt/tplink/EAPController/bin/mongod" --port 27017 --dbpath "/opt/tplink/EAPController/data/db" -pidfilepath "/opt/tplink/EAPController/data/mongo.pid" --logappend --logpath "/opt/tplink/EAPController/logs/mongod.log" --nohttpinterface --bind_ip 127.0.0.1
    repairCommand = "/opt/tplink/EAPController/bin/mongod" --repair --dbpath "/opt/tplink/EAPController/data/db" --logappend --logpath "/opt/tplink/EAPController/logs/mongod.log"
    "/opt/tplink/EAPController/bin/mongod" --port 27017 --dbpath "/opt/tplink/EAPController/data/db" -pidfilepath "/opt/tplink/EAPController/data/mongo.pid" --logappend --logpath "/opt/tplink/EAPController/logs/mongod.log" --nohttpinterface --bind_ip 127.0.0.1
    <unfinished ...>
    +++ killed by SIGKILL +++
    Getötet

    Da wird jede Menge nicht gefunden, hast Du mal einen Vergleich?

  3. #48
    Die ENOENT sind nicht das Problem, da sucht der Loader nur den Path ab.

    Das hier ist das Problem, höchstwahrscheinlich verursacht durch systemd, der gerne stillschweigend mit allen UNIX-Konventionen der letzten 45 Jahre bricht:

    Quote Originally Posted by toms01 View Post
    mongodPath = "/opt/tplink/EAPController/bin/mongod" --port 27017 --dbpath "/opt/tplink/EAPController/data/db" -pidfilepath "/opt/tplink/EAPController/data/mongo.pid" --logappend --logpath "/opt/tplink/EAPController/logs/mongod.log" --nohttpinterface --bind_ip 127.0.0.1
    repairCommand = "/opt/tplink/EAPController/bin/mongod" --repair --dbpath "/opt/tplink/EAPController/data/db" --logappend --logpath "/opt/tplink/EAPController/logs/mongod.log"
    "/opt/tplink/EAPController/bin/mongod" --port 27017 --dbpath "/opt/tplink/EAPController/data/db" -pidfilepath "/opt/tplink/EAPController/data/mongo.pid" --logappend --logpath "/opt/tplink/EAPController/logs/mongod.log" --nohttpinterface --bind_ip 127.0.0.1
    <unfinished ...>
    +++ killed by SIGKILL +++

    Versuche mal, im service-block von systemd die Einstellung

    Code:
    KillMode=process
    zu setzen. Per default killt systemd alle Prozesse der control group bei Terminierung des Vordergund-Prozesses, mit der Einstellung oben bleiben seine Kindprozesse am Laufen (Daemon-Prozesse - hier: mongod - starten üblicherweise Kindprozesse, um sich vom controlling terminal abzukoppeln).

    Oder probiere mal, im Shell-Script für den Start des EAPC den ausführenden Prozess aus der control group service in die group others zu verlagern:

    Code:
    echo $$ > /sys/fs/cgroup/systemd/tasks
    Katastrophe, der Entwickler von systemd. Sollte zu Microsoft gehen, damit wäre allen geholfen.
    Last edited by R1D2; 08-20-2017 at 17:29.

  4. #49
    Ich bin normalerweise Gentoo-rianer, daher ist systemd für mich eher nicht interessant, aber auf der Kiste zu kompilieren dauert einfach zu lange.
    Wenn mich nicht alles täuscht, wurde der KillMode bereits so gesetzt, oder?!

    # Automatically generated by systemd-sysv-generator

    [Unit]
    Documentation=man:systemd-sysv-generator(8)
    SourcePath=/etc/init.d/tpeap
    Description=SYSV: myservice ....
    Before=multi-user.target
    Before=multi-user.target
    Before=multi-user.target
    Before=graphical.target
    Before=shutdown.target
    Before=ondemand.service
    Before=postfix.service
    Before=grub-common.service
    After=apache2.service
    After=apport.service
    Conflicts=shutdown.target

    [Service]
    Type=forking
    Restart=no
    TimeoutSec=5min
    IgnoreSIGPIPE=no
    KillMode=process
    GuessMainPID=no
    RemainAfterExit=yes
    ExecStart=/etc/init.d/tpeap start
    ExecStop=/etc/init.d/tpeap stop

  5. #50
    Ja, aber nur für das Start-/Stop-Skript, das beim Boot direkt ausgeführt wird. Bringt der zweite Tipp (das echo $$ >/sys/fs/cgroup/systemd/tasks direkt im Skript) was? Falls nicht, weiss ich auch nicht, weshalb der mongoDB daemon beim detach gekillt wird. Wie gesagt, bei mir läuft er ja anstandslos. Und bis auf das SIGKILL ist die Ausgabe von strace auch identisch mit der auf Deinem System.

  6. #51
    Vielen Dank für Deine Mithilfe! Nein, bringt leider auch nichts. Vielleicht testet TP-Link ja selbst mal unter der Ubuntu 16.04.3 LTS.

    Glaube ich zwar nicht, denn mittlerweile ist TP-Link ja nicht unbekannt fürs Nichtstun.
    Siehe VLAN-ID1 dauernd untagged bei den Easy-Smart-Switches SG10xE, den nicht behobenen 2. Configspeicher-Bug auf selbigen, Multicastprobleme usw...
    Bis die mal etwas beheben ist so mancher vielleicht schon zur Konkurrenz gewechselt

  7. #52
    Na gerne. Der Configspeicher-Bug bei den TL-SG10xE ist übrigens gefixt mittlerweile, es gibt eine Beta-Version der Firmware dafür: http://forum.tp-link.com/showthread....l=1#post211892
    Last edited by R1D2; 08-20-2017 at 19:46.

  8. #53
    Ist für HW-Version 3 oder? Ich habe hier davon 6x V2

  9. #54
    Quote Originally Posted by toms01 View Post
    Ist für HW-Version 3 oder? Ich habe hier davon 6x V2
    Kannst auch auf HW V2 installieren. V3-Software ist im Fall dieser Switches nur ein kosmetisches Update, neues Logo usw.

  10. #55
    Quote Originally Posted by toms01 View Post
    Hi!

    For my configuration this is not a solution:

    #ifconfig
    enp3s0 Link encap:Ethernet Hardware Adresse xxx
    inet Adresse:1.2.3.5 Bcast:1.2.3.7 Maske:255.255.255.252
    inet6-Adresse: fe80::c23f:d5ff:fe6b:6a19/64 Gültigkeitsbereich:Verbindung
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
    RX-Pakete:835 Fehler:0 Verloren:178 Überläufe:0 Fenster:0
    TX-Pakete:579 Fehler:0 Verloren:0 Überläufe:0 Träger:0
    Kollisionen:0 Sendewarteschlangenlänge:1000
    RX-Bytes:138117 (138.1 KB) TX-Bytes:128621 (128.6 KB)

    enp3s0:0 Link encap:Ethernet Hardware Adresse xxx
    inet Adresse:192.168.1.4 Bcast:192.168.1.255 Maske:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1

    lo Link encap:Lokale Schleife
    inet Adresse:127.0.0.1 Maske:255.0.0.0
    inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
    UP LOOPBACK RUNNING MTU:65536 Metrik:1
    RX-Pakete:626 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
    TX-Pakete:626 Fehler:0 Verloren:0 Überläufe:0 Träger:0
    Kollisionen:0 Sendewarteschlangenlänge:1
    RX-Bytes:43694 (43.6 KB) TX-Bytes:43694 (43.6 KB)

    -> Starting EAP Controller ........./usr/bin/tpeap: Zeile 79: 2076 Killed nohup $JAVA_TOOL -server -Xms128m -Xmx1024m -XX:MaxHeapFreeRatio=60 -XX:MinHeapFreeRatio=30 -XX:+UseSerialGC -XX:+HeapDumpOnOutOfMemoryError -Deap.home="${eapHome}" -cp ${eapHome}"/lib/com.tp-link.eap.start-0.0.1-SNAPSHOT.jar:"${eapHome}"/lib/*:"${eapHome}"/external-lib/*" com.tp_link.eap.start.EapMain start > ${eapHome}/logs/startup.log 2>&1
    Did you try shutting down the interface(s) while starting up the EAPC service?

    Regards
    Peter


    Edit1:
    Shutting down the physical interface worked as expected on an Ubuntu 16.04 LTS VM.
    Reconfiguring on the fly with ifconfig gave mixed results.
    Forget the workaround with the alias interface - it's not for production use anyway.
    Last edited by PeterL.; 08-21-2017 at 10:43.

  11. #56
    I received an e-mail from the german support team asking for details on August 21st, which I replied to with details.
    Let's wait for the fix ...

    Regards
    Peter


    Edit1:
    German support was unable to reproduce the problem on their side and told me that it must be something inside our network.

    Well, it was indeed something in our network - the EAPC running on a Windows Server ...

    To sum this up for future victims of this incredible software product:
    If you already have an EAP Controller running on a Windows system, to manage your APs you have to shut that EAP Controller down before firing up your brand new EAP Controller on Linux.

    The reason why changing the IP adress on the Linux EAPC did allow it to start it up was, that communication between both EAPCs was interrupted this way.
    So changing it to a public IP did work, just because that IP was not part of the local subnet.
    Funny thing is, that both EAPCs will stay running if you disrupt network connectivity on startup of the second - it looks like there are no further checks implemented.

    Why this fabulous piece of software does not just log "There is already an EAP Controller running on your network - shutting down!" ... well, I don't know why the person writing this mess thought it would be a good idea to omit useful error logging.

    Long story short: this is another case of good hardware made useless by bad software
    .
    We will definitely not deploy Auranet hardware to any of our customer's networks.
    Last edited by PeterL.; 08-30-2017 at 11:10.

  12. #57

    EAP Software fails

    Hi, I found another issue with EAP Control Software.

    Init script says it's running but http site drop 503 error, same on port 8043. In server.log there are a lot of exceptions and netstat doesn't see http server


    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : eap.properties
    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : mongodb.properties
    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : jetty.properties
    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : netty.properties
    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : log4j.properties
    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : user.params.properties
    2017-09-19 19:46:14 [main] [INFO]-[ConfigurationFactory.java:39] - success to load configuration : device.properties
    2017-09-19 19:46:24 [main] [INFO]-[ContextHandler.java:2040] - Initializing Spring root WebApplicationContext
    2017-09-19 19:46:26 [pool-5-thread-1] [INFO]-[DeviceContext.java:76] - Eap Controller isn't prepared to handle event


    2017-09-19 19:46:48 [main] [ERROR]-[ContextLoader.java:331] - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'scheduleController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.ScheduleServi ceI com.tp_link.eap.web.schedule.ScheduleController.sc heduleService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'scheduleService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.impl.TaskMana ger com.tp_link.eap.monitor.task.service.impl.Schedule Service.taskManager; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'taskManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.service.ApServiceI com.tp_link.eap.monitor.task.service.impl.TaskMana ger.apService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption:


    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.ScheduleServi ceI com.tp_link.eap.web.schedule.ScheduleController.sc heduleService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'scheduleService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.impl.TaskMana ger com.tp_link.eap.monitor.task.service.impl.Schedule Service.taskManager; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'taskManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.service.ApServiceI com.tp_link.eap.monitor.task.service.impl.TaskMana ger.apService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apRepository': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms
    at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor$AutowiredFieldElem ent.inject(AutowiredAnnotationBeanPostProcessor.ja va:508)



    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'taskManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.service.ApServiceI com.tp_link.eap.monitor.task.service.impl.TaskMana ger.apService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apRepository': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms
    at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor.postProcessPropert yValues(AutowiredAnnotationBeanPostProcessor.java: 292)


    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apRepository': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms
    at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor.postProcessPropert yValues(AutowiredAnnotationBeanPostProcessor.java: 292)


    Caused by: com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms
    at com.mongodb.BaseCluster.getServer(BaseCluster.java :87)
    at com.mongodb.DBTCPConnector.getServer(DBTCPConnecto r.java:654)
    at com.mongodb.DBTCPConnector.access$300(DBTCPConnect or.java:39)
    at com.mongodb.DBTCPConnector$MyPort.getConnection(DB TCPConnector.java:503)
    at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnect or.java:451)
    at com.mongodb.DBTCPConnector.getPrimaryPort(DBTCPCon nector.java:409)
    at com.mongodb.DBCollectionImpl.createIndex(DBCollect ionImpl.java:337)
    at com.mongodb.DBCollection.createIndex(DBCollection. java:564)


    2017-09-19 19:46:48 [main] [ERROR]-[ContextLoader.java:331] - Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'scheduleController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.ScheduleServi ceI com.tp_link.eap.web.schedule.ScheduleController.sc heduleService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'scheduleService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.impl.TaskMana ger com.tp_link.eap.monitor.task.service.impl.Schedule Service.taskManager; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'taskManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.service.ApServiceI com.tp_link.eap.monitor.task.service.impl.TaskMana ger.apService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apRepository': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms


    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.ScheduleServi ceI com.tp_link.eap.web.schedule.ScheduleController.sc heduleService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'scheduleService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.task.service.impl.TaskMana ger com.tp_link.eap.monitor.task.service.impl.Schedule Service.taskManager; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'taskManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.service.ApServiceI com.tp_link.eap.monitor.task.service.impl.TaskMana ger.apService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apRepository': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms
    at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor$AutowiredFieldElem ent.inject(AutowiredAnnotationBeanPostProcessor.ja va:508)

    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'taskManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.service.ApServiceI com.tp_link.eap.monitor.task.service.impl.TaskMana ger.apService; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private com.tp_link.eap.monitor.monitor.repo.ApRepository com.tp_link.eap.monitor.monitor.service.impl.ApSer vice.apRepo; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'apRepository': Invocation of init method failed; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting for a server that matches AnyServerSelector{} after 4510 ms
    at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor.postProcessPropert yValues(AutowiredAnnotationBeanPostProcessor.java: 292)

    2017-09-19 19:46:51 [pool-5-thread-1] [INFO]-[DeviceContext.java:76] - Eap Controller isn't prepared to handle event


    root@dashboard02:/opt/tplink/EAPController/bin#

  13. #58
    Quote Originally Posted by PeterL. View Post
    Long story short: this is another case of good hardware made useless by bad software.
    I disagree. Instead, it is another case of not Reading The Fine Manual. See EAP Controller User's Guide, page 2:

    The EAP Controller can be running on only one host in a LAN.
    While it's true that the EAP Controller software can be improved in some areas, it has the same RTFM policy as with any other software.

  14. #59
    Quote Originally Posted by Eddie85 View Post
    Init script says it's running but http site drop 503 error, same on port 8043. In server.log there are a lot of exceptions and netstat doesn't see http server
    Which platform do you use? Which version of which distro?

  15. #60

    EAP Software fails on linux

    Hi, It is ubuntu 16.04 , but one important info! when I install it on pure system it works, but when i restart the host , eap software is not able to start manually/automatically. Re-install also did not help


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Copyright © 1996-2017 TP-LINK Technologies Co., Ltd. All rights reserved.