<> = Standard Procedures = == Loading a new MIB == {{{ cd cvs/pacs/mib/ascii cvs update -d -r PACS_MIB_N_8_12 cp *.dat ~/data/ASCII/mib-pacs/ cp -r synthetic ~/data/ASCII/mib-pacs/ cp -r synthetic ~/data/ASCII cd ~/data/ASCII ./mergeMIB.csh ./loadMIB.csh egrep -i '(warn|err)' ~/Import.log }}} == Correcting the time == If the difference between the ntp server and the hardware clock is too large after boot, the xntp daemon will not correct. To force ntp to update the system time from the ntp server: {{{ ntpdate ntp1.rzg.mpg.de }}} == Restarting the services running on the host pacs-sv (router, gateways...) == === None of the services is running (for example after reboot) === Login as root on host pacs-sv and enter {{{ monit sleep 10 monit stop all cd /var/monit #cp DailyPacketRecorder.log DailyPacketRecorder.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp EventMonitor.log EventMonitor.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` #cp HourlyPacketRecorder.log HourlyPacketRecorder.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp Router.log Router.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp ScosGateway.log ScosGateway.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp TeiGateway.log TeiGateway.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` sleep 6 monit start Router sleep 6 monit start ScosGateway sleep 1 monit start TeiGateway sleep 1 monit start EventMonitor sleep 1 monit start HourlyPacketRecorder sleep 2 monit start DailyPacketRecorder }}} === You want to restart the routing services, this includes restarting the Router === Login as root on host pacs-sv and enter {{{ monit stop all cd /var/monit #cp DailyPacketRecorder.log DailyPacketRecorder.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp EventMonitor.log EventMonitor.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` #cp HourlyPacketRecorder.log HourlyPacketRecorder.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp Router.log Router.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp ScosGateway.log ScosGateway.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S` cp TeiGateway.log TeiGateway.log.`date +\%Y-\%m-\%d-\%H:\%M:\%S`sleep 6 sleep 6 monit start Router sleep 6 monit start ScosGateway sleep 1 monit start TeiGateway sleep 1 monit start EventMonitor sleep 1 monit start HourlyPacketRecorder sleep 2 monit start DailyPacketRecorder }}} === Restarting any services but the Router === Open a WWW browser with the page http://pacs-sv:8888/ and click on one of the service names. You will get a new page with buttons to start/stop/restart the service. == Printing a nice calendar showing also the "days of the year" == {{{ echo -e "\n\n\n\n\n\n\n\n`gcal -jb -b 4 2007`" | a2ps -1 -r -l 178 -B --borders=no -P pir10s }}} = Recovery Procedures = == TestControl server doesn't start up == When the error message is something like '' SEVERE: Setting the application name failed.<
> Very likely there runs already an application with this name!<
> You can set the environment variable TCH_TCL_SERVER to choose a different application name for this server. '' then try the following command using the oper@pacs5 account. {{{ echo "catch {send TCH_TCL_SERVER exit} ; exit" | wish -display irmultia:0 - }}}