• 发帖数4
  • 粉丝0

此人很懒,什么也没有留下

    [报错信息处理] mac版server不能正常启动

    yhdata_FrYZR0qq青铜一 来自手机 显示全部楼层 发表于 2022-1-15 16:01:01 |阅读模式 打印 上一主题 下一主题
    1
    未解决
    $ /Applications/YonghongZ-Suite/tomcat/bin/startup.command ; exit;
    Password:
    Using CATALINA_BASE:   /Applications/YonghongZ-Suite/tomcat
    Using CATALINA_HOME:   /Applications/YonghongZ-Suite/tomcat
    Using CATALINA_TMPDIR: /Applications/YonghongZ-Suite/tomcat/temp
    Using JRE_HOME:        /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home
    Using CLASSPATH:       :/Applications/YonghongZ-Suite/tomcat/webapps/bi/WEB-INF/classes:/Applications/YonghongZ-Suite/tomcat/../Yonghong/product/api.jar:/Applications/YonghongZ-Suite/tomcat/../Yonghong/product/product.jar:/Applications/YonghongZ-Suite/tomcat/../Yonghong/product/thirds.jar:/Applications/YonghongZ-Suite/tomcat/../Yonghong/lib/mongo-java-driver-3.11.0.jar:/Applications/YonghongZ-Suite/tomcat/lib/servlet-api.jar:/Applications/YonghongZ-Suite/tomcat/bin/bootstrap.jar:/Applications/YonghongZ-Suite/tomcat/bin/tomcat-juli.jar
    Using CATALINA_OPTS:   -Xmx1024m -Xms1024m  -XX:MetaspaceSize=256m -XX:G1HeapRegionSize=32m -XX:InitiatingHeapOccupancyPercent=35 -XX:G1ReservePercent=15 -XX:ConcGCThreads=10 -XX:ParallelGCThreads=10 -XX:+ParallelRefProcEnabled -XX:SoftRefLRUPolicyMSPerMB=0  -Xlog:gc*:file=/Applications/YonghongZ-Suite/tomcat/../Yonghong/log/jvm.log:time:filecount=16 -Djava.awt.headless=true --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED -XX:OnError='/Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home/bin/jstack %p >/Applications/YonghongZ-Suite/tomcat/logs/thread_stack_%p.log' -XX:ErrorFile=/Applications/YonghongZ-Suite/tomcat/logs/hs_err_%p.log -XX:OnOutOfMemoryError='/Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home/bin/jmap -dump:format=b,file=/Applications/YonghongZ-Suite/tomcat/logs/jmap_%p.log %p' -XX:+ExitOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow
    Tomcat started.
    logout
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.

    [进程已完成]
    回复

    使用道具 举报

    精彩评论8

    Fiona 显示全部楼层 发表于 2022-1-15 17:15:50
    cd到tomcat/bin这个目录下 运行catalina.sh run 命令,把报错发出来看看
    一般可能由以下几点导致:
    1. jdk不是jdk1.9以上
    2. tomcat启动或停止端口被占用
    3. 防火墙问题
    4. 使用内存不够
    回复

    使用道具 举报

    yhdata_FrYZR0qq青铜一 来自手机 显示全部楼层 发表于 2022-1-15 19:58:50
    提示报错信息
    mmexport1642247834567.jpg
    回复

    使用道具 举报

    Fiona 显示全部楼层 发表于 2022-1-15 20:17:35

    这是你启动永洪闪退了。不是错误内容。
    进入cmd,切到永洪安装目录/tomcat/bin下,运行catalina.sh run 命令,看看错误
    回复

    使用道具 举报

    yhdata_FrYZR0qq青铜一 显示全部楼层 发表于 2022-1-15 21:09:33
    麻烦帮忙看下

    报错.txt.zip

    41.72 KB, 下载次数: 3

    回复

    使用道具 举报

    Fiona 显示全部楼层 发表于 2022-1-15 22:03:48
    本帖最后由 Fiona 于 2022-1-15 22:05 编辑

    1. java.io.FileNotFoundException: /Applications/YonghongZ-Suite/tomcat/logs/catalina.2022-01-15.log (Permission denied)
    参考:https://zhuanlan.zhihu.com/p/95148639
    2. Address already in use
    看看是否起了多个永洪Server,如果有关闭掉,https://jingyan.baidu.com/article/d169e18641c841026611d8e0.html
    如果没有,那就是永洪使用的端口被占用了,修改Yonghong\tomcat\conf下server.xml文件的启动和停止端口。
    3. Unsupported product type found: xv
    是什么版本,用的什么license,license发出来看看。
    回复

    使用道具 举报

    yhdata_FrYZR0qq青铜一 显示全部楼层 发表于 2022-1-16 10:53:32
    本帖最后由 yhdata_FrYZR0qq 于 2022-1-16 10:58 编辑

    这个报错怎么修改
    ./catalina.sh: line 423: /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/bin/java: No such file or directory
    ./catalina.sh: line 423: exec: /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/bin/java: cannot execute: No such file or directoryjdk目录:

    jdk安装路径

    jdk安装路径


    回复

    使用道具 举报

    Fiona 显示全部楼层 发表于 2022-1-16 11:34:08
    看着是你以下目录没带上?
    微信截图_20220116113341.png
    回复

    使用道具 举报

    yhdata_0rDnf7Ex白银一 显示全部楼层 发表于 2022-1-16 12:29:29
    yhdata_FrYZR0qq 发表于 2022-1-16 10:53
    这个报错怎么修改
    ./catalina.sh: line 423: /Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/bin/java ...

    查看下路径问题呢?
    回复

    使用道具 举报

    高级模式
    您需要登录后才可以回帖 登录 | 免费注册

    • 官方微信

      欢迎关注永洪服务号!收费为0,价值无限

      扫码关注
    • 新浪微博

      让每位用户轻松挖掘数据价值!

      访问新浪微博
    • 智能客服
    50W

    会员等你来哦

    Copyright   ©2012-2024  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |联系社区管理员|《永洪社区协议》
    返回顶部