<div>Should i uncomment some of its entries? I think configure should have than that itself..</div>
<div>But if i must, which one? thanks!</div>
<div> </div>
<div>#define DEFAULT_TEMP_FILE "@localstatedir@/tempfile"<br>#define DEFAULT_STATUS_FILE "@localstatedir@/status.dat"<br>#define DEFAULT_LOG_FILE "@localstatedir@/nagios.log"
<br>#define DEFAULT_LOG_ARCHIVE_PATH "@localstatedir@/archives/"<br>#define DEFAULT_COMMENT_FILE "@localstatedir@/comments.dat"<br>#define DEFAULT_DOWNTIME_FILE "@localstatedir@/downtime.dat"
<br>#define DEFAULT_RETENTION_FILE "@localstatedir@/retention.dat"<br>#define DEFAULT_COMMAND_FILE "@localstatedir@/rw/nagios.cmd"<br>#define DEFAULT_CONFIG_FILE "@sysconfdir@/nagios.cfg"
<br>#define DEFAULT_PHYSICAL_HTML_PATH "@datadir@"<br>#define DEFAULT_URL_HTML_PATH "@htmurl@"<br>#define DEFAULT_PHYSICAL_CGIBIN_PATH "@sbindir@"<br>
#define DEFAULT_URL_CGIBIN_PATH "@cgiurl@"<br>#define DEFAULT_CGI_CONFIG_FILE "@sysconfdir@/cgi.cfg"<br>#define DEFAULT_LOCK_FILE "@lockfile@"
<br>#define DEFAULT_OBJECT_CACHE_FILE "@localstatedir@/objects.cache"<br>#define DEFAULT_EVENT_BROKER_FILE "@localstatedir@/broker.socket"<br>#define DEFAULT_P1_FILE "@bindir@/p1.pl" /**** EMBEDDED PERL ****/
<br>#define DEFAULT_AUTH_FILE "" /**** EMBEDDED PERL - IS THIS USED? ****/<br> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 8/31/05, <b class="gmail_sendername">Elizar M. Palad</b> <<a href="mailto:elizar.palad@gmail.com">elizar.palad@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div> </div>
<div>I rerun ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmlurl=/nagios --with-nagios-user=nagios --with-nagios-groupp=nagios --with-gd-lib=/usr/local/lib</div>
<div> </div>
<div>and summary is below:</div>
<div>*** Configuration summary for nagios 2.0b4 08-02-2005 ***:</div>
<p> General Options:<br> -------------------------<br> Nagios executable: nagios<br> Nagios user/group: nagios,nagios<br> Command user/group: nagios,nagios<br> Embedded Perl: no<br> Event Broker: yes
<br> Install ${prefix}: /usr/local/nagios<br> Lock file: ${prefix}/var/nagios.lock<br> Init directory: /etc/init.d<br> Host OS: solaris2.6</p>
<p> Web Interface Options:<br> ------------------------<br> HTML URL: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost/nagios/" target="_blank">http://localhost/nagios/</a>
<br> CGI URL: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost/nagios/cgi-bin/" target="_blank">http://localhost/nagios/cgi-bin/</a><br> Traceroute (used by WAP):</p>
<p><br>Review the options above for accuracy. If they look okay,<br>type 'make all' to compile the main program and CGIs.<br></p>
<div>------------------</div>
<div> </div>
<div>Looks ok isn't it?</div>
<div> </div>
<div>then when i do 'make all', i have this error:</div>
<div> </div>
<div># make all<br>cd ./base && make<br>make: Fatal error: Don't know how to make target `../include/locations.h'<br>Current working directory /packages/nagios-2.0b4/base<br>*** Error code 1<br>make: Fatal error: Command failed for target `all'
<br> </div>
<div>This is also my second time with this error. What I did was i copy</div>
<div><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://locations.h.in/" target="_blank">locations.h.in</a> as locations.h :-)</div>
<div>and the compilation continues.. (was that not right? :)</div>
<div> </div>
<div>thanks!</div>
<div><span class="e" id="q_1060a8441266103c_1">
<div><br><br> </div>
<div><span class="gmail_quote">On 8/31/05, <b class="gmail_sendername">Subhendu Ghosh</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sghosh@sghosh.org" target="_blank">sghosh@sghosh.org</a>
> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>yes - please run configure again - check for errors<br><br><br>On Wed, 31 Aug 2005, Elizar M. Palad wrote:
<br><br>> Hi Subhendu!<br>> I did my own compile. I am running it in solaris 2.6 machine with<br>> gcc/make.<br>> I just followed the instruction in the documentation and all went well.<br>> Should i redo it from ./configure? thanks!
<br>> eli<br>><br>> On 8/31/05, Subhendu Ghosh <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sghosh@sghosh.org" target="_blank">sghosh@sghosh.org</a>> wrote:<br>>><br>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote:
<br>>><br>>>> Hi list! <br>>>> This is my first time in nagios and first time in this list.<br>>>> I tried following the direction in the documentation in the source<br>>>> and browsed the archive for this basic/common (iguess) problem
<br>>>> in setting up nagios. I hope someone out there can help me.<br>>>> When i access nagios using IE (<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhosts/nagios" target="_blank">
http://localhosts/nagios</a>) the<br>>>> web interface shows up, but clicking the monitoring links (cgis) <br>>>> i have this:<br>>>> Whoops!<br>>>><br>>>> *Error: Could not open CGI config file '@sysconfdir@/cgi.cfg' for
<br>>> reading!*<br>>>> I have every config file in /usr/local/nagios/etc <br>>>> (cgi.cfg, nagios.cfg and other cfg files)<br>>>> pre-flight check shows no errors<br>>>><br>>>> Total Warnings: 0
<br>>>> Total Errors: 0<br>>>><br>>>> Things look okay - No serious problems were detected during the <br>>> pre-flight<br>>>> check<br>>>><br>>>> What could be wrong? what did i miss? no errors in apache logs or in
<br>>>> configuation of httpd.conf.<br>>>> Help me please? someone? if there's additional info you guys might need, <br>>>> please let me know..<br>>>> thanks!<br>>>> eli<br>>>>
<br>>>><br>>><br>>> Did you do your own compile or install from somewhere else?<br>>><br>>> 1. Pre-flight check does not looks at cgi.cfg (not needed for nagios to<br>>> function - only the UI)
<br>>> 2. @sysconfdir@ is supposed to be replaced at "configure" time before<br>>> compile. The base path is hardcoded into the cgis. <br>>><br>>> Looks like either the compile process bombed or you have a bad package.
<br>>><br>>> --<br>>> -sg<br>>><br>><br>><br>><br>><br><br>--<br><br><br><br>------------------------------------------------------- <br>SF.Net email is Sponsored by the Better Software Conference & EXPO
<br>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices<br>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA <br>Security * Process Improvement & Measurement *
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sqe.com/bsce5sf" target="_blank">http://www.sqe.com/bsce5sf</a><br>_______________________________________________<br>Nagios-users mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null
<br></blockquote></div><br><br clear="all"><br></span></div>
<div><span class="e" id="q_1060a8441266103c_2">-- <br>----<br>Don't Tell Me How Hard You Work..<br> Show Me How Much You'd Accomplished.. </span></div></blockquote></div><br><br clear="all"><br>-- <br>----<br>Don't Tell Me How Hard You Work..
<br> Show Me How Much You'd Accomplished..