APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > FAQ > Cannot obtain database information on this terminal
Printer Friendly Version




SCO Unix ® FAQ section

Unix (3.2v4.2) and ODT FAQ



This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

I get an error "Cannot obtain database information on this terminal"



This is an ancient post with no relevance to modern systems.

This error can be caused for various reasons. First, determine the cause of the problem and implement a solution. Then install all required SLSes according to the following paragraph, derived from TA 440249.

For SCO UNIX System V/386 Release 3.2 Operating System (the original version) SLS unx223 must be installed prior to installation of SLS unx257. For SCO Open Desktop Release 1.0.0 and 1.0.1, UFE should be installed prior to unx257. For 3.2.2 without Maintenance Supplement 1 and for ODT 1.1 without update G, install unx257 on its own (MS1 and UG both include unx257, and if you have them, you should not install unx257). SCO Unix 3.2v4 and ODT 2.0 have more up-to-date security, and unx257 should not be installed on either. Note that few, if any, of these supplements are available any longer.

The following is from TA 480020.

CAUSE 1: The file /etc/auth/system/ttys has become corrupted. Reboot the system and enter single user (System Maintenance) mode. Edit the file and insert the following line if it does not exist:

tty01:t_devname=tty01:chkent:
 


This file should only contain entries for your terminals (ttyxx - where xx is the tty number). Each entry ends with :chkent:. Remove unwanted lines.

CAUSE 2: After installation of a multiport intelligent serial board the file /etc/auth/system/ttys did not get updated with new entries for each tty port. These entries can be created by taking the following steps:

  1. Run sysadmsh
  2. Select Accounts -> Terminal -> Create
  3. Type in each device name (e.g. tty3h) and then press "<Ctrl>X" to execute. Select "YES" to save modifications.

CAUSE 3: This message can be generated sporadically on a system with a large number of users logging on and off. Check the /etc/auth/system directory for ttys files. If there are multiple files, the extra files must be removed.

When database files such as /etc/auth/system/ttys are updated, a renaming procedure is used to ensure that multiple accesses to the file are managed properly. The contents of the old file (ttys) are copied/updated to create the new -t file (ttys-t). After that is done the old file is moved to a -o file (ttys-o), the new file (ttys-t) is moved to the original name (ttys), and the ttys-o file is deleted.

It is important to verify which of the files is the more complete file. This file is usually the largest, but use vi, cat, or more commands to examine the content of the files for correctness and/or corruption. Once you have determined which file is the most correct, make sure it is renamed to ttys, and remove all others.

It is recommended that you have "OVERRIDE=tty01" in the file /etc/default/login. That way root can always log in on that terminal when in multiuser mode.

NOTE 1: if this error message appears on just one port and no other ports are affected or prevented from logging in, then ckeck to make sure the device has just one link. If the device has more than one link, remove it and recreate it with mknod.

NOTE 2: TCP/IP 1.1.1 has an old /bin/login which can cause this problem. This release of TCP/IP is unsupported.


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


cartoon
Versatile Site Map Generator $59.00
A1 Sitemap Generator

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
g_face.jpg

This post tagged:

       - FAQ
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here