Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Feb 2018 20:45:26 +0000
From:      Daniel Bretoi <daniel@bretoi.com>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        "java@freebsd.org" <java@freebsd.org>
Subject:   Re: linux-oracle-jdk18-8.162 - FATAL: kernel too old
Message-ID:  <CAK0G6cmKXWU6uLeO7pNd5703N7m4N8CzKtvJNkNb4V=DAYtE-g@mail.gmail.com>
In-Reply-To: <cfbde691-552d-3272-3c3c-e780fdf12ca2@FreeBSD.org>
References:  <CAK0G6cmqvsyhMU_nwmrzYEU1G3qzeoc=stph=A7Yyafd13HFow@mail.gmail.com> <5d57fd25-88c4-43c9-52c1-acaa26cbee40@FreeBSD.org> <CAK0G6cnfkp3RnNvJ8pGQ1HDSPuuY8Nne2kG%2B2268LcrY=zb5Jw@mail.gmail.com> <f4ad0dd5-9bc0-9ad6-1a73-5266b91a512b@FreeBSD.org> <CAK0G6ck4J25kMA_EohuvnRwgePuYTOsJux4VJXt7Xj_AA3Dx=w@mail.gmail.com> <cfbde691-552d-3272-3c3c-e780fdf12ca2@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ah, must have become unmounted as I unloaded the kernel mods :) Thanks!
everything works now

On Fri, Feb 2, 2018 at 11:54 AM Jung-uk Kim <jkim@freebsd.org> wrote:

> On 02/02/2018 14:02, Daniel Bretoi wrote:
> > Thank you :) Yes it was set to an older version. I had tried asking what
> > the latest was not realizing it would use the latest if I comment it
> > out. I don't remember why I had commented at this point. I commented it
> > out and reloaded all the linux kernel modules (including linproc) and
> > verified that the version is correct with sysctl.
> >
> > Now I get this error instead
> >
> > java -version
> > /usr/local/linux-oracle-jdk1.8.0/bin/java: error while loading shared
> > libraries: libjli.so: cannot open shared object file: No such file or
> > directory
> >
> > they seem to exist:
> >
> > find /usr/local/linux-oracle-jdk1.8.0 | ag libjli
> > /usr/local/linux-oracle-jdk1.8.0/lib/i386/jli/libjli.so
> > /usr/local/linux-oracle-jdk1.8.0/jre/lib/i386/jli/libjli.so
>
> I guess you haven't mounted linprocfs(5).  Please see pkg-message.
>
> Jung-uk Kim
>
> > On Thu, Feb 1, 2018 at 1:51 PM Jung-uk Kim <jkim@freebsd.org
> > <mailto:jkim@freebsd.org>> wrote:
> >
> >     On 02/01/2018 15:41, Daniel Bretoi wrote:
> >     > Thanks for the quick response
> >     >
> >     > $ uname -a
> >     > FreeBSD luffy 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov
> 14
> >     > 06:12:40 UTC 2017
> >     >  root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
> >     amd64
> >     >
> >     > $ sysctl  compat.linux.osrelease
> >     > compat.linux.osrelease: 2.6.18
> >
> >     Ah, current default is 2.6.32.  I guess you're downgrading the
> release
> >     for some reason?  Maybe it's a leftover from old version?  Can you
> check
> >     your /etc/sysctl.conf?
> >
> >     Jung-uk Kim
> >
> >     > On Thu, Feb 1, 2018 at 12:17 PM Jung-uk Kim <jkim@freebsd.org
> >     <mailto:jkim@freebsd.org>
> >     > <mailto:jkim@freebsd.org <mailto:jkim@freebsd.org>>> wrote:
> >     >
> >     >     On 02/01/2018 13:44, Daniel Bretoi wrote:
> >     >     > hi,
> >     >     >
> >     >     > I've reached out on the forums but I've received no response.
> >     >     >
> >     >     > Does anyone on this list know why this the following is
> >     happening?
> >     >     >
> >     >     > $ java -version
> >     >     > FATAL: kernel too old
> >     >
> >     >     I guess your kernel is too old as it says:
> >     >
> >     >     % /usr/local/linux-oracle-jre1.8.0/bin/java -version
> >     >     java version "1.8.0_162"
> >     >     Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
> >     >     Java HotSpot(TM) Server VM (build 25.162-b12, mixed mode)
> >     >
> >     >     What's your FreeBSD version?
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK0G6cmKXWU6uLeO7pNd5703N7m4N8CzKtvJNkNb4V=DAYtE-g>