12/19/95 How To Setup System Logging For DB2/6000 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. ABOUT THIS DOCUMENT The steps to set up AIX for system logging in this document are applicable to AIX 3.2.5 and 4.1. STEPS TO START LOGGING 1. Login as root 2. Add a line to /etc/syslog.conf as shown below. You can change "level" to one of four settings: err(or), alert, warn(ing), and info(rmation). Do not set to "info" as this will fill the file quickly with extra- neous information. Example: user.err /usr/spool/syslog user.warn /usr/spool/syslog or for the entire system: *.err;alert;warn;info /usr/spool/syslog 3. Create the file where the log is to be stored. Example: # touch /usr/spool/syslog syslog.conf file information. 4. Stop the syslogd daemon. # stopsrc -s syslogd 5. Start the syslogd daemon back up to update the new syslog.conf file information. # startsrc -s syslogd 6. Run the application in order to reproduce the error again. How To Setup System Logging For DB2/6000 1 12/19/95 STEPS TO STOP THE LOGGING 1. Comment out or remove the report line from /etc/syslog.conf. 2. Stop the syslogd daemon. # stoprsrc -s syslogd SHIPPING THE SYSLOG Via FTP ftp testcase.boulder.ibm.com Login as "anonymous". Passwd "userid@internet.address". ftp> cd /ps/toibm/db2 ftp> put ItemNumber.6000.syslog An item number might look like AF1234, R1234, or 1x234b567. Which ever format most closely matches your call reference number will be appropriate. Make sure your files show up and quit. ftp> quit ftp> ls Via U.S. Mail or Shipping Company: First put the files on tape or diskette. Use the tar command and list all flags which you use. For tape: tar -xvf /dev/rmt0 ./usr/spool/syslog For diskette: tar -xvf /dev/fd0 ./usr/spool/syslog Mail backups to: AIX System Support DATAB 40-E3-02 1 East Kirkwood Blvd. Ronoake, TX 76299 Please include: 1. Item Number 2. Contact Name 3. Contact Phone Number 4. Exact command used to backup the files (Not required if you used the commands listed in this document.) How To Setup System Logging For DB2/6000 2 12/19/95 FURTHER CONSIDERATIONS At this time please update your support center that the trace is in place. If at any time you find a command not working call back to you support center for further assistance. Once the trace is in place the Technical specialist working your item will call you back with an update. How To Setup System Logging For DB2/6000 3 12/19/95 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 (system.logging.dbs) How To Setup System Logging For DB2/6000 4