Published at: 05:06 pm - Friday June 04 2010
#!/bin/bash # 配置 # TODO 将配置信息保存在外部文件中以方便产生不同目标的导出。 START=9981 END=10054 VER=eom BUILD=v1 OUTPUT_PATH=builds/$VER/$BUILD/files/ # 清理 if [ -d "$OUTPUT_PATH" ]; then rm -rf $OUTPUT_PATH fi # 得到更改过的文件数量和文件名列表 # svn diff –summarize 返回"Status \t Filename" COUNT=`svn diff –summarize -r $START:$END | wc -l` Diff=`svn diff –summarize -r $START:$END` until [ $COUNT -lt "1" ] do # echo "$Diff" [...]
Published at: 06:05 pm - Monday May 03 2010
使用db2cc命令启动db2 control center时出现 – Error: Can’t connect to X11 window server using ’0.0′ as the value of the DISPLAY 解决方法: 12- su root – xhost + 关于xhost: http://linux.about.com/library/cmd/blcmdl_xhost.htm 使用control center操控数据库时抛出SQL4414N错误 解决方法: 12- su dasusr1 – db2admin start 在用db2move导出数据库时出现如下的错误 Application code page not determined, using ANSI codepage 1208 Error opening list file. Terminating … **Error occured [...]