On Tue, 2009-03-03 at 11:17 -0500, Carolyn Beeton wrote: > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf > > Of Paul McDaid (JIRA) > > Sent: Monday, March 02, 2009 6:15 AM > > To: [email protected] > > Subject: [SFtrack] Created: (XECS-2296) sipxsupervisor > > configtest should notcheck for existance of alarm-config.xml > > unless sipxsupervisoris running > > > > URL: http://track.sipfoundry.org/browse/XECS-2296 > > > > Currently when sipxpbx configtest is run before sipXconfig > > runs, then it reports the following error: > > > > Checking sipxsupervisor:Configuration file not found: > > '/etc/sipxpbx/alarm-config.xml' > > [FAILED] > > > > > > This is due to the fact that alarm-config.xml is only created > > when sipXconfig runs. There is an existing issue where this > > isn't being done by sipXconfig (XCF-3308) which will be fixed > > in a future revision. > > > > However a change is required to sipxsupervisor.sh so that it > > only checks for file: alarm-config.xml if sipxsupervisor is running. > > > > Checking for supervisor alone is not enough, because config must also be > running and have done the replication (or did you mean sipXconfig in the > last sentence above?). I think it would be better to validate the file > only if it exists... any objections?
None - we've done the same thing in a number of places. The absence of the file may not be an error - an invalid one that's there certainly is. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
