01/23/96, 4FAX# 2475 "Lexical Error" Message from installp SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. +----------------------------------------------------------+ | | | NOTE: The information in this document is NOT appli- | | cable for AIX 4.1. | | | +----------------------------------------------------------+ THE INSTALLP LEXICAL ERROR In AIX 3.2.x, the installp command will return the following error message if the required version of installp is not on the system. 0503-211 installp: A lexical error occurred for ... on line ..., column ... An unexpected character, ... was found (hexadecimal value ...). The character will be treated as a SPACE. Use local problem reporting procedures. You can correct this error by loading the installp PTF from the installation or update media. LOADING THE INSTALLP PTF Your install/update media will contain the necessary installp PTF. You can find the PTF number by getting the table of contents from the media and searching it. To get the table of contents from the media, run: installp -qld > /tmp/tape.toc where "" is the name of the tape drive in no-rewind mode (for example, "/dev/rmt0.1"). Now search /tmp/tape.toc for the string "Application Instal- lation Utilities". If the string is found, the install/update media is at level 3.2.4 or post-3.2.4. If the string is not found, the media is at a pre-3.2.4 level. Follow the steps in the section below that corresponds to the media level. "Lexical Error" Message from installp 1 01/23/96, 4FAX# 2475 From 3.2.4 or Post-3.2.4 Media 1. The number for the installp PTF will be on the line directly above "Application Installation Utilities" (found in the last section). 2. If the number for the installp PTF is U428228 and the RISC System/6000 machine is at a pre-3.2.4 level, you will get a lexical error if you try to install the PTF. (U428288 will only be on some tapes sent out around May 1994.) To fix this problem, do one of the following: o Reorder the installp PTF in order to get the latest version. o If you have one of the following PTFs on media for other fixes that you have received, you can install that PTF to fix the problem. - U418283 (the installp fix on 3.2.4 media) - U422467 (the installp fix on 3.2.5 media from approximately November 1993 to April 1994) 3. Install the installp PTF from the tape by running the following command from a Korn shell while logged on as the root user. installp -BNXacgq -d.1 bos.obj 3.2.0.0.UXXXXXX 2>&1 | \ tee /tmp/installptf.log where: is the name to the tape drive in no-rewind mode. Example: /dev/rmt0.1 UXXXXXX is the PTF number. | is the pipe character. \ is the backslash character used for line continuation. 4. After the installp PTF is loaded, use SMIT to load the PTF(s) that were ordered. From Pre-3.2.4 Media 1. Check to see if U403173 is on the system. Do this by running lslpp -A U403173 | pg If U403173 is already on the system, skip to step 2. If it is not already on the system, install U403173 from the PTF tape using the procedures in the Service Updates chapter of the AIX 3.2 Installation Guide (SC23-2341). Be sure to answer "yes" to the "automatically install prerequisites" prompt. 2. Check the Vital PTF Information section of the documen- tation that you received with the install/update media. "Lexical Error" Message from installp 2 01/23/96, 4FAX# 2475 Look for the PTF that has "INSTALLP and INSTCLIENT UPDATES". This will give you the number of the installp PTF. 3. Load the installp PTF from the media using the proce- dures in the Service Updates chapter of the AIX 3.2 Installation Guide (SC23-2341). Be sure to answer "yes" to the "automatically install prerequisite software" prompt. NOTE: If you cannot find the number for the installp PTF on your tape, use the following chart as a guideline for locating the installp PTF. U418610 (shipped after 5-26-93) U417395 (shipped after 4-22-93) U416878 (shipped after 4-14-93) U416450 (shipped after 4-2-93) U414603 (shipped after 3-11-93) U414085 (shipped after 3-3-93) U413425 (shipped after 2-5-93) U413366 (shipped after 1-28-93) U412397 (shipped after 12-4-92) U411711 (shipped after 11-25-92) U410179 (shipped after 11-9-92) U409490 (shipped after 9-23-92) U406852 (shipped after 8-4-92) After applying the installp PTF, you should be able to install your other PTFs without receiving the lexical error message. "Lexical Error" Message from installp 3 01/23/96, 4FAX# 2475 READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (lexical.error.anz, 4FAX# 2475) "Lexical Error" Message from installp 4