Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sco OpenServer 5.06 can't find terminal control database entry for lin

Status
Not open for further replies.

FLAdmin

MIS
Mar 6, 2006
33
US
I came in today. some host file entries seemed missing. automated email's arent going out wich are critical... (I'm not sure if its cron that handles that and how to view scheduled items either)

also the following errors:

Mar 8 15:37:30 sco telnetd[13554]: can't find terminal control database entry for line ttyp46
Mar 8 15:38:51 sco telnetd[13597]: can't find terminal control database entry for line ttyp47
Mar 8 15:43:48 sco telnetd[12961]: can't find terminal control database entry for line ttyp38
Mar 8 15:46:57 sco telnetd[13512]: can't find terminal control database entry for line ttyp43
 
Ran adm and fixmog

this stuff is left over in the report.. what can i do?

/etc/passwd.local (entry 101) is missing.
/etc/shadow (/var/opt/K/SCO/Unix/5.0.6Ga/etc/shadow) (entry 105) is a symbolic link to a missing file.
/tcb/files/audit/audit_dmninfo (entry 144) is missing.
/tcb/lib/execbprg (entry 228) is missing.
/usr/lib/cron/at.allow (entry 263) is missing.
/usr/lib/cron/cron.allow (entry 265) is missing.
/usr/lib/dumpolp (entry 281) is missing.
/usr/lib/nls/english (entry 302) is missing.
/usr/lib/nls/english/unixos (entry 303) is missing.
/usr/lib/nls/english/unixos/df.cat (entry 304) is missing.
/usr/lib/nls/english/unixos/id.cat (entry 305) is missing.
/usr/lib/nls/english/unixos/prot.cat (entry 306) is missing.
/usr/lib/nls/english/unixos/mesg.cat (entry 307) is missing.
/usr/lib/nls/english/unixos/newgrp.cat (entry 308) is missing.
/usr/lib/nls/english/unixos/ps.cat (entry 309) is missing.
/usr/lib/nls/english/unixos/write.cat (entry 310) is missing.
/usr/lib/sysadm/authsh (entry 314) is missing.
/usr/lib/sysadm/backupsh (entry 315) is missing.
/usr/lib/sysadm/lpsh (entry 316) is missing.
 
You can review the CRON entries here:
/usr/spool/cron/crontabs
Do a "man crontab" to get the layout.
"Fixmog" is sometimes evil. Try /tcb/bin/integrity -e first. This just lists the discrepencies. You can fix them manually as needed.

I have no idea why you would be missing entries in /etc/hosts. That's not typically a dynamic file.

The automated Emails might be coming from Unform (it has that feature using "mailcall") or elsewhere in your application.
 
It uses a preset list of file and directory parameters (permissions, ownership, links, etc) and tries to apply that to a system which may have been modified. It may have been fixed by the time we got to 5.0.6, but in earlier versions, it would resolve discrepencies without notice.
An example would be if your /etc/shadow had become unlinked to the source file, then modified over the months/years, fixmog would relink that to the original, which may be quite out of date.
I recall another event where the LP Spooler had been modified to support Remote Printing (which changes several LP programs, moves others, etc.). Fixmog tried to put it back, with bad results.
The /tcb/bin/integrity process will just present the discrepencies. You can resolve those which are truly important yourself. It gives you all the information needed. Knowing which to resolve, and which are OK to be "wrong" takes experience. So, "fixmog" is the other option.

I might be out of date myself. Once burned, forever shy.
 
Please let me know if any of this seems out of place.

First time I ran integrity:

/etc/auth/system/int.report (wildcard entry 66) is wrong.
Owner is root, should be auth.
Group is sys, should be auth.
Mode is 0666, should be 0664.
/etc/default/inet (wildcard entry 79) is wrong.
Owner is root, should be bin.
Group is sys, should be bin.
Mode is 0666, should be 0644.
/etc/default/tcp (wildcard entry 79) is wrong.
Owner is root, should be bin.
Group is sys, should be bin.
Mode is 0666, should be 0644.
/etc/passwd.local (entry 101) is missing.
/etc/shadow (/var/opt/K/SCO/Unix/5.0.6Ga/etc/shadow) (entry 105) is a symbolic link to a missing file.
/tcb/files/audit/audit_dmninfo (entry 144) is missing.
/tcb/lib/execbprg (entry 228) is missing.
/usr/lib/cron/at.allow (entry 263) is missing.
/usr/lib/cron/cron.allow (entry 265) is missing.
/usr/lib/dumpolp (entry 281) is missing.
/usr/lib/nls/english (entry 302) is missing.
/usr/lib/nls/english/unixos (entry 303) is missing.
/usr/lib/nls/english/unixos/df.cat (entry 304) is missing.
/usr/lib/nls/english/unixos/id.cat (entry 305) is missing.
/usr/lib/nls/english/unixos/prot.cat (entry 306) is missing.
/usr/lib/nls/english/unixos/mesg.cat (entry 307) is missing.
/usr/lib/nls/english/unixos/newgrp.cat (entry 308) is missing.
/usr/lib/nls/english/unixos/ps.cat (entry 309) is missing.
/usr/lib/nls/english/unixos/write.cat (entry 310) is missing.
/usr/lib/sysadm/authsh (entry 314) is missing.
/usr/lib/sysadm/backupsh (entry 315) is missing.
/usr/lib/sysadm/lpsh (entry 316) is missing.

Then I ran Fixmog and ran this report after to compare/see changes:

/etc/passwd.local (entry 101) is missing.
/etc/shadow (/var/opt/K/SCO/Unix/5.0.6Ga/etc/shadow) (entry 105) is a symbolic link to a missing file.
/tcb/files/audit/audit_dmninfo (entry 144) is missing.
/tcb/lib/execbprg (entry 228) is missing.
/usr/lib/cron/at.allow (entry 263) is missing.
/usr/lib/cron/cron.allow (entry 265) is missing.
/usr/lib/dumpolp (entry 281) is missing.
/usr/lib/nls/english (entry 302) is missing.
/usr/lib/nls/english/unixos (entry 303) is missing.
/usr/lib/nls/english/unixos/df.cat (entry 304) is missing.
/usr/lib/nls/english/unixos/id.cat (entry 305) is missing.
/usr/lib/nls/english/unixos/prot.cat (entry 306) is missing.
/usr/lib/nls/english/unixos/mesg.cat (entry 307) is missing.
/usr/lib/nls/english/unixos/newgrp.cat (entry 308) is missing.
/usr/lib/nls/english/unixos/ps.cat (entry 309) is missing.
/usr/lib/nls/english/unixos/write.cat (entry 310) is missing.
/usr/lib/sysadm/authsh (entry 314) is missing.
/usr/lib/sysadm/backupsh (entry 315) is missing.
/usr/lib/sysadm/lpsh (entry 316) is missing.

After that, I was able to rebuild the terminal control database (i think thats what it was called):

Using the Following:

cd /etc/auth/system
mv ttys /tmp/ttys.bad
(if you just copy it, you need to manually remove ttys)
touch /etc/auth/system/ttys
chown auth:auth /etc/auth/system/ttys
/tcb/bin/ttyupd
/tcb/bin/ale /etc/auth/system/ttys pttyupd

The first time it failed and told me to run integrity. After i did and fixmog then the commands above ran ok.

However those missing entries still left in the report, I have no idea really what that means to my system. It seems to be running ok, but i would feel better knowing that either its okay or i have to do something.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top