|
Run the tsp_catch.sh script to create a TSP error log
for you to send to your support specialist for further analysis.
Once run, the tsp_catch.sh script carries out the following
operations:
- Configures the cron to activate itself (the tsp_catch.sh
script) every minute.
- Checks every minute if there is a change in date and time in the /tmp/tspErrors.log
file .
- When the /tmp/tspErrors.log log file's date or time
changes, creates a new log file, $SCI_LOGS/tsp_err.1,
which contains the following sections:
- When the time and date of the /tmp/tspErrors.log
file changes, copies the existing $SCI_LOGS/tsp_err.1
to create a new log file $SCI_LOGS/tsp_err.2, and creates
a new $SCI_LOGS/tsp_err.1 log file, and so on.
- Keeps a record of the last 10 log files ($SCI_LOGS/tsp_err.1
to $SCI_LOGS/tsp_err.10).
To run the tsp_catch.sh script:
In Brisque version 4.1 and 4.097.23 with Upd_Brisque4_97_Output
- At the command line prompt, navigate to the directory $SCI_SCRIPTS.
- Type tsp_catch.sh and press
Enter.
In Brisque version 4.0:
- Download the tsp_catch.tar.Z
compressed tar file.
- Copy the tsp_catch.tar.Z file to
the Brisque directory $SCI_SCRIPTS.
- At the AIX command line prompt, use the CD command
to navigate to the directory $SCI_SCRIPTS.
- Type untar tsp_catch.tar and press
Enter.
- Type tsp_catch.sh and press
Enter.
To stop the tsp_catch.sh script from running:
- At the AIX command line prompt, type crontab -e and
press
Enter.
-
Locate the line * * * * * /scitex/version/scripts/tsp_catch.sh,
and at the beginning of the line, type #.
- Save the crontab file and exit from the text editor.
Sample TSP error log file output:
----------------------------------
This is a tsp_err log file from Mon Jun 10 12:58:00 WET 2002
----------------------------------------------------
----------The following is tspErrors.log ----------------------
$$$NSP:ERROR hex==> 0x1 ,dec==> 1
Proc_id = 31030 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x1 ,dec==> 1
Proc_id = 31030 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 27856 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 27856 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 27856 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 27856 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 23980 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 23980 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 23980 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 23980 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x1 ,dec==> 1
Proc_id = 30112 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x1 ,dec==> 1
Proc_id = 30112 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 19160 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 19160 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 19160 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 19160 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 20656 File => nspBMOutput.cpp Line number => 56
Proc_
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 20656 File => nspBMOutput.cpp Line number => 56
Proc_id = 20656 File => nspBMOutput.cpp Line number => 56
id = 20656 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 20656 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 20656 File => nspShortData.cpp Line number => 316
Proc_id = 20656 File => nspShortData.cpp Line number =>
316
Proc_id = 20656 File => nspShortData.cpp Line number =>
316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 15612 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 15612 File => nspShortData.cpp Line number => 316
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 15612 File => nspBMOutput.cpp Line number => 56
$$$NSP:ERROR hex==> 0x4 ,dec==> 4
Proc_id = 15612 File => nspShortData.cpp Line number => 316
----------------------------------------------------
----------The following are last 10 lines from today's errpt----
2BFA76F6 0610092602 T S SYSPROC SYSTEM SHUTDOWN BY USER
9DBCFDEE 0610092902 T O errdemon ERROR LOGGING TURNED ON
192AC071 0610092502 T O errdemon ERROR LOGGING TURNED OFF
9DBCFDEE 0610081902 T O errdemon ERROR LOGGING TURNED ON
----------------------------------------------------
----------The following is df -k output ----------------------
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 15620 53% 1627 10% /
/dev/hd2 524288 62660 89% 21628 17% /usr
/dev/hd9var 114688 109260 5% 178 1% /var
/dev/hd3 32768 31428 5% 55 1% /tmp
/dev/hd1 16384 12420 25% 600 15% /home
/dev/scitexlv 1359872 177200 87% 7441 3% /scitex
/dev/scitemplv 262144 253744 4% 42 1% /scitex/version/temp
/dev/psfontslv 131072 103348 22% 212 1% /scitex/version/usr/local/es/psfonts
/dev/scimarkerslv 114688 108728 6% 122 1% /scitex/version/markers
/dev/scistoredblv 32768 27940 15% 42 1% /scitex/version/storedb
/dev/SharedItemslv 114688 95472 17% 118 1% /scitex/version/SharedItems
/dev/slv2.0 16646144 6496084 61% 16507 1% /dataVolumes/timna10.2.0
/dev/slv2.1 1081344 378432 66% 3612 2% /dataVolumes/timna10.2.1
/dev/backuplv 409600 305024 26% 429 1% /backup
----------------------------------------------------
----------The following are last 200 lines from ripro_messages--
!START MESSAGES1.0
!:: Start ::
!RiproArchiver administrator
!6-June-2002 16:25:19
!ripro_messages
!DBAdmin Started, pid = 26840.
!:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!managerLS
!6-June-2002 16:26:07
!ripro_messages
!managerLS -
!No reporting folders.:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!RiproArchiver administrator
!6-June-2002 16:44:44
!ripro_messages
!DBAdmin Started, pid = 32584.
!:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!managerLS
!6-June-2002 16:45:24
!ripro_messages
!managerLS -
!No reporting folders.:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!UpdateDatabse
!6-June-2002 18:16:56
!ripro_messages
!Update data base on /dataVolumes/timna10.2.0 is completed.
!7147 files were imported.:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!UpdateDatabase
!6-June-2002 18:22:34
!ripro_messages
!Update database on /dataVolumes/timna10.2.1:
!Database is not online. Check database mode and try again later.:: eom
::
!E
!Ok
!:: End ::
!:: Start ::
!UpdateDatabse
!6-June-2002 18:48:33
!ripro_messages
!Update data base on /dataVolumes/timna10.2.1 is completed.
!1439 files were imported.:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!Undefined
!6-June-2002 18:51:00
!ripro_messages
!Archive Administrator is already in air.:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!RiproArchiver administrator
!6-June-2002 19:19:50
!ripro_messages
!DBAdmin Started, pid = 21812.
!:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!RiproArchiver administrator
!9-June-2002 7:24:46
!ripro_messages
!DBAdmin Started, pid = 23640.
!:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!RiproArchiver administrator
!9-June-2002 9:49:52
!ripro_messages
!DBAdmin Started, pid = 21836.
!:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!Archive
!9-June-2002 13:59:26
!ripro_messages
!Job 1.1 submitted successfully.
!Size 3180257 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 13:59:37
!ripro_messages
!Job 2.2 submitted successfully.
!Size 3180257 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 13:59:54
!ripro_messages
!Job 3.3 submitted successfully.
!Size 3750333 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 14:00:07
!ripro_messages
!Job 4.4 submitted successfully.
!Size 3750333 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 14:00:20
!ripro_messages
!Job 5.5 submitted successfully.
!Size 3993806 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 14:00:28
!ripro_messages
!Job 6.6 submitted successfully.
!Size 3993806 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 14:00:35
!ripro_messages
!Job 7.7 submitted successfully.
!Size 3993806 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!Archive
!9-June-2002 14:00:43
!ripro_messages
!Job 8.8 submitted successfully.
!Size 3993806 K .:: eom ::
!I
!Ok
!:: End ::
!:: Start ::
!RiproArchiver administrator
!10-June-2002 8:35:06
!ripro_messages
!DBAdmin Started, pid = 21386.
!:: eom ::
!I
!OK
!:: End ::
!:: Start ::
!RiproArchiver administrator
!10-June-2002 10:06:28
!ripro_messages
!DBAdmin Started, pid = 24422.
!:: eom ::
!I
!OK
!:: End ::
!END MESSAGES21
----------------------------------------------------
|