Closed adg-adg closed 8 years ago
Does this issue help?
The distro is fully updated as far as I know, so can't simply update nss. Already fully reinstall openjdk-8 to oracle-java8 to no effect. This has been going on for weeks, but I took a break from trying to fix it. What are some dependencies I should check or reinstall and what could be a possible culprit. This whole issue is very perplexing since I have basically not done any work with clojure as of yet. It might be important to add that I have installed an Intellij plugin Cursive for clojure development, but have not done anything other than get lost, possibly due to it not working because leiningen isn't working. Please help with anything, really want to get this sorted out.
Trying to reproduce. So far, openjdk-8-jdk-headless seems to work fine:
root@ubuntu-xenial:/home/ubuntu# uname -a
Linux ubuntu-xenial 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu-xenial:/home/ubuntu# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
root@ubuntu-xenial:/home/ubuntu# java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
Also with Oracle's JDK
ubuntu@ubuntu-xenial:~$ /opt/java/bin/java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
ubuntu@ubuntu-xenial:~$ JAVA_CMD=/opt/java/bin/java ./lein repl
nREPL server started on port 37803 on host 127.0.0.1 - nrepl://127.0.0.1:37803
Well it seems identical in that case. What could be an issue at stake here?
axg@isidio:~/bin$ uname -a Linux isidio 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
and my java version is the same as the one you test. I really appreciate the effort. What could be a possible issue with this? My current Ubuntu install was upgraded from 15.10 to 16.04, maybe there is some discrepancy there. What else could I check, or is my only option reinstalling Ubuntu due to some hidden bug?
This continue to be the print out: http://pastebin.com/E0QttXVN
a) are you behind a proxy?
b) can you try curl -v https://repo1.maven.org/maven2/
c) can you try LEIN_JAVA_OPTS="-Djavax.net.debug=SSL" lein repl
Maybe dpkg-reconfigue ca-certificates
also helps.
I've had issues with this on ubuntu before, sometimes the certificates aren't properly setup.
sudo update-ca-certificates -f
seems to usually resolve the issue.
curl -v https://repo1.maven.org/maven2/
LEIN_JAVA_OPTS="-Djavax.net.debug=SSL" lein repl
dpkg-reconfigure ca-certificates
sudo update-ca-certificates -f
I have no idea what could be causing this anymore. These commands seemed to execute properly but the issue remains. This is what I continue to get when running a simple lein repl
(it hangs on that last line and I terminate with C-c
:
Ended up doing a clean reinstall of the system. Thankfully everything is easy and understandable to setup with my linux setup. No problems this time around. Thanks for all the help in trying to find a possible culprit.
Thanks for being patient :) If you end up with this issue again, feel free to reopen.
Had the same issue, using Ubuntu 15.10, Java 1.8 and 4.2.0-42, fixed it by updating the certs with "sudo update-ca-certificates -f". Thanks for the tip.
Same issue on my Calculate Linux (Gentoo)
Maybe
dpkg-reconfigue ca-certificates
also helps.
thx
Have reinstalled java and re downloaded the script a number of times. A very annoying problem keeping me from working with Clojure. Only downloaded the script and enabled it for running. Ubuntu 16.04 Running java -version:
java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
lein -version:
Leiningen 2.6.1 on Java 1.8.0_91 Java HotSpot(TM) 64-Bit Server VM