#
error_table sms
-ec SMS_NOT_CONNECTED,
- "Not connected to SMS server"
+ec MR_NOT_CONNECTED,
+ "Not connected to Moira server"
-ec SMS_CANT_CONNECT,
- "Can't connect to SMS server"
+ec MR_CANT_CONNECT,
+ "Can't connect to Moira server"
-ec SMS_VERSION_MISMATCH,
- "SMS version mismatch"
+ec MR_VERSION_MISMATCH,
+ "Moira version mismatch"
-ec SMS_ABORTED,
- "SMS operation aborted"
+ec MR_ABORTED,
+ "Moira operation aborted"
-ec SMS_UNKNOWN_PROC,
+ec MR_UNKNOWN_PROC,
"Unknown procedure"
-ec SMS_INGRES_ERR,
+ec MR_INGRES_ERR,
"Ingres system error occurred"
-ec SMS_MORE_DATA,
- "More data is available from SMS"
+ec MR_MORE_DATA,
+ "More data is available from Moira"
-ec SMS_NO_MATCH,
+ec MR_NO_MATCH,
"No records in database match query"
-ec SMS_NO_HANDLE,
+ec MR_NO_HANDLE,
"Unknown query handle"
-ec SMS_ALREADY_CONNECTED,
- "Already connected to sms"
+ec MR_ALREADY_CONNECTED,
+ "Already connected to the moira server"
-ec SMS_ARGS,
- "Insufficient number of arguments"
+ec MR_ARGS,
+ "Incorrect number of arguments"
-ec SMS_NOT_UNIQUE,
+ec MR_NOT_UNIQUE,
"Arguments not unique"
-ec SMS_PERM,
+ec MR_PERM,
"Insufficient permission to perform requested database access"
-ec SMS_LIST,
+ec MR_LIST,
"No such list"
-ec SMS_USER,
+ec MR_USER,
"No such user"
-ec SMS_STRING,
+ec MR_STRING,
"Unknown string"
-ec SMS_TYPE,
+ec MR_TYPE,
"Invalid type"
-ec SMS_EXISTS,
+ec MR_EXISTS,
"Record already exists"
-ec SMS_DATE,
+ec MR_DATE,
"Invalid date"
-ec SMS_CLUSTER,
+ec MR_CLUSTER,
"Unknown cluster"
-ec SMS_MACHINE,
+ec MR_MACHINE,
"Unknown machine"
-ec SMS_SERVICE,
+ec MR_SERVICE,
"Unknown service"
-ec SMS_FILESYS,
+ec MR_FILESYS,
"Named file system does not exist"
-ec SMS_PRINTER,
+ec MR_PRINTER,
"Unknown printer"
-ec SMS_QUEUE,
+ec MR_QUEUE,
"Unknown queue"
-ec SMS_DEVICE,
+ec MR_DEVICE,
"No such device"
-ec SMS_ACL,
- "No such access control list"
+ec MR_ACE,
+ "No such access control entity"
-ec SMS_NFSPHYS,
+ec MR_NFSPHYS,
"Machine/device pair not in nfsphys"
-ec SMS_FILESYS_EXISTS,
+ec MR_FILESYS_EXISTS,
"Named file system already exists"
-ec SMS_QUERY_NOT_REENTRANT,
+ec MR_QUERY_NOT_REENTRANT,
"Cannot do query from callback routine"
+ec MR_RVD,
+ "No such rvd"
+
+ec MR_NFS,
+ "Specified directory not exported"
+
+ec MR_FILESYS_ACCESS,
+ "Invalid filesys access"
+
+ec MR_USER_GROUP,
+ "List is a user group"
+
+ec MR_ARG_TOO_LONG,
+ "An argument is too long"
+
+# These appear only in version 2 of the protocol and later:
+
+ec MR_NO_MEM,
+ "Server ran out of memory"
+
+ec MR_IN_USE,
+ "Object is in use"
+
+ec MR_BAD_CLASS,
+ "Specified class is not known"
+
+ec MR_INTERNAL,
+ "Moira internal consistency failure"
+
+ec MR_BAD_CHAR,
+ "Illegal character in argument"
+
+ec MR_BAD_GROUP,
+ "Invalid group ID"
+
+ec MR_WILDCARD,
+ "Wildcards not allowed in this case"
+
+ec MR_NO_CHANGE,
+ "The database has not changed, files not rebuilt"
+
+ec MR_TAR_FAIL,
+ "Unable to build archive of config files"
+
+ec MR_OCONFIG,
+ "Unable to open DCM file"
+
+ec MR_CCONFIG,
+ "Error closing DCM output file"
+
+ec MR_FSTYPE,
+ "Unknown filesys type"
+
+ec MR_INTEGER,
+ "String could not be parsed as an integer"
+
+ec MR_NO_ID,
+ "Cannot allocate new ID"
+
+ec MR_NO_FILESYS,
+ "Cannot find space for filesys"
+
+ec MR_NO_POBOX,
+ "Cannot find space for pobox"
+
+ec MR_NO_QUOTA,
+ "No default quota specified"
+
+ec MR_USER_AUTH,
+ "Cannot find you in the database, access will be restricted"
+
+ec MR_DEADLOCK,
+ "Database deadlock; try again later"
+
+ec MR_NOCRED,
+ "Unable to install new credentials files"
+
+ec MR_SETQUOTA,
+ "Failure setting user quota"
+
+ec MR_HESFILE,
+ "Failure updating hesiod file (probably disk full)"
+
+ec MR_MISSINGFILE,
+ "Did not receive file for update"
+
+ec MR_MKCRED,
+ "unable to compile database files"
+
+ec MR_NAMED,
+ "name daemon failed to start"
+
+ec MR_TARERR,
+ "Tar of update file failed (disk full?)"
+
+ec MR_PROTO,
+ "Failed to put prototype files in new locker"
+
+ec MR_BUSY,
+ "the database is busy; try again later"
+
+ec MR_DOWN,
+ "the database is closed right now; try again later"
+
+ec MR_LISTLOOP,
+ "Lists are not allowed to contain themselves as members"
+
+ec MR_INGRES_SOFTFAIL,
+ "Temporary database failure, try again"
+
+ec MR_COREDUMP,
+ "Subprocess coredumped"
+
+ec MR_SUBNET,
+ "Bad subnet"
+
+ec MR_ADDRESS,
+ "Bad address"
+
end