Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
Apr 06, 2012, 22:02 (0 Talkback[s])
(Other stories by Vivek Gite)
[ Thanks to An Anonymous Reader for
this link. ]
"In Linux and UNIX in general, services are configured using
various text files,in the /etc/ directory trees. A typical server
system could have dozens of configuration files. It is important
that you check the validity of the configuration file. In some
cases it is possible to to check the sanity of the special data
(such as keys) or directories (such as /var/lib/cache/). Text files
are easier to manage remotely. You can use ssh and a text editor.
If there is an error in configuration, server may not start. This
may result into a disaster. In this article I will explains howto
find out a syntax error for popular servers and test configuration
file for syntax errors."