STAF 21错误

来源:互联网 发布:淘宝商城冬季女鞋 编辑:程序博客网 时间:2024/06/16 06:21

1,

Go to the /tmp directory, and delete the temporary files that STAF created for the instance of STAFProc that you're trying to start. You'll need to be logged on as a user that has permission to remove these files. The temporary STAF files are named:

  • XXXX.tmp
  • DataDir_*XXXX.tmp
  • STAFIPC_XXXX
  • All files beginning with STAFIPC_XXXXJSTAF. Note that there could be one of these files for each STAF JVM that was created when registering STAF Java services.
2,
Also, type ps or ps -ea and determine if there are any processes that STAF started which are still running or any java executables that STAF started for it's Java services. If there are any, you'll need to stop these processes in order to restart STAFProc. You can do this by typing kill xxx where xxx is the PID for the process.


3,

Restart STAFProc


总而言之,意思就是说你需要在跑完一轮staf操作之后来个 STAF local SHUTDOWN SHUTDOWN 这个命令,要及时把后台关掉,

然后给你支了三个招儿:一, 清理STAF在/tmp下面的临时文件;二, 直接找到staf的进程,杀掉;三,重启serveice

分别试了一和儿这两个办法,还是二最好用,直接找到pid,kill之。