Common User Problems and Solutions

Abnormal Termination

User turns off the terminal/PC without logging off, or the user presses the BREAK key and enters the debugger.

Solution

Depending on what the user was doing, you might want to solve the problem using one of the following methods:

See System Debugger for instructions on different ways to get out of the debugger.

If you are not sure what to do, call your local support representative for help.

Need to Add Space to an Existing Database

Use

mkdbase - N database-name -A numfiles

or

mkdbase -N database-name -a 

See mkdbase Command Line Interface for details.

Terminal Related Problems

Incorrect Terminal Operation (UNIX)

If a terminal, connected to a UNIX machine, seems to be working improperly, carry out the following and adjust as necessary:

  1. Check the terminal configuration to ensure it has not been inadvertently modified.
  2. Check that the terminal type is set correctly.

No Keystroke Echo

If keystrokes typed on your keyboard are not displayed on the screen, the solution may be one of the following:

Keyboard Inoperative

If a keyboard stops working, check that the it is plugged in properly and that CTRL+S or HOLD (or on some terminal types CTRL+F5) have not been pressed (see No Keystroke Echo above). If necessary attach a different keyboard to the terminal and call your local support representative.

Terminal Inoperative

If a terminal stops working, and you do not have a keyboard problem, ensure that the monitor is switched on and the brightness has not been turned down. Try swapping terminals to determine whether the terminal or the line causes the problem. Then call your local support representative.

Tape Errors

Parity Errors on Tape

If you are getting parity errors on your tape drive, carry out the steps below until the problem is resolved:

Cannot Attach to Tape Image Device

If, when you attach a tape image device, you receive the message:

RmiAssign: <3106> Device doesn't exist
[4005] UNABLE TO OPEN THE DEVICE ASSOCIATED WITH REQUESTED DRIVE.

check the following:

In the latter case, the problem may only occur when logged on remotely. If this is the case, refer to Tape Images on Windows for details of how to configure your network share.

Terminal/PC Locked

If your Reality terminal or PC is locked, carry out the steps below until the problem is resolved.

  1. From another terminal/PC logged-on to the same Reality database, enter the following:

    :LOGOFF port-number

    where port-number is the Reality port number of the locked terminal/PC.

  2. Switch the terminal off and back on again, or shutdown the PC and restart RealLink for Windows, as appropriate.

  3. If Reality is running on a UNIX host continue with step 4.

    If Reality is running on a Windows host continue with step 5.

UNIX System

  1. On a UNIX host, determine the UNIX process number of the reality process associated with the locked terminal/PC, as follows:

    If the terminal name or port number is known, enter:

    ps -t terminal-name

    at the UNIX shell or

    WHERE portnumber

    at TCL as appropriate.

    If the terminal name or port number is not known, list all reality processes by entering:

    ps -ef | grep reality

    at the UNIX shell. Once the process id is known, enter:

    kill -9 process-id

    at the UNIX shell.

Windows System

  1. On a Windows host, determine the Windows thread process number of the reality process associated with the locked terminal/PC, as follows:

    If the process number is known, enter:

    WHERE portnumber

    at TCL.

    If the process number is not known, list all reality processes, by entering:

    rkill -l | more

    at the Windows Command Prompt. Once the process id is known, enter:

    rkill -e process-id

Permission Denied Message (UNIX Only)

If permission is denied when attempting to create a file or the message write failed: file system full  is displayed, check the amount of disk space which is being used with the Reality POVF command.

To solve the problem, you might:

Unable to Logon

If users cannot log on to Reality, this may be due to the following:

Number of Licensed Logons Exceeded

If, when you attempt to log on, you receive the message <49017>: Too many connections, the number of licensed logons for the system has been exceeded. Try again later.

No Port Available

If, when you attempt to log on, you receive the message <49022>: No port, all the ports configured on the database are in use. Try again later.

Logons Inhibited

If, when you attempt to log on, you receive the message <49004> logons inhibited, do the following:

  1. Log on to the host as super-user (UNIX only), or the database owner:

  2. On Windows, start a Command Prompt.

  3. Enter the following command:

    unlockdbase database-name

Note

  • If you have enabled automatic database checking and/or have created a database startup Proc, you may have to wait while these run before you can log on. If this occurs, you will see one or more messages similar to the following:

    <30029>: Database check in progress - please wait
    <49018>: Startup proc in progress
  • If, when you attempt to log on, you receive the message <49004> logons inhibited - database check failed, the automatic database check has failed. You will need to rebuild the database (using mkdbase -r), restore the last back-up tape and, if you are using transaction logging, roll forward your clean logs.

Cannot Connect to Reality on Windows

If you are unable to connect via telnet to a database on a Windows system:

Other Logon Problems

If the problem is none of the above it may be necessary to shut down the database - use the following procedure:

  1. If you currently have a logon to the database, log off all Reality users using the LOGOFF command.

  2. Log on to the host as super-user (UNIX only), or the database owner, and enter:

    killreal -d database-name

Users should now be able to log on to the database again.

If more than one database is affected, all databases can be shutdown as follows:

  1. Log on as the super-user (UNIX) or administrator (Windows) and terminate the Reality daemons or services:

    • On UNIX enter

      killreal
    • On Windows enter

      realserv -e
  2. Restart the central daemon (UNIX) or Reality services (Windows):

    • On UNIX enter

      realstart
    • On Windows enter

      realserv -s

Note

On UNIX, if this does not work, you can restart Reality by entering at the console:

/etc/init.d/reality stop

and then:

/etc/init.d/reality start

Unable to Start Reality

If, when you attempt to log on to Reality, you receive the message <30020> Database needs checking, do the following:

  1. Log on to the host as super-user (UNIX only), or the database owner:

  2. On Windows, start a Command Prompt.

  3. Enter the following commands:

    realdbck database-name
    unlockdbase database-name

Ethernet Problems on a UNIX Host

If Ethernet errors are preventing communication with the host, restart the Ethernet services by following the steps below.

  1. Stop the Ethernet services by entering at the console:

    /etc/init.d/ethernet stop
  2. Restart the Ethernet services by entering at the console:

    /etc/init.d/ethernet start

Hashes Returned when Reading from a File

If, when you read from a file, only hashes are returned, the file is encrypted and you do not have the encryption key. For details, refer to Giving Users Access to Encrypted Files.

Proc or TCL Macro Fails

A Proc or TCL Macro fails with one of the following error messages:

[265] Tried to run 'name1' Proc from within 'name2' Proc.
[264] Tried to run 'name1' Proc from macro invoked from 'name2' Proc.

This occurs if the TRAP.EMBEDDED.PROC environment option is set and your Proc uses the P command to call another Proc or to call a TCL macro that calls another Proc. Calling a Proc in this way can produce unexpected results, because the called Proc or TCL macro will not return to the calling Proc.

There are two ways to solve this problem:

Documentation Problems

Some topics are not displayed when selected from the index:

Solution

Configure your browser's popup blocker feature to allow popups from the location where you have installed the Reality documentation.