Search found 10 matches

by mcamcintyrem
Fri May 02, 2014 11:46 am
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

OK, I started over. I reinstalled the Ubuntu server again. This time I installed Nagios 3 using Synaptic as you suggested. Nagios is running and I can see the localhost and use the menu. I am also following the instructions on this online article: http://nagios.sourceforge.net/docs/3_0/monitoring-wi...
by mcamcintyrem
Thu May 01, 2014 5:04 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

Here's another intersting fact. I also installed Webmin on this server. Webmin uses CGI files and they are working properly. So the problem seems to be with the Nagios install, not Apache.
by mcamcintyrem
Thu May 01, 2014 4:57 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

I'm about to give up on this. I don't understand what could be wrong. This is a fresh install of Ubuntu Server 14.04. I installed Apache, MySQL and PHP during the initial server install. I then install the XFCE4 environment to make managing the server easier. Then I downloaded Nagios Core and the pl...
by mcamcintyrem
Thu May 01, 2014 4:54 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

Here is the apache2.conf file. # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/docs/2.4/ for detailed information about # the directives and /usr/share/doc/apache2/README.Debian about...
by mcamcintyrem
Thu May 01, 2014 4:16 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

By executing the second command, I get the following response: > apache2 -M | grep cgi [Thu May 01 16:15:36.026090 2014] [core:warn] [pid 8344] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Thu May 01 16:15:36.026183 2014] [core:warn] [pid 8344] AH00111: Config variable ${APACHE_PID_FI...
by mcamcintyrem
Thu May 01, 2014 3:31 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

When I run the command that you indicate, I get the following:

No command 'httpd' found, di you mean:
Command 'http' from package 'httpie' (Universe)
Command 'xttpd' from package 'xtide' (Universe)
Command 'https' from package 'httpie' (universe)
httpd: command not found
by mcamcintyrem
Thu May 01, 2014 2:52 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

I went ahead and edit that file (/etc/httpd/conf.d/nagios.d/httpd.conf) and inserted the line that you indicated. After restarting Apache, I logged into the web interface. Same problem. CGI's still won't execute. Thus, I reversed my change to the file, going back to the way it was.
by mcamcintyrem
Thu May 01, 2014 1:13 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

There is no /etc/httpd/conf folder. Could you be referring to /etc/httpd/conf.d/nagios.d ? That folder has a httpd.conf file.
by mcamcintyrem
Thu May 01, 2014 12:47 pm
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

Re: CGI files are downloading, not executing

Yes, they are: > ls -la /usr/local/nagios/sbin/ total 5136 drwxr-xr-x 2 root root 4096 May 1 08:00 . drwxr-xr-x 9 root root 4096 May 1 07:41 .. -rwxrwxr-x 1 nagios nagios 316480 May 1 08:00 archivejson.cgi -rwxrwxr-x 1 nagios nagios 301920 May 1 08:00 avail.cgi -rwxrwxr-x 1 nagios nagios 300336 May ...
by mcamcintyrem
Thu May 01, 2014 11:15 am
Forum: Open Source Nagios Projects
Topic: CGI files are downloading, not executing
Replies: 20
Views: 96513

CGI files are downloading, not executing

I have spent several hours this morning searching for help on my problem, but nothing is coming up that helps me. So I hope this post helps me out. I just installed Nagios Core on an Ubuntu 14.04 server. I followed two online guides to help me with the installation: http://nagios.sourceforge.net/doc...