diff -ur asterisk-1.6.2.0-beta4-old/main/manager.c asterisk-1.6.2.0-beta4/main/manager.c --- asterisk-1.6.2.0-beta4-old/main/manager.c 2009-08-27 08:57:07.000000000 -0500 +++ asterisk-1.6.2.0-beta4/main/manager.c 2009-08-27 09:01:00.000000000 -0500 @@ -4089,8 +4089,8 @@ return 0; displayconnects = 1; - if (!cfg) { - ast_log(LOG_NOTICE, "Unable to open AMI configuration manager.conf. Asterisk management interface (AMI) disabled.\n"); + if (!cfg || cfg == CONFIG_STATUS_FILEINVALID) { + ast_log(LOG_NOTICE, "Unable to open AMI configuration manager.conf, or configuration is invalid. Asterisk management interface (AMI) disabled.\n"); return 0; }