Search found 16 matches
- Wed Jun 17, 2015 9:09 am
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Nothing I can think of. Lock away 
- Wed Jun 17, 2015 4:25 am
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Did one additional modification now: Moved the nagios .cgis into cgi-bin/nagios and modified the nagios.conf accordingly. so it looks like this now: ScriptAlias /nagios/cgi-bin "/var/www/vhosts/myserver/httpdocs/cgi-bin/nagios" #ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"...
- Wed Jun 17, 2015 3:39 am
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Alright, I seem to have a solution, of sorts. Did the following: $ cp -p /usr/local/nagios/sbin/* /var/www/vhosts/myserver/httpdocs/cgi-bin $ chown [user that plesk set up]:psacln /var/www/vhosts/myserver/httpdocs/cgi-bin/* Note: I had it set up as nagios:nagios first, but that caused suexec to thro...
- Tue Jun 16, 2015 5:18 pm
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Sure! sudo apachectl -M AH00548: NameVirtualHost has no effect and will be removed in the next release / etc/apache2/plesk.conf.d/server.conf:6 Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) versi...
- Tue Jun 16, 2015 10:54 am
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Not sure how I would go about that. According to the httpd.conf (now nagios.conf), the document root for Nagios is in /usr/local/nagios/share (as per: Alias /nagios "/usr/local/nagios/share") while the scripts can be found in /usr/local/nagios/sbin (as per: ScriptAlias /nagios/cgi-bin &quo...
- Tue Jun 16, 2015 4:24 am
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Update: disabling suexec solves the problem. This doesn't feel like a good solution, however.
- Tue Jun 16, 2015 3:40 am
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
I'm not sure I can create a plesk free environment on the same server. (Disabling plesk services does nothing and I've not yet been able to create a vhost that ignores plesk. Aside from running a different httpd, I'm not sure how I would go around plesk. I guess I could set up nagios on a different ...
- Mon Jun 15, 2015 4:24 pm
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
/tmp/nagioscore-master$ sudo /usr/bin/install -c -m 644 sample-config/httpd.conf /etc/apache2/sites-enabled/nagios.conf $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server....
- Mon Jun 15, 2015 4:01 pm
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
certainly. /tmp/nagioscore-master$ sudo make install-webconf [sudo] password for scrusi: /usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf *** Nagios/Apache conf file installed *** $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 AH00548: NameVirtual...
- Mon Jun 15, 2015 1:41 pm
- Forum: Open Source Nagios Projects
- Topic: CGI and Internal Server Errors
- Replies: 32
- Views: 42901
Re: CGI and Internal Server Errors
Sure.
Code: Select all
$ cat /etc/selinux/config
SELINUX=disabled