home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / ALERTMSG.H < prev    next >
C/C++ Source or Header  |  1999-04-29  |  11KB  |  339 lines

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