立即注册 登录
About云-梭伦科技 返回首页

sun1的个人空间 https://www.aboutyun.com/?12131 [收藏] [复制] [分享] [RSS]

日志

2015-04-03

已有 894 次阅读2015-4-3 15:22 |个人分类:Linux| linux, weblogic

重启WebLogic应用,使用tail -f yx.log查看日志,发现server启动不了:
<Jul 24, 2014 7:23:03 AM GMT> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/bea/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Jul 24, 2014 7:23:03 AM GMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:415)
        at java.lang.Integer.parseInt(Integer.java:497)
        at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1035)
        at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:212)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace
>
<Jul 24, 2014 7:23:03 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jul 24, 2014 7:23:03 AM GMT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>

如果遇到以上错误,请从以下两个方面入手:
1,查看磁盘空间是否满。
2,如果磁盘空间是OK的,删除/servers/AdminServer/data/ldap/conf/replicas.prop


使用df -h 查看磁盘空间

[root@masterbei79 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              49G   48G     0 100% /
tmpfs                  16G   88K   16G   1% /dev/shm
/dev/sda3             223G  2.4G  209G   2% /temp-hadoop
cm_processes           16G  296K   16G   1% /var/run/cloudera-scm-agent/process

根目录下空间确实使用完。

对磁盘空间进行释放后,
[root@masterbei79 conf]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              49G   21G   25G  46% /
tmpfs                  16G   88K   16G   1% /dev/shm
/dev/sda3             223G  2.4G  209G   2% /temp-hadoop
cm_processes           16G  296K   16G   1% /var/run/cloudera-scm-agent/process

启动WebLogic server,发现日志还是报同样错误,网上还有一个中方法:
要删除ldap/conf中的 replicas.prop 或者将文件清空,添加 这一行 
replica.num=0

尝试了下
root@masterbei79 conf]# pwd
/home/weblogic/bea/user_projects/domains/base_domain/servers/AdminServer/data/ldap/conf
[root@masterbei79 conf]# cat replicas.prop
replica.num=0

在重启WebLogic server  成功:


<Jul 24, 2014 7:55:14 AM GMT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.> 
<Jul 24, 2014 7:55:14 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> 
<Jul 24, 2014 7:55:14 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING> 
<Jul 24, 2014 7:55:14 AM GMT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.200.79:9001 for protocols iiop, t3, ldap, http.> 
<Jul 24, 2014 7:55:14 AM GMT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Production Mode> 
<Jul 24, 2014 7:55:14 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> 
<Jul 24, 2014 7:55:14 AM GMT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

关闭

推荐上一条 /2 下一条