【问题标题】:Pentaho Server error: A serious error occurred during job execution: Could not initialize class java.net.NetworkInterfacePentaho Server 错误:作业执行期间发生严重错误:无法初始化类 java.net.NetworkInterface
【发布时间】:2018-04-27 19:16:19
【问题描述】:

我最近在我的一个 aws linux 实例上进行了 yum 更新并重新启动了我的 pentaho 服务器。自重新启动以来已超过 200 天。然后,我尝试运行我现有的 pentaho 作业,并在我的所有作业的 carte.log 文件中出现此错误。

日志摘录:

作业 CIC_AgentActivityLog_job 失败! 状态:已完成(有错误)

工作日志: 2018/04/27 22:36:25 - CIC_AgentActivityLog_job - 错误(版本 6.1.0.1-196,buildguy 从 2016-04-07 12.08.49 构建 1):作业执行期间发生严重错误:无法初始化类 java .net.网络接口 2018/04/27 22:36:25 - CIC_AgentActivityLog_job - 错误(版本 6.1.0.1-196,buildguy 从 2016-04-07 12.08.49 构建 1):java.lang.NoClassDefFoundError:无法初始化类 java.net .网络接口 2018/04/27 22:36:25 - CIC_AgentActivityLog_job - 在 org.pentaho.di.core.Const.getHostname(Const.java:1549) 2018/04/27 22:36:25 - CIC_AgentActivityLog_job - 在 org.pentaho.di.core.KettleEnvironment.setExecutionInformation(KettleEnvironment.java:219) 2018/04/27 22:36:25 - CIC_AgentActivityLog_job - 在 org.pentaho.di.job.Job.execute(Job.java:494) 2018/04/27 22:36:25 - CIC_AgentActivityLog_job - 在 org.pentaho.di.job.Job.run(Job.java:435)}

谁能给点建议?

【问题讨论】:

    标签: pentaho pentaho-spoon pentaho-data-integration


    【解决方案1】:

    我实际上自己解决了这个问题。显然,我首先忽略了 yum 更新期间的错误并发出了“# sudo yum update --skip-broken”命令。我又重温了一遍,并记录了 yum 更新的错误:

    *Error: Package: libstdc++-devel-4.8.3-3.20.amzn1.noarch (@amzn-main)
               Requires: libstdc++48 = 4.8.3
               Removing: libstdc++48-4.8.3-9.111.amzn1.i686 (@amzn-main)
                   libstdc++48 = 4.8.3-9.111.amzn1
               Updated By: libstdc++48-4.8.5-11.135.amzn1.i686 (amzn-main)
                   libstdc++48 = 4.8.5-11.135.amzn1
    Error: Package: libstdc++-devel-4.8.3-3.20.amzn1.noarch (@amzn-main)
               Requires: libstdc++48-devel = 4.8.3
               Removing: libstdc++48-devel-4.8.3-9.111.amzn1.x86_64 (@amzn-main)
                   libstdc++48-devel = 4.8.3-9.111.amzn1
               Obsoleted By: gcc48-c++-4.8.5-11.135.amzn1.x86_64 (amzn-main)
                   libstdc++48-devel = 4.8.5-11.135.amzn1
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest*
    

    然后我发出以下命令:

    sudo yum 删除 libstdc++-devel 须藤百胜更新

    我重新启动了服务器 (AWS Linux) 重新启动了 carte 服务器,一切顺利。埃尔芬

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-09-16
      • 1970-01-01
      • 2012-05-18
      • 2017-03-31
      • 2018-11-12
      • 1970-01-01
      • 2021-05-17
      相关资源
      最近更新 更多