logo
社区首页 / 全域数据集成平台 / 问题详情
标题
win10 docker 启动之后一直报错
0
用户头像
楼主:1566446****
主题:2     回复:4     获赞:0 注册日期:2023-08-09

2023-08-09 16:47:48 java.io.IOException: Cannot run program "/sbin/ifconfig": error=2, No such file or directory 2023-08-09 16:47:48 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) 2023-08-09 16:47:48 at java.lang.Runtime.exec(Runtime.java:621) 2023-08-09 16:47:48 at java.lang.Runtime.exec(Runtime.java:486) 2023-08-09 16:47:48 at cn.restcloud.framework.core.util.ComputerInfo.getMacAddressList(ComputerInfo.java:47) 2023-08-09 16:47:48 at cn.restcloud.framework.core.util.ComputerInfo.getMacAddress(ComputerInfo.java:73) 2023-08-09 16:47:48 at cn.restcloud.framework.core.util.CommonUtil.getSystemUUID(CommonUtil.java:356) 2023-08-09 16:47:48 at cn.restcloud.framework.core.util.LogBackUtil.logInfo(LogBackUtil.java:41) 2023-08-09 16:47:48 at cn.restcloud.etl.init.ETLInitProcessState.version(ETLInitProcessState.java:63) 2023-08-09 16:47:48 at cn.restcloud.etl.init.ETLInitProcessState.access$000(ETLInitProcessState.java:19) 2023-08-09 16:47:48 at cn.restcloud.etl.init.ETLInitProcessState$1.run(ETLInitProcessState.java:29) 2023-08-09 16:47:48 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 2023-08-09 16:47:48 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 2023-08-09 16:47:48 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) 2023-08-09 16:47:48 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 2023-08-09 16:47:48 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 2023-08-09 16:47:48 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 2023-08-09 16:47:48 at java.lang.Thread.run(Thread.java:750) 2023-08-09 16:47:48 Caused by: java.io.IOException: error=2, No such file or directory 2023-08-09 16:47:48 at java.lang.UNIXProcess.forkAndExec(Native Method) 2023-08-09 16:47:48 at java.lang.UNIXProcess.<init&gt(UNIXProcess.java:247) 2023-08-09 16:47:48 at java.lang.ProcessImpl.start(ProcessImpl.java:134) 2023-08-09 16:47:48 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) 2023-08-09 16:47:48 ... 16 more 2023-08-09 16:47:49 java.io.IOException: Cannot run program "/sbin/ifconfig": error=2, No such file or directory 2023-08-09 16:47:49 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) 2023-08-09 16:47:49 at java.lang.Runtime.exec(Runtime.java:621) 2023-08-09 16:47:49 at java.lang.Runtime.exec(Runtime.java:486) 2023-08-09 16:47:49 at cn.restcloud.framework.core.util.ComputerInfo.getMacAddressList(ComputerInfo.java:47) 2023-08-09 16:47:49 at cn.restcloud.framework.core.util.ComputerInfo.getMacAddress(ComputerInfo.java:73) 2023-08-09 16:47:49 at cn.restcloud.framework.core.util.CommonUtil.getSystemUUID(CommonUtil.java:356) 2023-08-09 16:47:49 at cn.restcloud.framework.core.context.SystemModulesUtil.checkSystemEndDate(SystemModulesUtil.java:90) 2023-08-09 16:47:49 at cn.restcloud.designer.homepage.DevPortalIndexRest.listModule(DevPortalIndexRest.java:133) 2023-08-09 16:47:49 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2023-08-09 16:47:49 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2023-08-09 16:47:49 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2023-08-09 16:47:49 at java.lang.reflect.Method.invoke(Method.java:498) 2023-08-09 16:47:49 at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:278) 2023-08-09 16:47:49 at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:222) 2023-08-09 16:47:49 at cn.restcloud.framework.core.util.BeanUtil.invokeMethod(BeanUtil.java:37) 2023-08-09 16:47:49 at cn.restcloud.framework.core.container.BeanEngine.call(BeanEngine.java:74) 2023-08-09 16:47:49 at cn.restcloud.framework.dispatcher.ControllerDispatcher.executeControllerBean(ControllerDispatcher.java:222) 2023-08-09 16:47:49 at cn.restcloud.framework.dispatcher.ActionDispatcher.execute(ActionDispatcher.java:211) 2023-08-09 16:47:49 at cn.restcloud.springboot.init.RestCloudServlet.doGet(RestCloudServlet.java:60) 2023-08-09 16:47:49 at javax.servlet.http.HttpServlet.service(HttpServlet.java:670) 2023-08-09 16:47:49 at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) 2023-08-09 16:47:49 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) 2023-08-09 16:47:49 at cn.restcloud.springboot.filter.AppRequestFilter.doFilterInternal(AppRequestFilter.java:30) 2023-08-09 16:47:49 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) 2023-08-09 16:47:49 at cn.restcloud.framework.filters.ServiceFilter.doFilter(ServiceFilter.java:42) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) 2023-08-09 16:47:49 at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:128) 2023-08-09 16:47:49 at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66) 2023-08-09 16:47:49 at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:103) 2023-08-09 16:47:49 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) 2023-08-09 16:47:49 at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:121) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) 2023-08-09 16:47:49 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) 2023-08-09 16:47:49 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) 2023-08-09 16:47:49 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) 2023-08-09 16:47:49 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) 2023-08-09 16:47:49 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) 2023-08-09 16:47:49 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) 2023-08-09 16:47:49 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) 2023-08-09 16:47:49 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 2023-08-09 16:47:49 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) 2023-08-09 16:47:49 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) 2023-08-09 16:47:49 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) 2023-08-09 16:47:49 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) 2023-08-09 16:47:49 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) 2023-08-09 16:47:49 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893) 2023-08-09 16:47:49 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) 2023-08-09 16:47:49 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 2023-08-09 16:47:49 at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) 2023-08-09 16:47:49 at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) 2023-08-09 16:47:49 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2023-08-09 16:47:49 at java.lang.Thread.run(Thread.java:750) 2023-08-09 16:47:49 Caused by: java.io.IOException: error=2, No such file or directory

---------------------------------------------------
签名:
共5回答
0
用户头像
回答者: 李炳强
获赞:13 注册于:2023-04-10 回答于 2023-08-09 17:18:58 #1

可用对照下帮助文档是否遗漏了哪些步骤: https://etlcloud.cn/restcloud/view/page/helpDocument.html?id=641866578b54fa3eb6b45069 可能是少了一些步骤导致无法找到对应文件

---------------------------------------------------
签名:
0
用户头像
回答者: RC_Paul
获赞:8 注册于:2023-06-28 回答于 2023-08-09 17:20:03 #2

图片alt 这个报错可以忽略,查看控制台日志有没有上图的启动成功的日志输出。后续可以参考部署文档中的首页登录地址登录并使用产品。

---------------------------------------------------
签名:
0
用户头像
回答者: 1566446****
获赞:0 注册于:2023-08-09 回答于 2023-08-09 17:43:01 #3

2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt提示:成功启动(读取API监控日志到MongoDB中去)定时任务: Wed Aug 09 16:45:15 CST 2023 定时表达式为: 0/15 * * * * ? 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt提示:成功启动(自动定时重载API中的配置缓存数据)定时任务: Wed Aug 09 16:46:00 CST 2023 定时表达式为: 0 0/1 * * * ? 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt提示:成功启动(定时清除硬盘中的日志文件)定时任务: Wed Aug 09 23:15:00 CST 2023 定时表达式为: 0 15 23 * * ? 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt提示:成功启动(定时启动和同步ETL中的调度流程)定时任务: Wed Aug 09 16:45:30 CST 2023 定时表达式为: 0/30 * * * * ? 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt提示:成功启动(定时重跑ETL流程)定时任务: Wed Aug 09 16:45:30 CST 2023 定时表达式为: 0/30 * * * * ? 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt提示:成功启动(ETL任务调度队列执行器)定时任务: Wed Aug 09 16:45:20 CST 2023 定时表达式为: 0/10 * * * * ? 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt消息:定时任务初始化结束 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt:::::::::::::::::::::::::::::::::::::::::::::::::: 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt:::::::::::::::::::::::::::::::::::::::::::::::::: 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt::欢迎使用RestCloud新一代全域数据集成平台!::::::::::: 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt:::::::::::::::::::::::::::::::::::::::::::::::::: 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gt:::::::::::::::::::::::::::::::::::::::::::::::::: 2023-08-09 16:45:15 ETL01:08/09 16:45:15=&gtInfo:System initialization end... 2023-08-09 16:45:16 ETL01:08/09 16:45:16=&gt创建ETL表的索引结束 2023-08-09 16:45:16 2023-08-09T08:45:16.460+0000: 30.946: [GC (Allocation Failure) 2023-08-09T08:45:16.460+0000: 30.946: [ParNew: 875035K-&gt49122K(943744K), 0.0313566 secs] 967026K-&gt141112K(1992320K), 0.0315054 secs] [Times: user=0.17 sys=0.00, real=0.03 secs]

图片alt

这个错误不影响是吧?我发现首页很多插件或者配置没有,我以为安装出问题了。

---------------------------------------------------
签名:
0
用户头像
回答者: RC_Paul
获赞:8 注册于:2023-06-28 回答于 2023-08-09 17:51:34 #4

是的,不影响,免费的组件可以直接取官网的组件市场下载安装,帮助文档中也有相关的购买安装教程。

---------------------------------------------------
签名:
0
用户头像
回答者: 1566446****
获赞:0 注册于:2023-08-09 回答于 2023-08-09 17:53:01 #5

好的,谢谢

---------------------------------------------------
签名: