Page 1 of 1

installing corrected. due to port 80 being redirected but ..

Posted: Fri Jul 22, 2016 11:36 am
by cbabgh
I edited the httpd.conf file to listen on port 99. Starts but when I logon to webpage get:


A Database Error Occurred

Error Number: 1054

Unknown column 'type' in 'field list'

SELECT `username`, `username`, `email`, `id`, `password`, `active`, `last_login`, `apiaccess`, `apikey`, `lang`, `type`, `auth_server_id`, `auth_server_data` FROM (`nagiosna_users`) WHERE `username` = 'nagiosadmin' LIMIT 1

Filename: /var/www/html/nagiosna/application/models/ion_auth_model.php

Line Number: 886

Please help.

Code: Select all

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'daemons'


telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
/GET
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://:8000/">here</a>.</p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at fuel.qocp.planofoundry.com Port 80</address>
</body></html>

Re: installing corrected. due to port 80 being redirected bu

Posted: Fri Jul 22, 2016 12:31 pm
by bwallace
I did the same here, edited httpd conf so it was listening on a port other than 80. Couldn't reach the web ui at all. To be clear, is your Network Analyzer installed on a clean, minimal system?
Refer to the 'Installation Prerequisites' section of this doc:
https://assets.nagios.com/downloads/nag ... 1456514247