Upgrade of R3.3 fails because of ajaxterm
Posted: Thu Aug 23, 2012 2:13 am
While running the upgrade to R3.3 the installer suddenly stopped with the description below:
Complete!
`/usr/share/ajaxterm/' -> `/usr/local/nagios/share/ajaxterm'
`/usr/share/ajaxterm/ajaxterm.pyc' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.pyc'
`/usr/share/ajaxterm/ajaxterm.js' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.js'
`/usr/share/ajaxterm/qweb.py' -> `/usr/local/nagios/share/ajaxterm/qweb.py'
`/usr/share/ajaxterm/qweb.pyo' -> `/usr/local/nagios/share/ajaxterm/qweb.pyo'
`/usr/share/ajaxterm/sarissa_dhtml.js' -> `/usr/local/nagios/share/ajaxterm/sarissa_dhtml.js'
`/usr/share/ajaxterm/sarissa.js' -> `/usr/local/nagios/share/ajaxterm/sarissa.js'
`/usr/share/ajaxterm/ajaxterm.html' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.html'
`/usr/share/ajaxterm/ajaxterm.css' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.css'
`/usr/share/ajaxterm/ajaxterm.py' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.py'
`/usr/share/ajaxterm/qweb.pyc' -> `/usr/local/nagios/share/ajaxterm/qweb.pyc'
`/usr/share/ajaxterm/ajaxterm.pyo' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.pyo'
CHECK1: 0
CHECK2: 0
Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 29 of /etc/httpd/conf.d/ssl.conf: </VirtualHost> without matching <VirtualHost> section [FAILED]
When i checked the ssl file i noticed the following lines got added:
## AJAXTERM #####################
ProxyRequests Off
<Proxy *>
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
AuthName EnterPassword
AuthType Basic
require valid-user
Order Deny,allow
Allow from all
</Proxy>
ProxyPass /nagios/ajaxterm/ http://localhost:8022/ [^]
ProxyPassReverse /nagios/ajaxterm/ http://localhost:8022/ [^]
## AJAXTERM #####################
</VirtualHost>
The problem is that there is no <virtualhost> beginning is added but just the closing. The config files are untouched versions so i assume the <virtualhost> part does not get added somewhere.
I made a bug report for this as well.
Complete!
`/usr/share/ajaxterm/' -> `/usr/local/nagios/share/ajaxterm'
`/usr/share/ajaxterm/ajaxterm.pyc' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.pyc'
`/usr/share/ajaxterm/ajaxterm.js' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.js'
`/usr/share/ajaxterm/qweb.py' -> `/usr/local/nagios/share/ajaxterm/qweb.py'
`/usr/share/ajaxterm/qweb.pyo' -> `/usr/local/nagios/share/ajaxterm/qweb.pyo'
`/usr/share/ajaxterm/sarissa_dhtml.js' -> `/usr/local/nagios/share/ajaxterm/sarissa_dhtml.js'
`/usr/share/ajaxterm/sarissa.js' -> `/usr/local/nagios/share/ajaxterm/sarissa.js'
`/usr/share/ajaxterm/ajaxterm.html' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.html'
`/usr/share/ajaxterm/ajaxterm.css' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.css'
`/usr/share/ajaxterm/ajaxterm.py' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.py'
`/usr/share/ajaxterm/qweb.pyc' -> `/usr/local/nagios/share/ajaxterm/qweb.pyc'
`/usr/share/ajaxterm/ajaxterm.pyo' -> `/usr/local/nagios/share/ajaxterm/ajaxterm.pyo'
CHECK1: 0
CHECK2: 0
Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 29 of /etc/httpd/conf.d/ssl.conf: </VirtualHost> without matching <VirtualHost> section [FAILED]
When i checked the ssl file i noticed the following lines got added:
## AJAXTERM #####################
ProxyRequests Off
<Proxy *>
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
AuthName EnterPassword
AuthType Basic
require valid-user
Order Deny,allow
Allow from all
</Proxy>
ProxyPass /nagios/ajaxterm/ http://localhost:8022/ [^]
ProxyPassReverse /nagios/ajaxterm/ http://localhost:8022/ [^]
## AJAXTERM #####################
</VirtualHost>
The problem is that there is no <virtualhost> beginning is added but just the closing. The config files are untouched versions so i assume the <virtualhost> part does not get added somewhere.
I made a bug report for this as well.