Originally posted by Henry Bauer
keybuild rlog; dchain rlog keybuild elog; dchain elog
Originally posted by John Vano
keybuild rlog; dchain rlogkeybuild elog; dchain elog
#!/usr/bin/ksh# here are some other usefule database commands#----------------------------------------------## lmclear -u TEST -mp (if the user locks the database by doing ctrl-c during a hcidbdump -r## lmclear -s -mp (that gives you a list of active database users)## hcilmclear -p ris (if the ris process hangs the database)## from clovertech post: http://clovertech.infor.com/viewtopic.php?t=3783## Another handy flag is U (username)## hcidbdump -r -D -U MIKE## This way if you do control-c, you don't hose the engine's TEST user name.# If you control-c with user MIKE on accident, then use user JANE next time.# Ah Michael: you made my day!!# I now use this -U option to use a different user and also lmclear this user first when running the script.# Works like a charm. Fro example:## lmclear -u RUSS -mp# hcidbdump -r -U RUSS# ctrl-c or whatever# lmclear -u RUSS -mpif [[ -d $HCISITEDIR/exec/databases ]]; then cd $HCISITEDIR/exec/databases hcisitectl -k l rm -f *.log rm -f lm_* rm -f vista.taf rm -f rdm.taf rm -f mid.ctr hcidbinit -ACi keybuild rlog; dchain rlog keybuild elog; dchain elogfi
Originally posted by bill bearden
Originally posted by glen goldsmith