> I found that when I make some synthax errors in kannel.conf,
> boxes can't
> start. I was wondering if someone has made a parser to check
> if the synthax
> of kannel.conf is correct ? If not, I will develop one in
> perl and propose
> it devel@.

Don't the boxes perform that function already? If the conf is "bad", the
boxes shouldn't start. Hmm, although, I do see your point - if the conf has
syntax errors, to discover this you have to run the boxes from the command
line, because a box won't write "error found on X of file kannel.conf" etc,
to the log (I believe this is because the log file writer thread never
starts). So I guess a script would be useful. I imagine you can get help
from whatever code parses the groups in the conf file (so to check for valid
group entries).

You'd still have to run this before starting the boxes though? I'm not
familiar with the startup routine that parses the file - is there a way to
run this parser at the startup and write to the log if the conf is invalid?


Reply via email to