FTP工具引起的一个低级错误的解决过程

问题描述:Aix操作系统,安装的Websphere Application Server 6.1 ND服务起,一共有5个server,将AppSer1进程用kill -9强杀时,会报进程不存在
CREDIT-WF-01(root)/ibm/was_app/WebSphere/AppServer/profiles/AppSrv01/logs/server1> more server1.pid
1126462
CREDIT-WF-01(root)/ibm/was_app/WebSphere/AppServer/profiles/AppSrv01/logs/server1> kill -9 1126462
kill: 1126462: 0403-003 The specified process does not exist.



问题解决:1.去bin目录下执行如下命令,报如下错误:
CREDIT-WF-01(root)/ibm/was_app/WebSphere/AppServer/profiles/AppSrv01/bin> ./startServer.sh server1java.lang.ClassNotFoundException: com.ibm.ws.management.tools.WsServerLauncher
        at java.net.URLClassLoader.findClass(URLClassLoader.java:496)
        at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:132)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
        at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:87)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
        at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:239)


2.初步以为服务器没有加载一些类包,重启WAS也重启不了,于是做操作系统重启工作:
CREDIT-WF-01(root)/ibm/was_app/WebSphere/AppServer/profiles/AppSrv01/bin> shutdown -Fr

SHUTDOWN PROGRAM
Wed Jul 28 16:39:18 BEIST 2010
Wait for 'Rebooting...' before stopping.
Error logging stopped...
awk: No space left on device
Advanced Accounting has stopped...
Process accounting stopped...
awk: No space left on device
sed: No space left on device
Stopping NFS/NIS Daemons
0513-004 The Subsystem or Group, nfsd, is currently inoperative.
0513-044 The biod Subsystem was requested to stop.
0513-044 The rpc.lockd Subsystem was requested to stop.
0513-044 The rpc.statd Subsystem was requested to stop.
0513-004 The Subsystem or Group, gssd, is currently inoperative.
0513-004 The Subsystem or Group, nfsrgyd, is currently inoperative.
0513-004 The Subsystem or Group, rpc.mountd, is currently inoperative.
0513-004 The Subsystem or Group, ypserv, is currently inoperative.
0513-004 The Subsystem or Group, ypbind, is currently inoperative.
0513-004 The Subsystem or Group, yppasswdd, is currently inoperative.
0513-004 The Subsystem or Group, ypupdated, is currently inoperative.
All processes currently running will now be killed...
sed: No space left on device
Unmounting the file systems...



3.系统重启后,启动WAS时仍报同样的错误:java.lang.ClassNotFoundException: com.ibm.ws.management.tools.WsServerLauncher

查看AppSrv下的logs/server1下的日志,发现native_stderr.log日志914M,打开看,基本类似这样的异常记录:

class load: com.ibm.ws.management.event.NotificationService from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.RemoteSender from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.PullRemoteSender from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.AbstractPushRemoteSender from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.PushRemoteSender from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.exception.ReceiverNotFoundException from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.DownstreamServerManager from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.PushNotificationListener from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.DownstreamServerManager$ThreadManager from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.event.DownstreamServerManager$QueueConsumerThread from: file:/ibm/was_app/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar
class load: com.ibm.ws.management.discovery.ServerInfo from: file:/ibm/was_app/WebSphere


4.显然是加载/ibm/was_app/WebSphere/AppServer/plugins是目录下的jar文件出错,于是登录到该目录下,发现竟然没有在AppServer下竟然没有plugins,
依次查看路径,发现profiles下有一个plugins文件夹比较怪异,于是用mv -r * ../../plugins将其挪至AppServer下,再次启动WAS,OK。

O(∩_∩)O~, 不知是哪个衰人错误操作,将路径plugins文件夹挪了一下,让我折腾了这么长时间,获取到了这么多经验。


你可能感兴趣的:(.net,IBM,AIX,websphere)