From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97188639803163.tru64-unix-managers.marc@archive.invalid> From: Oyanarte Portilho Date: Wed, 18 Oct 2000 16:25:38 +0000 To: tru64-unix-managers Subject: corrupted database (II) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97188639803163 Hi Gurus, It seems that the remotion of the log file /var/tcb/files/dblogs/log.00006 messed all our system. We are about to reinstall the OS but wondered if there would a way out of this without doing it. Maybe trying to issue checkpoint or somehow turning off C2. Any pointers are welcome. TIA, Oyanarte Portilho Institute of Physics University of Brasilia, Brazil -------- > > Sorry if this is a FAQ. After upgrading to Tru64 5.0a + enhanced > > security, command "w" does not show all logged users correctly. > > Also, "last" shows a bunch of lines like > > > > username ^G Wed Dec 31 21:00 still logged in > > > > as if those users were still logged in since 9 pm of Dec 31. Is this > > a new security feature or what? > > We submitted the problem to this list and got suggestions to recompile > ssh under Tru64 5.0a and remove /etc/wtmp and /etc/utmp, creating new wtmp > and utmp with "touch", since they should be corrupted. I have done so and > further I removed also, maybe inadvertedly, /usr/var/tcb/files/dblogs/log.00006 > in order to save some disk space (while a newer /usr/var/tcb/files/dblogs/log.00007 > was left intact). After rebooting, nobody can login by console, where we > get the message > > "cannot obtain information database information on this terminal" > > The only possible access mode is by ssh1 from other machines (I can do > it as root). If we try to access by telnet (which I have reactivated) we get > > login: log_get: /var/tcb/files/dblogs/log.00006: No such file or directory > > Another symptom is that there are several /usr/sbin/cron processes running, > loading the cpu. > > There is a line in /var/spool/cron/crontabs/root which states to remove > db logs periodically: > > # Start of entries to purge enhanced profile db logs > 0 2 * * 0 /usr/tcb/bin/db_checkpoint -1 -h /var/tcb/files && /usr/tcb/bin/db_archive -a -h /var/tcb/f > iles | /usr/bin/xargs /usr/bin/rm -f > # End of entries to purge enhanced profile db logs > > I do not know if this has something to do with our troubles. How to get out of this mess?