歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> TSM sch不自動啟動解決

TSM sch不自動啟動解決

日期:2017/3/1 16:32:12   编辑:關於Linux
TSM sch不自動啟動解決 重啟操作系統後,查看/tsm_sch.log文件內容如下,發現提示了不能打開/dsmerror.log文件: www.2cto.com WOLF:/# cat /tsm_sch.log ANS1398E Initialization functions cannot open one of the Tivoli Storage Manager logs or a related file: /dsmerror.log. errno = 13, T he 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.sys SErvername TSMSERVER COMMMethod TCPip TCPPort 1500 TCPServeraddress 192.168.*.22 nodename WOLF passwordaccess generate TCPCLIENTADDRESS 192.168.*.21 WOLF:/# cat /.profile PS1="`hostname`:\$PWD# ";export PS1 set -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/bin export DSM_CONFIG=/usr/tivoli/tsm/client/ba/bin/dsm.opt export 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
Copyright © Linux教程網 All Rights Reserved