Check your error log. Possibly in /usr/local/aolserver/logs/
Look for any errors in sourcing your file.
If necessary put "ns_log notice {sourcing module-name-defs.tcl}" at the top
of your file and "ns_log notice {done sourcing module-name-defs.tcl}" at the
bottom of your file and see that aolserver started sourcing it and finished
sourcing it.