Delete invalid service elements.

(cherry picked from commit d5c5e04463a6b0f5d7f047addfdceae3238b444b)
Added the snmp_trapd option to the server's configuration file.