WAS差最后一步就成功了

发布于 2022-07-31 03:58:28 字数 2783 浏览 12 评论 1

OS:REDHAT 9.0
      WAS5.0

好不容易解决了前面诸多的狗屁问题,终于看到安装界面,一路安装下来到还挺顺,安装完毕弹出firststeps的界面,我测试了一把,个个PASS,服务也正常启动了。重启机器,我想从命令行启动看看:
/opt/WebSphere/AppServer/bin/firststeps.sh

结果告诉我

firststeps.sh: line 14:  4016 Segmentation fault      (core dumped) $JAVA_HOME/bin/java -Dwas.home=$WAS_HOME -Dws.ext.dirs=$WAS_EXT_DIRS -classpath $WAS_CLASSPATH com.ibm.ws.bootstrap.WSLauncher com.ibm.websphere.firststeps.LaunchFirstSteps

环境变量不对?那刚才装完后firststeps的界面是怎么出来的?

查看log,(startserver.log)
************ Start Display Current Environment ************
Host Operating System is Linux, version 2.4.20-8smp
Java version = J2RE 1.3.1 IBM build cxia32131-20021107 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = /opt/WebSphere/AppServer
user.install.root = null
Java Home = /opt/WebSphere/AppServer/java/jre
ws.ext.dirs = /opt/WebSphere/AppServer/java/lib:/opt/WebSphere/AppServer/classes:/opt/WebSphere/AppServer/lib:/opt/WebSphere/AppServer/lib/ext:/opt/WebSphere/AppServer/web/help:/opt/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime:/opt/mqm/java/lib:/opt/wemps/lib
Classpath = /opt/WebSphere/AppServer/properties:/opt/WebSphere/AppServer/lib/bootstrap.jar:/opt/WebSphere/AppServer/lib/j2ee.jar:/opt/WebSphere/AppServer/lib/lmproxy.jar
Java Library path = /opt/WebSphere/AppServer/java/jre/bin:/opt/WebSphere/AppServer/java/jre/bin/classic:/opt/WebSphere/AppServer/bin:/opt/mqm/java/lib:/opt/wemps/lib:/opt/WebSphere/AppServer/java/jre/bin:/opt/WebSphere/AppServer/java/jre/bin/classic:/opt/WebSphere/AppServer/java/jre/bin:/opt/WebSphere/AppServer/java/jre/bin/classic:/was/linuxi386/jdk/java/jre/bin:/was/linuxi386/jdk/java/jre/bin/classic:/was/linuxi386/jdk/java/jre/bin:/was/linuxi386/jdk/java/jre/bin/classic::/usr/lib
Current trace specification = *=all=disabled
************* End Display Current Environment *************
[4/30/08 7:00:49:696 CST] 4d46537c ManagerAdmin  I TRAS0017I: The startup trace state is *=all=disabled.
[4/30/08 7:00:49:702 CST] 4d46537c AdminTool     A ADMU3100I: Reading configuration for server: server1
[4/30/08 7:00:52:729 CST] 4d46537c AdminTool     A ADMU3200I: Server launched. Waiting for initialization status.
[4/30/08 7:01:36:239 CST] 4d46537c AdminTool     A ADMU3000I: Server server1 open for e-business; process id is 11479

这个应该就是刚才成功启动时的环境吧,那么我就自己动手吧:
JAVA_HOME  WAS_HOME WAS_EXT_DIRS CLASSPATH JAVA_LIBRARY_PATH 这几个东西全部加到.bash_profile中,

firststeps.sh还是报错。。。。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

暖心男生 2022-08-06 23:24:05

你要用firststep干啥?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文