-
Notifications
You must be signed in to change notification settings - Fork 5
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
tncc_preload not working #5
Comments
I see the same. I'm trying to get TNCC to work with openconnect. Sent start; waiting for response from TNCC tncc_preload[18509]: fd_grab(0) tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/jvm.cfg, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/server/libjvm.so, stat_buf) tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/libverify.so, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/libjava.so, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: __xstat(filename=.hotspotrc, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/xawt/libmawt.so, stat_buf) tncc_preload[18509]: sigaction(sig=12) tncc_preload[18509]: sigaction(sig=1) tncc_preload[18509]: sigaction(sig=2) tncc_preload[18509]: sigaction(sig=15) tncc_preload[18509]: sigaction(sig=11) tncc_preload[18509]: sigaction(sig=11) tncc_preload[18509]: sigaction(sig=13) tncc_preload[18509]: sigaction(sig=13) tncc_preload[18509]: sigaction(sig=7) tncc_preload[18509]: sigaction(sig=7) tncc_preload[18509]: sigaction(sig=4) tncc_preload[18509]: sigaction(sig=4) tncc_preload[18509]: sigaction(sig=8) tncc_preload[18509]: sigaction(sig=8) tncc_preload[18509]: sigaction(sig=25) tncc_preload[18509]: sigaction(sig=25) tncc_preload[18509]: fopen(filename=/proc/self/maps, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: fopen(filename=/etc/passwd, modes=rme) tncc_preload[18509]: fclose tncc_preload[18509]: open(file=/tmp/hsperfdata_root, oflag=131072) = 4 tncc_preload[18509]: __fxstat(4) = 0 tncc_preload[18509]: __fxstat(4) = 0 tncc_preload[18509]: __fxstat(5) = 0 tncc_preload[18509]: close(4) tncc_preload[18509]: open(file=., oflag=0) = 4 tncc_preload[18509]: close(4) tncc_preload[18509]: mkdir(path=/tmp/hsperfdata_root, mode=00755) tncc_preload[18509]: open(file=/tmp/hsperfdata_root, oflag=131072) = 4 tncc_preload[18509]: __fxstat(4) = 0 tncc_preload[18509]: __fxstat(4) = 0 tncc_preload[18509]: __fxstat(5) = 0 tncc_preload[18509]: close(4) tncc_preload[18509]: open(file=., oflag=0) = 4 tncc_preload[18509]: open(file=18509, oflag=131138, mode=0600) = 6 tncc_preload[18509]: close(4) tncc_preload[18509]: __fxstat(6) = 0 tncc_preload[18509]: close(6) tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/libzip.so, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/resources.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/rt.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/sunrsasign.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/jsse.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/jce.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/charsets.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/jfr.jar, stat_buf) tncc_preload[18509]: __xstat(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/classes, stat_buf) tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/meta-index, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: __xstat(filename=.hotspot_compiler, stat_buf) tncc_preload[18509]: fopen(filename=/etc/passwd, modes=rme) tncc_preload[18509]: fclose tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/libzip.so, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: sigaction(sig=1) tncc_preload[18509]: sigaction(sig=1) tncc_preload[18509]: sigaction(sig=2) tncc_preload[18509]: sigaction(sig=2) tncc_preload[18509]: sigaction(sig=15) tncc_preload[18509]: sigaction(sig=15) tncc_preload[18509]: close(5) tncc_preload[18509]: sigaction(sig=3) tncc_preload[18509]: close(6) tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/libsunec.so, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: fopen(filename=/opt/oracle-jdk-bin-1.7.0.80/jre/lib/amd64/libnet.so, modes=r) tncc_preload[18509]: fclose tncc_preload[18509]: sigaction(sig=62) tncc_preload[18509]: tncc_socket tncc_preload[18509]: socket(domain=10, type=1, protocol=0) = -1 tncc_preload[18509]: fopen(filename=/proc/net/ipv6_route, modes=r) tncc_preload[18509]: fopen(filename=/proc/net/if_inet6, modes=r) tncc_preload[18509]: close(14) tncc_preload[18509]: tncc_socket tncc_preload[18509]: socket(domain=2, type=1, protocol=0) = 14 tncc_preload[18509]: tncc_bind tncc_preload[18509]: bind(fd=14) = 0 tncc_preload[18509]: tncc_listen tncc_preload[18509]: listen(fd=14) = 0 tncc_preload[18509]: close(15) socket opened tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 558 tncc_preload[18509]: send(fd=15) = 558 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: close(16) ^C Failed to read response from TNCC Failed to obtain WebVPN cookie tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 0 tncc_preload[18509]: send(fd=15) = 0 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: close(16) tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 0 tncc_preload[18509]: send(fd=15) = 0 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: close(16) tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 0 tncc_preload[18509]: send(fd=15) = 0 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: close(16) tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 0 tncc_preload[18509]: send(fd=15) = 0 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: close(16) tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 0 tncc_preload[18509]: send(fd=15) = 0 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: close(16) tncc_preload[18509]: tncc_accept(14, ..., 16) tncc_preload[18509]: tncc_accept: AF_INET tncc_preload[18509]: recv(fd=14) = 0 tncc_preload[18509]: send(fd=15) = 0 tncc_preload[18509]: fd_grab(16) tncc_preload[18509]: accept(fd=14) = 16 tncc_preload[18509]: unlink(/tmp/hsperfdata_root/18509) |
Yep, I compiled with debug enabled as well and saw the same messages but couldn't put a finger on the problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For some reason, running
tncc.jar
withtncc_preload.so
isn't working for me. The wrapper script just blocks while trying to read from the socket and never receives anything.I cam up with a workaround to make it work by running
tncc.jar
without the preload and opening a socket to the port loaded in~/.juniper_networks/narport.txt
but this only works if I run the script as root.How can I properly debug this and try to find out what's happening exactly?
I'm using Oracle Java 8 x64.
The text was updated successfully, but these errors were encountered: