To enable Open Server to successfully initialize your server application and respond to connection requests, complete these tasks:
Configure libtcl.cfg:
Specify a directory driver in the [DIRECTORY] section of libtcl.cfg.
Specify a security driver in the [SECURITY] section of libtcl.cfg.
See Appendix B, “Configuration Files,” for reference information about libtcl.cfg.
Configure interfaces or directory service:
Create a server entry in interfaces or LDAP directory service using dscp.
See Chapter 7, “Using dscp,” for instructions about using dscp. See “The interfaces file” for reference information about interfaces. See Chapter 5, “Using a Directory Service,” for information about directory services.
Set environment variables:
Set the LC_ALL or LANG environment variable to the desired locale name.
The locale name you specify must correspond to an entry in locales.dat. If you do not set LC_ALL or LANG, make sure that the “default” entry in locales.dat reflects the localization values your applications will use.
Verify that you have localization files that match the language, character set, and collating sequence specified in locales.
If your application uses custom localization values, set the LC_ALL, LC_COLLATE, LC_TYPE, LC_MESSAGE, or LC_TIME environment variable to the locale name.
If you do not know which environment variable your application uses, set all the environment variables to the desired locale name.
Set the DSLISTEN environment variable to the name of the Open Server application.
If the name of the Open Server application is coded into the application, you do not need to set DSLISTEN. If DSLISTEN is not set and the application does not name the server, Open Server uses the server name “SYBASE.”
If the Open Server application acts as a gateway application, set the DSQUERY environment variable to the name of the target server.
See Appendix A, “Environment Variables,” for instructions about how to set environment variables. See Appendix C, “Localization,” for information on localization.