TSM sch不自動啟動解決 重啟作業系統後,查看/tsm_sch.log檔案內容如下,發現提示了不能開啟/dsmerror.log檔案: www.2cto.com WOLF:/# cat /tsm_sch.logANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file: /dsmerror.log. errno = 13, The file access permissions do not allow the specified action.分別檢查了/usr/tivoli/tsm/client/ba/bin/dsm.sys和/.profile檔案中關於tsm log存放位置的設定:WOLF:/# cat /usr/tivoli/tsm/client/ba/bin/dsm.sysSErvername TSMSERVER COMMMethod TCPip TCPPort 1500 TCPServeraddress 192.168.*.22 nodename WOLF passwordaccess generate TCPCLIENTADDRESS 192.168.*.21 WOLF:/# cat /.profilePS1="`hostname`:\$PWD# ";export PS1set -o vi########################### command alias##########################alias l='/usr/bin/ls -Fl'alias ls='ls -CF'alias cl='clear'alias dir='ls -CF'alias rm='rm -i'alias h='history'export DSM_DIR=/usr/tivoli/tsm/client/ba/binexport DSM_CONFIG=/usr/tivoli/tsm/client/ba/bin/dsm.optexport DSM_LOG=/tsmfs/log從上面的輸出發現,/.profile檔案設定中將tsm log指向了/tsmfs/log,而/usr/tivoli/tsm/client/ba/bin/dsm.sys中卻沒有指向,預設就到/目錄下了。 修改dsm.sys檔案,增加下面一行,將log檔案指向了/tsmfs/log:WOLF:/# vi /usr/tivoli/tsm/client/ba/bin/dsm.sys增加下面一行 errorlogname /tsmfs/log/dsmerror.log 修改/etc/inittab檔案,恢複到下面設定:tsm::once:/usr/bin/dsmc sched > /dev/null 2>&1重啟aix作業系統後,發現sched進程可以自啟動了:WOLF:# ps -ef|grep dsm root 2490452 1 0 06:31:11 - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmmonitord root 2555982 1 0 06:31:11 - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmscoutd root 4325582 3735720 0 06:51:35 pts/0 0:00 grep dsm root 3015036 3146622 0 06:31:11 - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmrecalld root 1901234 1 0 06:31:11 - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmrootd root 2425776 3146622 0 06:31:11 - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmrecalld root 2556884 1 0 06:31:29 - 0:00 /usr/bin/dsmc sched root 3146622 1 0 06:31:11 - 0:00 /usr/tivoli/tsm/client/hsm/bin/dsmrecalld