Re: HELP: Problems creating demo database --- sqlhosts error
Posted in 1996
<stuff deleted> } 25596: The INFORMIXSERVER value is not listed in the sqlhosts file. } } Loading data ... } <more stuff deleted> } } Here is a copy of my latest sqlhosts file: } } #************************************************************************** } # } # INFORMIX SOFTWARE, INC. } # } # PROPRIETARY DATA } # } # THIS DOCUMENT CONTAINS TRADE SECRET DATA WHICH IS THE PROPERTY OF } # INFORMIX SOFTWARE, INC. THIS DOCUMENT IS SUBMITTED TO RECIPIENT IN } # CONFIDENCE. INFORMATION CONTAINED HEREIN MAY NOT BE USED, COPIED OR } # DISCLOSED IN WHOLE OR IN PART EXCEPT AS PERMITTED BY WRITTEN AGREEMENT } # SIGNED BY AN OFFICER OF INFORMIX SOFTWARE, INC. } # } # THIS MATERIAL IS ALSO COPYRIGHTED AS AN UNPUBLISHED WORK UNDER } # SECTIONS 104 AND 408 OF TITLE 17 OF THE UNITED STATES CODE. } # UNAUTHORIZED USE, COPYING OR OTHER REPRODUCTION IS PROHIBITED BY LAW. } # } # } # Title: sqlhosts.demo } # Sccsid: @(#)sqlhosts.demo 9.2 7/15/93 15:20:45 } # Description: } # Default sqlhosts file for running demos. } # } #************************************************************************** } # } # Added to test demo software } # } store7 onipcshm cypres shm_file } eddie-db1 onipcshm cypres shm_file } } demo_on onipcshm on_hostname on_servername } demo_se seipcpip se_hostname sqlexec } } ------------------------------------------------------------------------------ } Here are some of the relevant environment parameters: } } PATH=/usr/vue/bin:/usr/bin/X11:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettlad } m/bin:/usr/contrib/bin/X11:/usr/informix/bin:/usr/informix/bin } LOGNAME=informix } MAIL=/var/mail/informix } USER=informix } DISPLAY=cypres:0.0 } SHELL=/usr/bin/csh } VUETERM=/usr/vue/bin/hpterm } HOME=/usr/informix } TERM=hpterm } INFORMIXSERVER=cypres } INFORMIXDIR=/usr/informix } } -------------------------------------------------------------------------------- } } } } QUESTIONS: } 1.) I don't see a store data base anywhere. Why? } 2.) Why am I receiving the following error message: } INFORMIXSERVER value is not listed in the sqlhosts file } } } Thanks a LOT in advance, } Eddie } Eddie, I think that you will find that your INFORMIXSERVER name is NOT listed in you sqlhosts file. According to the "relevant environment parameters" which you listed, your INFORMIXSERVER=cypres, but the first field of your sqlhosts file only contains store7, eddie-db1, demo_on, and demo_se as a list of dbservernames. You do have cypres listed in the third field as the name of the machine where the store7, and eddie-db1 INFORMIXSERVERs reside. The four fields of the sqlhosts file on a UNIX node are: dbservername, nettype, hostname, servicename The dbservername needs to match the DBSERVERNAME entry in the onconfig file of the node where the database resides. (Note: The INFORMIXSERVER environment parameter should also match the DBSERVERNAME if the user is on the same machine as the database.) The hostname needs to match the node name of the machine where the dbservername resides, and should also match the entry in the etc/hosts file. You really should see the chapter on Client/Server Communications in the INFORMIX-OnLine Dynamic Server Administrator's Guide for a detailed explaination of all the fields in the sqlhosts file. I hope that some of this info helps you to resolve your problem. -- Regards, Walter S. Tyszka (wstyszka@ingr.com) * Standard disclaimers apply *