![]() |
![]() |
|
|
![]() |
![]() |
ALLBASE/NET User's Guide: HP 9000 Computer Systems > Chapter 2 Setting Up ALLBASE/NET![]() Setting Up ALLBASE/NET on the Server |
|
To set up ALLBASE/NET, perform the following steps:
As system administrator on the server, you need to start the listener daemon after ALLBASE/NET is installed. (You must have superuser capability to do this.) The listener daemon must be started the first time ALLBASE/NET is used after a system boot.
To start the listener daemon, type:
where X is either NS or ARPA. When the listener daemon is started, a log file named /tmp/hpdaX.log is automatically created (where X is either NS or ARPA). This is a circular file that holds 1000 entries containing listener daemon status information.
If an error occurs, determine the cause of the error and take the appropriate action. If you are using NS, the NetIPC error code is contained in the last three digits of the error number returned. For descriptions of NetIPC error messages, refer to the NetIPC Programmer's Guide. If you are using ARPA services, refer to the ALLBASE/SQL Message Manual for error message descriptions. The last three digits are specify the ARPA error message number. After the error is corrected, terminate the listener daemon process, remove the log file (if desired), and restart the listener daemon using the following steps. You must have superuser capability to remove the log file.
In the following NS log file example, the first three lines show that the listener daemon has started; the next three lines show an example of the information displayed when a connection has been made.
The ARPA log file is similar, as the following example shows.
If there are no errors, a zero (0) is returned, as indicated in the examples above. A number other than zero or another message appears in the log file if an error condition has occurred. Assign a server login for the user on the client who is accessing the DBEnvironment on the server. Use the information about the client login name and client node name that you obtained from the client's system administrator. For more information about server login names, refer to "Client and Server Login Names" under "Cross-System Connectivity" in the "Getting Started" chapter. Add the server login name to the /etc/passwd file on the server. Put an asterisk (*) in the password field of the entry so that someone with the same name as the server login name cannot use the remote login (rlogin) command to access files on the server.
To add a user profile to the NETUsers file:
After you respond to the last prompt, the following message appears followed by the NETUtil prompt:
For an example of how ADD USER is used, refer to "Examples of Setting Up ALLBASE/NET" at the end of this chapter.
You can change the contents of a user profile with the CHANGE USER command. For the naming conventions and syntax to use to respond to the prompts, refer to "Adding a User Profile," above. To change a user profile, do the following:
For examples of how CHANGE USER is used, refer to the "NETUtil Reference" chapter. To delete one or more user profiles from the NETUsers file use the DELETE USER command at the NETUtil prompt. The current client node name and client login name uniquely identify the entry to be deleted. If you enter the client login name, you delete the user profile that has the same name. If you enter an asterisk, you delete all user profiles with the current client node name. For the naming conventions and syntax to use to respond to the prompts, refer to "Adding a User Profile," above. To delete a single user profile, do the following:
To delete all user profiles with the same client node name, do the following:
For examples of how DELETE USER is used, refer to "NETUtil Reference" chapter. To display the contents of one or more user profiles in the NETUsers file type the SHOW USER command at the NETUtil prompt. You can display all user profiles, user profiles for a specific node, or user profiles with the same client login name. For the naming conventions and syntax to use to respond to the prompts, refer to "Adding a User Profile," above. To display one user profile, do the following:
To display all of the user profiles in the NETUsers file, do the following:
To display all user profiles with the same client login name, do the following:
To display all user profiles for a specific client node, do the following:
For an example of how SHOW USER is used, refer to "Examples of Setting Up ALLBASE/NET" at the end of this chapter. |
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|