Skip to main content

Configuration File Error Codes

When command errors were found in the configuration file, the exit status of EXIT_ERROR_LOAD_CONF is shown as the result where messages on the detected errors and error code (described below) which shows the kind of reasons are shown on the user interface display.(when on shell applications, standard errors are output ) The error codes are shown by the data range (8bit) from 1 to 255.

This error is shown in the following format.

Format: <config_path>: [<error_code>] <message>

“config_path” shows the path of the configuration file where a error occurred.

“error_code” shows the kind of error code why a error occurred.

“message” shows the error message.

--Example:/etc/hcp/hcp.conf: [052] Configuration file parse error in line 3 : PPubkeyAuthentication yes--
error codenamedescription
0CONF_ERROR_OKsucceeded (usually it is not displayed)
50CONF_ERROR_NULL_NAMEacquiring the configuration name failed
51CONF_ERROR_EMPTY_NAMEthe configuration name is vacant
52CONF_ERROR_UKNOWN_NAMEit’s an unknown configuration name
53CONF_ERROR_INVALID_NAMEthe configuration name is invalid
54CONF_ERROR_INVALID_VALUEthe value of the configuration name is invalid
60CONF_ERROR_QUOTE_NOT_CLOSEDthe quote in the configuration hasn’t closed
61CONF_ERROR_QUOTE_IN_QUOTEthe second quote was found in the quote in the configuration
70CONF_ERROR_NO_VALUESthere wasn’t the onfiguration value
71CONF_ERROR_TOO_MANY_VALUESthe number of the parameters in the configuration is over the limit
79CONF_ERROR_OVER_LIMIT_NUM_OF_VALUESthe configuration value is over the maximum
80CONF_ERROR_UNEXPECTED_NESTED_STRUCTa nested structured setting was found
81CONF_ERROR_UNEXPECTED_ENDING_STRUCTan unexpected structured setting end was found
82CONF_ERROR_UNEXPECTED_VALUE_OF_STRUCTan unexpected structured setting item was found
84CONF_ERROR_ENDING_STRUCT_NOT_FOUNDa structured setting end was not found
85CONF_ERROR_OVER_LIMIT_NUM_OF_STRUCTSthe number of the parameters in a structured setting is over the limit
99CONF_ERROR_LINE_LEN_EXCEEDEDthe number of the characters in a line exceeded the limit
200CONF_ERROR_CONF_NOT_FOUNDthe configuration file was not found
201CONF_ERROR_FILE_OPEN_FAILEDopening the configuration file failed
255CONF_ERROR_FAILUREfailure