Allow spectators in my server

Hello,

i want to enable spectators on my server.
I have the command vars.maxSpectators 4 and vars.maxPlayers 60 in my startup.txt.
But when i try to join as spectator to my server, i got this message:
spectator

Can somebody help? thx