home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0210 - 0219 / ibm0210-0219 / ibm0213.tar / ibm0213 / LS4APWAD.ZIP / LS40A.A12 / IBMLSA / IBM400R2 / OSLANAPI.ZIP / IBMLAN / NETSRC / H / ALERTMSG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-10  |  10.3 KB  |  338 lines

  1. /**************************************************************************/
  2. /*                                                                        */
  3. /*              IBM OS/2(tm) Local Area Network (LAN) Server              */
  4. /*                            Version 3.0                                 */
  5. /* (c) Copyright International Business Machines Corporation, 1988, 1992  */
  6. /*                                                                        */
  7. /**************************************************************************/
  8.  
  9. /********************************************************************
  10.  *
  11.  *  About this file ...  ALERTMSG.H
  12.  *
  13.  *  This file contains the number and text of alert messages.
  14.  *
  15.  *  Since it is included by ALERT.H, it is not usually necessary
  16.  *  to include this file directly.  As a precaution against
  17.  *  including this file twice -- for example, by including it
  18.  *  explicitly and also including ALERT.H -- the contents are
  19.  *  inside an #ifdef that insures that the contents are only
  20.  *  included once.
  21.  *
  22.  ********************************************************************/
  23.  
  24.  
  25.  
  26. #ifndef NETALERTMSG_INCLUDED
  27.  
  28. #define NETALERTMSG_INCLUDED
  29. #define _ALERTMSG_H_
  30.  
  31.  
  32. /*
  33.  *      ALERT_BASE is the base of alert log codes.
  34.  */
  35.  
  36. #define ALERT_BASE      3000
  37.  
  38.  
  39.  
  40. #define ALERT_Disk_Full         (ALERT_BASE + 0)
  41.         /*
  42.          *  Drive %1 is nearly full. %2 bytes are available.
  43.          *  Please warn users and delete unneeded files.
  44.          */
  45.  
  46. #define ALERT_ErrorLog          (ALERT_BASE + 1)
  47.         /*
  48.          *  %1 errors were logged in the last %2 minutes.
  49.          *  Please review the server's error log.
  50.          */
  51.  
  52. #define ALERT_NetIO             (ALERT_BASE + 2)
  53.         /*
  54.          *  %1 network errors occurred in the last %2 minutes
  55.          *  on network %3.  Please review the server's error log.
  56.          *  The server and/or network hardware may need service.
  57.          */
  58.  
  59. #define ALERT_Logon             (ALERT_BASE + 3)
  60.         /*
  61.          *  There were %1 bad password attempts in the last %2 minutes.
  62.          *  Please review the server's audit trail.
  63.          */
  64.  
  65. #define ALERT_Access            (ALERT_BASE + 4)
  66.         /*
  67.          *  There were %1 access-denied errors in the last %2 minutes.
  68.          *  Please review the server's audit trail.
  69.          */
  70.  
  71. #define ALERT_ErrorLogFull      (ALERT_BASE + 6)
  72.         /*
  73.          *  The error log is full.  No errors will be logged until
  74.          *  the file is cleared or the limit is raised.
  75.          */
  76.  
  77. #define ALERT_ErrorLogFull_W    (ALERT_BASE + 7)
  78.         /*
  79.          *  The error log is 80% full.
  80.          */
  81.  
  82. #define ALERT_AuditLogFull      (ALERT_BASE + 8)
  83.         /*
  84.          *  The audit log is full.  No audit entries will be logged
  85.          *  until the file is cleared or the limit is raised.
  86.          */
  87.  
  88. #define ALERT_AuditLogFull_W    (ALERT_BASE + 9)
  89.         /*
  90.          *  The audit log is 80% full.
  91.          */
  92.  
  93. #define ALERT_CloseBehindError  (ALERT_BASE + 10)
  94.         /*
  95.          *  An error occurred closing file %1.
  96.          *  Please check the file to make sure it's not corrupted.
  97.          */
  98.  
  99. #define ALERT_AdminClose        (ALERT_BASE + 11)
  100.         /*
  101.          * The administrator has closed %1.
  102.          */
  103.  
  104. #define ALERT_AccessShareSec    (ALERT_BASE + 12)
  105.         /*
  106.          *  There were %1 access-denied errors in the last %2 minutes.
  107.          */
  108.  
  109. #define ALERT_BadSpareB         (ALERT_BASE + 13)
  110.         /*
  111.          * A critical sector error was detected on drive %1.  Back up the drive.  No data was lost.
  112.          */
  113.  
  114. #define ALERT_NoHotFix          (ALERT_BASE + 14)
  115.         /*
  116.          * A bad sector on drive %1 cannot be fixed .  Run CHKDSK /F on the drive.
  117.          */
  118.  
  119. #define ALERT_BadVolume         (ALERT_BASE + 15)
  120.         /*
  121.          * Drive %1 is experiencing severe disk errors.  Back up the drive immediately.
  122.          */
  123.  
  124.  
  125. #define  ALERT_DirAlerts_Threshold_2      (ALERT_BASE + 16)
  126.         /*
  127.          * The write operation on server %1 was successful, but the
  128.          * directory size crossed a threshold.  The remaining space
  129.          * in the directory is %2 KB.
  130.          */
  131.  
  132. #define  ALERT_DirAlerts_DirFull_2        (ALERT_BASE + 17)
  133.         /*
  134.          * There was not enough space within the directory tree to perform
  135.          * a write operation on server %1.
  136.          */
  137.  
  138. #define ALERT_DlimNoHeap                  (ALERT_BASE + 18)
  139.        /*
  140.         * The 386 HPFS server failed to enable directory limits
  141.         * on drive %1 because of insufficient heap space.  The
  142.         * drive is still operational.
  143.         */
  144.  
  145. #define ALERT_DlimDskErr                  (ALERT_BASE + 19)
  146.        /*
  147.         * The 386 HPFS server failed to enable directory
  148.         * limits on drive %1 because of a disk error.  The drive
  149.         * is still operational.
  150.         */
  151.  
  152. #define ALERT_PowerOut          (ALERT_BASE + 20)
  153.         /*
  154.          * A power failure was detected at %1.  The server has been paused.
  155.          */
  156.  
  157. #define ALERT_PowerBack         (ALERT_BASE + 21)
  158.         /*
  159.          * Power has been restored at %1.  The server is no longer paused.
  160.          */
  161.  
  162. #define ALERT_PowerShutdown     (ALERT_BASE + 22)
  163.         /*
  164.          * The UPS service is commencing shutdown at %1 due to low battery.
  165.          */
  166.  
  167.  
  168. #define  ALERT_DirAlerts_Threshold        (ALERT_BASE+23)
  169.         /*
  170.          * The write operation was successful, but directory %1 on server
  171.          * %2 crossed a threshold.  The remaining space in the directory is
  172.          * %3 KB.
  173.          *
  174.          * (%1 is the directory name)
  175.          */
  176.  
  177. #define  ALERT_DirAlerts_DirFull          (ALERT_BASE+24)
  178.         /*
  179.          * There was not enough space within the directory tree
  180.          * %1 on server %2 to perform a write operation.
  181.          *
  182.          * (%1 is the directory name)
  183.          */
  184.  
  185.  
  186. #define ALERT_HotFix            (ALERT_BASE + 25)
  187.         /*
  188.          * A defective sector on drive %1 has been replaced (hotfixed).
  189.          * No data was lost.  You should run CHKDSK soon to restore full
  190.          * performance and replenish the volume's spare sector pool.
  191.          *
  192.          * The hotfix occurred while processing a remote request.
  193.          */
  194.  
  195. #define ALERT_HardErr_Server    (ALERT_BASE + 26)
  196.         /*
  197.          * A disk error occurred on the HPFS volume in drive %1.
  198.          * The error occurred while processing a remote request.
  199.          */
  200.  
  201. #define ALERT_LocalSecFail1     (ALERT_BASE + 27)
  202.         /*
  203.          * The UAS database (NET.ACC) is corrupt.  The local security
  204.          * system is replacing the corrupted NET.ACC with the backup
  205.          * made on %1 at %2.
  206.          * Any updates to the UAS made after this time are lost.
  207.          *
  208.          */
  209.  
  210. #define ALERT_LocalSecFail2     (ALERT_BASE + 28)
  211.         /*
  212.          * The UAS database (NET.ACC) is missing. The local
  213.          * security system is restoring the backup database
  214.          * made on %1 at %2.
  215.          * Any updates to the UAS made after this time are lost.
  216.          *
  217.          */
  218.  
  219. #define ALERT_LocalSecFail3     (ALERT_BASE + 29)
  220.         /*
  221.          * Local security could not be started because the UAS database
  222.          * (NET.ACC) was missing or corrupt, and no usable backup
  223.          * database was present.
  224.          *
  225.          * THE SYSTEM IS NOT SECURE.
  226.          *
  227.          */
  228.  
  229.  
  230. #define ALERT_ReplCannotMasterDir   (ALERT_BASE + 30)
  231.     /*
  232.      *The server cannot export directory %1, to client %2.
  233.      * It is exported from another server.
  234.      */
  235.  
  236. #define ALERT_ReplUpdateError       (ALERT_BASE + 31)
  237.     /*
  238.      *The replication server could not update directory %2 from the source
  239.      *on %3 due to error %1.
  240.      */
  241.  
  242. #define ALERT_ReplLostMaster        (ALERT_BASE + 32)
  243.     /*
  244.      *Master %1 did not send an update notice for directory %2 at the expected
  245.      * time.
  246.      */
  247.  
  248. #define ALERT_AcctLimitExceeded     (ALERT_BASE + 33)
  249.     /*
  250.      *User %1 has exceeded account limitation %2 on server %3.
  251.      */
  252.  
  253. #define ALERT_NetlogonFailedPrimary (ALERT_BASE + 34)
  254.     /*
  255.      *The primary domain controller for domain %1 failed.
  256.      */
  257.  
  258. #define ALERT_NetlogonAuthDCFail    (ALERT_BASE + 35)
  259.     /*
  260.      *Failed to authenticate with %2, the domain controller for domain %1.
  261.      */
  262.  
  263. #define ALERT_ReplLogonFailed       (ALERT_BASE + 36)
  264.     /*
  265.      *The replicator attempted to log on at %3 as %2 and failed.
  266.      */
  267.  
  268. #define ALERT_Logon_Limit           (ALERT_BASE + 37) /* @I
  269.      *LOGON HOURS %0*/
  270.  
  271. #define ALERT_ReplAccessDenied      (ALERT_BASE + 38)
  272.         /*
  273.          *  Replicator could not access %2
  274.          *  on %3 due to %1 system error.
  275.          */
  276.  
  277. #define ALERT_ReplMaxFiles          (ALERT_BASE + 39)
  278.         /*
  279.          *  Replicator limit for files in a directory has been exceeded.
  280.          */
  281.  
  282. #define ALERT_ReplMaxTreeDepth       (ALERT_BASE + 40)
  283.         /*
  284.          *  Replicator limit for tree depth has been exceeded.
  285.          */
  286.  
  287. #define ALERT_ReplUserCurDir         (ALERT_BASE + 41)
  288.     /*
  289.      * The replicator cannot update directory %1. It has Tree integrity
  290.      * and is the current directory for some process.
  291.      */
  292.  
  293.  
  294. #define ALERT_ReplNetErr            (ALERT_BASE + 42)
  295.         /*
  296.          *  Network error %1 occurred.
  297.          */
  298.  
  299. #define ALERT_ReplSysErr            (ALERT_BASE + 45)
  300.         /*
  301.          *  System error %1 occurred.
  302.          */
  303.  
  304. #define ALERT_ReplUserLoged          (ALERT_BASE + 46)
  305.         /*
  306.          *  Cannot log on. User is currently logged on and argument TRYUSER
  307.          *  is set to NO.
  308.          */
  309.  
  310. #define ALERT_ReplBadImport          (ALERT_BASE + 47)
  311.         /*
  312.          *  IMPORT path %1 cannot be found.
  313.          */
  314.  
  315.  
  316. #define ALERT_ReplBadExport          (ALERT_BASE + 48)
  317.         /*
  318.          *  EXPORT path %1 cannot be found.
  319.          */
  320.  
  321. #define ALERT_ReplDataChanged  (ALERT_BASE + 49)
  322.         /*
  323.          *  Replicated data has changed in directory %1.
  324.          */
  325.  
  326. #define ALERT_ReplSignalFileErr           (ALERT_BASE + 50)
  327.         /*
  328.          *  Replicator failed to update signal file in directory %2 due to
  329.          *  %1 system error.
  330.          */
  331.  
  332.  
  333. /* IMPORTANT - (ALERT_BASE + 50) is equal to SERVICE_BASE.
  334.  *             Do not add any errors beyond this point!!!
  335.  */
  336.  
  337. #endif /* NETALERTMSG_INCLUDED */
  338.