421 Service not available, closing transmission channel

By: Richard Glaser - Revised: 2011-01-07 richard


Introduction

If you are trying to run the radmind tools or Radmind Assistant and you get an error like...

421 Service not available, closing transmission channel

This can be caused by the following...
  • Command File
    • Filename matches one used in config file?
    • Path matches one used in config file?
    • Command file or path exist?
    • Syntax error in the command file?
  • KinK
    • Filename matches one used in command file?
    • Path matches one used in command file?
    • KinK file or path exist?

Command File

Check the radmind server config file...

less /var/radmind/config

Filename
Make sure that that the command file listed for the client in the config file matches the filename of the command file or that it the command file even exists.

For example, if you have the client identified in the radmind server config file as...

client.hostname ClientCommand.K

But, the command filename is lower-case like clientcommand.K or a different filename completely, you will get the above error.

Path
Make sure if you are using sub-directories for command files, that the path listed in the config file matches the actual path used.

KinK File

Check the any command file-in-command-file (aka KinK)'s used with the command file...

Filename
Make sure that that the KinK file listed for the client in the command file matches the filename of the KinK file or that it the KinK file even exists.

Path
Make sure if you are using sub-directories for KinK or command files, that the path listed in the command file matches the actual path used.

More Detailed Error Messages

For more detailed information, check the system.log or console.log on your radmind server.

For example, if had a typo or missing command file, like two p's at the start of a transcript line, I would get the following error message on the client...

421 Service not available, closing transmission channel

But, would get the following error in the radmind server system.log

fopen: ClientCommand.K: No such file or directory

or...

radmind[988]: ...<file name>.K: line 13: invalid number of arguments