
1 cslive 2021-04-19 08:43:50 +08:00 java 没装吧,下个 jdk 配置一下 |
2 youngjevon OP @cslive java 已经安装了,奇怪就奇怪在物理机和虚拟机都全新安装,虚拟机没问题,物理机有问题。 |
3 LaoK666 2021-04-19 08:59:26 +08:00 对比下二者的环境变量看下 |
4 CEBBCAT 2021-04-19 09:11:42 +08:00 via Android 架构一样吗?包括指令位数 |
5 youngjevon OP @CEBBCAT 是 cpu 指令集吗? |
6 LostPrayers 2021-04-19 10:01:03 +08:00 alternatives --config java 输入这个看下两边的路径和版本都是一样的吗,是不是有一边源不一样安装了不同版本? |
7 CEBBCAT 2021-04-19 10:01:28 +08:00 via Android @youngjevon 比如说是不是都是 64 位这样 |
8 doyel 2021-04-19 10:10:17 +08:00 |
9 youngjevon OP @CEBBCAT 刚刚发现,在根目录下安装就没问题,不晓得是不是 xfs 文件系统大于 2t 后出的问题 |
10 barathrum 2021-04-19 12:35:16 +08:00 @youngjevon 这不可能是文件系统的问题,附言具有误导性。 |
11 youngjevon OP @barathrum 把 home 目录更换为 ext4 后就真的解决了,具体深层次的原因我也不懂,希望懂的大佬分享一样吧。 |
12 youngjevon OP @barathrum 在这以前我物理机和虚拟机都重装过几次,物理机就是要报错。但今天发现如果我把文件拷贝到根目录下安装就不会报错,根目录也是 xfs 分区,和 home 目录的区别是,分区格式都是 xfs,唯一不同就是 home 目录大于 2T |
13 ZeroYe 2021-04-19 16:28:26 +08:00 via Android @youngjevon 软件内置的 java 环境太旧问题,不支持 2TB 以上的 XFS 文件系统,eda 工具尽量用 ext4 文件系统。大部分的 eda 工具的官方支持的系统是 redhat6 。 |
14 youngjevon OP @ZeroYe 其实我上周五 google 的时候就看见一篇类似的文章,没一起重视,折腾了两天。 |
15 zlowly 2021-04-20 16:16:54 +08:00 可能类似是这个原因吧,文件系统的 inode 数大于 2^32: Doc ID 761566.1 & 1330701.1 Errors on XFS file system for large disks mounted with 64-bit inode (inode64) option The use of the XFS file system, the default local filesystem on Oracle Linux/RHEL 7, for larger disks (greater than around 1TB) with the inode64 mount option may result in errors when using EBS such as: Preparing to launch Oracle Universal Installer from.. Please wait …Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object This is due to the use of 32-bit executables in EBS which can result in the accessing of inode numbers on the file system that are greater than the 2^32 limit of the 32-bit userspace. It is recommended to use the 32-bit inode option (the default for XFS) or other local filesystems such as ext4 if this problem is encountered. |