home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / ALERTMSG.H < prev    next >
C/C++ Source or Header  |  1997-09-05  |  11KB  |  337 lines

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