Article ID: 4452, created on Mar 24, 2008, last review on May 2, 2014

  • Applies to:
  • Sphera

Symptoms

Getting the error: apconf2: ReadFromFile failed: '<>' Tags not fitting

Resolution

Execute the following script under "httpd.conf" directory, to check correctness of the tags (execute with Spython).

 

import Common

count = 0
for i in Common.ReadLines('./httpd.conf'):
if not i.strip(): continue
if i.strip()[0] == '#': continue
if i.find('count = count -1
print i.strip() + ' ' + str(count)
elif i.find('<') != -1:
count = count +1
print i.strip() + ' ' + str(count)
if count <0: print i

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF