#ident   "@(#)hasybase_config_V1 1.6     99/05/06 SMI"
#
# Copyright 08/12/96 Sun Microsystems, Inc.  All Rights Reserved.
#
# Action file for HA-DBMS Sybase fault monitor
# One line per entry with nine fields, separated by TAB
# check hasybase_config(4) for details
# 
# The regular expression for DBMS error codes will be encapsulated by the 
# fault monitor in ^re$ to match the entire DBMS error code, i.e. "28" will be
# used as "^28$" to match only 28, and not 128.
#
# Note: The remote fault monitor does not have access to the alert file, and
#    	will therefore never pick any entry based on a message in the alert
#	file!
#
# NOTE: Whenever 'none' is specified in the action field, it implies that SA
#	should decide about the action, since in this situations 'SA' should
# 	trouble shoot the error more carefully and fix it before rebooting the
#	server.    
#
# The fields are:
# State DBMS_er proc_di	log_msg	timeout	int_err	new_sta	action	message
*	84083972	*	*	*	0	co	restart	Server is not up, restarting
*	601	*	*	*	*	*	restart	Descriptor for system table '%ld' in database "%d' not found in the descriptor has table.
*	605	*	*	*	*	co	restart	Attempt to fetch logical page %ld in database '%.*s' belongs to object '%.*s', not to object '%.*s'. See errorlog file for further details.
*	611	*	*	*	*	*	none	Attempt made to end a transaction that is idle or in the middle of an update	
on	614	*	*	*	*	*	none	A row on page %ld was accessed that has an illegal length of %din database '%.*s'. See errorlog file for further details.
on	623	*	*	*	*	*	restart	Attempt to retrieve row from page via RID failed because logical page is not a data page. %S_RID. %S_PAGE.
on	624	*	*	*	*	*	none	Attempt to retrieve row from page via RID failed because the requested RID has a higher number than the last RID on the page. %S_RID.%S_PAGE. See errorlog file for further details.	
on	625	*	*	*	*	*	none	Could not retrieve from logical page %ld via RID because the entry in the offset table for that RID is less than or equal to 0.. See errorlog file for further details.	
on	644	*	*	*	*	*	none	The non_clustered leaf row entry for page %ld row %d was not found in index page %ld indexid %d database '%.*s'. See errorlog file for further details.	
on	706	*	*	*	*	*	restart	Process %d tried to remove PROC_HDR ox%1x that it does not hold in Pss.
on	707	*	*	*	*	*	restart	System error detected during attempt to free memory at address ox%1x.  See errorlog file for further details.
on	803	*	*	*	*	*	restart	Unable to palce buffer 0x%lx holding logical page %ld in sdes for object '%.*s' - either there is no room in sdes or buffer already in requested slot. See errorlog file for further details.	
on	804	*	*	*	*	co	restart	Unable to find buffer ox%1x holding logical page %ld in sdes 0x%1x kept buffer pool for object '%.*s'.
on	806	*	*	*	*	co	restart	Could not find virtual page for logical page %ld in database '%S_DBID'. 
on	813	*	*	*	*	co	none	Logical page %ld in database %d is already hashed. See errorlog file for further details.	
on	821	*	*	*	*	co	restart	Attempt to unhash buffer at 0x%lx with a buffer pageno of %ld and database id %ld with HASHED status set failed -buffer was not found. %S_PAGE.. See errorlog file for further details.	
*	822	*	*	*	*	*	takeover	Could not start I/O for request BLKIO %S_BLKIOPTR = 0x%lx, size = %ld, errcode = 0x%lx, %S_BUF. See errorlog file for further details.	
*	823	*	*	*	*	*	stop	I/O error detected during %.*s for %S_BUF.
on	945	*	*	*	*	co	restart	Function %s was asked to locate page %ld in database %ld.  The page number is invalid for the database. 
on	1129	*	*	*	*	*	none	The requested update to the OAM for object %ld, index %d, oam page %ld, would cause a negative page count. See errorlog file for further details.
on	1133	*	*	*	*	*	none	Page %ld was expected to be an OAM page for %ld and it is not. See errorlog file for further details.
on	1142	*	*	*	*	*	none	Invalid OAM Page %ld. Found pstat=%d, objid=%ld, indid=%d. See errorlog file for further details.
on	1143	*	*	*	*	*	none	Invalid OAM Page %ld. Expected objid = %ld. objid=%ldm, pstat=%d, indid=%d. See errorlog file for further details.
on	1204	*	*	*	*	*	none	SQL Server has run out of LOCKS.  Re-run your command when there are fewer active users, or contact a user with System Administrator (SA) role to reconfigure SQL Server with more LOCKS.
on	1205	*	*	*	*	*	none	Your server command (process id #%d) was deadlocked with another process and has been chosen as deadlock victim.  Re-run your command.
on	1207	*	*	*	*	co	restart	Locksleep called with bad process id %d. See errorlog file for further details.
on	1265	*	*	*	*	*	restart	A lock manager routine expected a lock record as an argument but was passed something else.
on	1509	*	*	*	*	*	stop	Row compare failure.
on	1510	*	*	*	*	*	stop	Sort failed: Out of space in database '%.*s'.
on	1530	*	*	*	*	*	none	Create index with sorted_data was aborted because of row out of order.  Primary key of first out of order row is '%S_KEY'
on	1531	*	*	*	*	*	none	The sorted_data option cannot be used for a nonclustered index if the keys are not unique within the table.  Create index was aborted because of duplicate keys.  Primary key is '%S_KEY'.
on	1601	*	*	*	*	*	none	There are not enough 'user connections' available to start a new process.  Retry when there are fewer active users, or ask your System Administrator to reconfigure SQL server with more user connections.
on	1602	*	*	*	*	*	stop	Unable to initialize network %d.
on	1605	*	*	*	*	*	stop	Failed to open virtual socket for new connections.
on	1608	*	*	*	*	*	none	A client process exited abnormally, or a network error was encountered.  Unless other errors occurred, continue processing normally.
on	1613	*	*	*	*	*	none	Could not close network %d connection for server process %d.
on	1703	*	*	*	*	*	none	Create table failed because column '%.*s' in table '%.*s' exceeds the maximum of 250 columns.
on	1809	*	*	*	*	*	none	CREATE DATABASE failed because of incorrect size parameter(s).  Total number of megabytes specified must at least %d megabytes so that the Model Database can be copied to the new database.
on	1813	*	*	*	*	*	restart	Cannot open new database '%.*s'.  CREATE DATABASE is aborted.
on	1902	*	*	*	*	*	none	Cannot create more than one clustered index on table '%.*s'.  Drop the existing clustered index '%.*s' before creating another.
on	1916	*	*	*	*	*	none	CREATE INDEX options %s and %s are mutually exclusive.
on	3002	*	*	*	*	co	restart	DUMP DATABASE for database '%.*' failed to remove alarm with ID = %d. See errorlog file for further details.
on	3307	*	*	*	*	co	restart	Process %d was expected to hold logical lock on page %ld. See errorlog file for further details.
on	6902	*	*	*	*	co	takeover	Page timestamp value falls between the old and new timestamps from log. Page #=%ld, object id = %ldm page timestamp=%04x %08lx. Log: old timestamp=%04x %08lx, new timestamp=%04x %08lx. See errorlog file for further details.
on	7409	*	*	*	*	*	takeover	This task tried to sleep waing for space to become available in the log, but could not. The current command is being aborted because no further database changes can be logged.
on	7410	*	*	*	*	*	takeover	%s: function called with invalid argument. See errorlog file for further details.
on	7411	*	*	*	*	*	none	Table 'systhresholds' in database '%.*s' is not in its correct sort order. Either the clustered index is missing or there is data corruption in the table. See errorlog file for further details.
on	7412	*	*	*	*	*	restart	Space available in the log segment has fallen critically low in database %s.
on	7413	*	*	*	*	*	restart	%d task(s) are sleeping waiting for space to become available in the log segment for database %s.*s.
on	7940	*	*	*	*	*	none	Table Corrupt: The counts in the OAM are incorrect. This implies that there are entries missing.
on	8201	*	*	*	*	*	restart	Keep count of descriptor was expected to be %d.  Instead %d was found.
on	8203	*	*	*	*	*	restart	Expected to find the descriptor in %s state.
on	8204	*	*	*	*	*	stop	Expected to receive system catalog id.  Instead %d was received.
on	8211 	*	*	*	*	*	restart	Mismatch found between the name and id descriptor has table.  Descriptor hashed by name = 0x%0x and hashed by id = 0x%0x
on	8704	*	*	*	*	*	restart	Could not get the address lock.  address=0x%1x, status=%d.
on	17716	*	*	*	*	*	restart	Could not update the last-chance threshold for database %1!
on	17904	*	*	*	*	*	none	Segment '%1!' does not have a threshold at '%2!' pages.
on	*	*	server: Buffer	*	*	co	stop	server: Buffer "%d" from database "%s" has page number "%d" in the page header and page number "%d" in the buffer header.
*	*	*	kistartup: could	*	*	co	restart	kistartup: could not create shared memory
*	*	*	Kernel: current	*	*	co	none	Kernel: current process (0x%x) infected with %d
*	*	*	kernel: dstart I/O	*	*	*	stop	kernel: dstart I/O request repeatedly delayed; block number: %ld, vdn: %ld. See errorlog file for further details
*	*	*	basis_dlock:	*	*	*	stop	basis_dlock: file '%s' already in use by a SQL Server	
*	*	*	Physical memory	*	*	*	stop	Physical memory on this machine may be too fragmented
*	*	*	server: Warning:	*	*	co	none	OPEN OBJECTS parameter may be too low; attempt was made to free up descriptor in desfree().  Run sp_configure to increase parameter value.
*	*	*	kernel: write	*	*	*	stop	kernel: write error on virtual disk %d, block %ld. See errorlog file for further details
*	*	*	kernel: read	*	*	*	stop	kernel: read error on virtual disk %d, block %ld. See errorlog file for further details
*	*	*	server: server	*	*	*	none	server: server is unnamed
*	*	*	Stack Guardword	*	*	*	takeover	kernel: *** Stack Guardword corrupted
##################################
###
#### Common for all DBMS systems
##
#
*	*	ha_dbms_local	*	*	0	co	none	DB process died - will restart automatically
*	*	public_net	*	*	*	*	none	Master's public net not OK	
di	0	ha_dbms_remote	*	0	0	co	fmstart	Remote HA-DBMS Sybase monitor not responding
*	*	ha_dbms_remote	*	*	0	di	fmstart	Remote HA-DBMS Sybase monitor not responding
on	0	*	*	0	0	*	none	RDBMS appears to be ok
co	0	*	*	0	0	on	none	Connected to database
di	0	*	*	0	0	co	none	disconnected from database
co	0	*	*	1	0	*	restart	A timeout has occured during connect
di	0	*	*	1	0	co	restart	A timeout has occured during disconnect
*	0	*	*	1	0	di	none	A timeout has occured - DBMS appears to be slow
on	*	*	*	*	1	*	none	Internal error - monitoring not complete
*	*	*	Connection does not exist	*	*	co	none	Connection does not exist.
#######################
*	*	*	Net-Lib protocol driver call to connect two endpoints failed	*	*	co	none	Connection does not exist.
*	33620275	*	*	*	*	co	none	Error in performing requested operation	
*	84083974	*	*	*	*	co	none	Server is recovering
*	16843175	*	*	*	*	co	none	Error in performing requested operation
*	*	*	This routine cannot be called because the command structure is in an undefined state	*	*	co	none	Connection does not exist.
*	*	*	iso_1	*	*	co	none	Connection does not exist.
# This is catch all message, This should be the last line of the file.
*	*	*	*	0	0	*	none	RDBMS error, but HA-RDBMS Sybase will take no action for this error code
*	*	*	*	*	*	*	none	Reached entry in action file that should not be reached
