Hi,
Can u tell me what does make distclean and make clean do?? Would this change or modify my existing checks and services? ?
Regards,
Farooq Ahmed
Error Whoops! Error: Could not open CGI config file
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Error Whoops! Error: Could not open CGI config file
This only removes objects built by gcc when building the nagios cgi's and core engine. It will not effect the binaries in place or any configurations you have done.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Error Whoops! Error: Could not open CGI config file
Hi,
Do I need to restart nagios after doing that?
Regards,
Farooq Ahmed
Do I need to restart nagios after doing that?
Regards,
Farooq Ahmed
Re: Error Whoops! Error: Could not open CGI config file
you should probably stop the nagios service, compile and install, and then start nagios again.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Error Whoops! Error: Could not open CGI config file
Hi,
Will update once done.
Thanks for the advice.
Regards,
Farooq Ahmed
Will update once done.
Thanks for the advice.
Regards,
Farooq Ahmed
Re: Error Whoops! Error: Could not open CGI config file
Great, let us know.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Error Whoops! Error: Could not open CGI config file
Hi,sreinhardt wrote:Well the cgis are coded to look in certain places via the ./configure options you originally listed. Are these still using the prefix with nagios-4.0.2? Probably the easiest route would be to go back to the nagios build directory and run the following commands.This will use all the normal defualts that specify that everything should be based off /usr/local/nagios/Code: Select all
make distclean; make clean ./configure make all make install
I was about to carry out the steps. Do i need to include "--with-command-group=nagcmd" with "./configure "??
Regards,
Farooq Ahmed
Re: Error Whoops! Error: Could not open CGI config file
Most likely not as I believe it is default now. But it wouldn't hurt to include it
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Error Whoops! Error: Could not open CGI config file
Hi,
It worked. Thanks a million. Now all .cgi's work.
Regards,
Farooq AHmed
It worked. Thanks a million. Now all .cgi's work.
Regards,
Farooq AHmed