<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Solaris 10 x86 ver.10/08<br>
<br>
Attila<br>
<br>
----- P&ocirc;vodn&aacute; spr&aacute;va -----<br>
Predmet: Re: [Nut-upsuser] Nut- Apache cgi scripts problem<br>
Od: Charles Lepple <a class="moz-txt-link-rfc2396E" href="mailto:clepple@gmail.com">&lt;clepple@gmail.com&gt;</a><br>
Pre: Attila Csontos <a class="moz-txt-link-rfc2396E" href="mailto:attila.csontos@r-sys.sk">&lt;attila.csontos@r-sys.sk&gt;</a><br>
K&oacute;pia: <a class="moz-txt-link-abbreviated" href="mailto:nut-upsuser@lists.alioth.debian.org">nut-upsuser@lists.alioth.debian.org</a><br>
D&aacute;tum: 26. marec 2009 13:16:25<br>
<blockquote
 cite="mid:af8966460903260516h4ff1f51av473a4b3c81aae23a@mail.gmail.com"
 type="cite">
  <pre wrap="">For reference, what operating system are you using?

On Thu, Mar 26, 2009 at 6:16 AM, Attila Csontos <a class="moz-txt-link-rfc2396E" href="mailto:attila.csontos@r-sys.sk">&lt;attila.csontos@r-sys.sk&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I have played with configuration and "google" , I found solution

 LDFLAGS=-R/path/to/gcc/library ./configure
 LDFLAGS=-R/path/to/gcc/library make
 LDFLAGS=-R/path/to/gcc/library make install

Attila

----- P&ocirc;vodn&aacute; spr&aacute;va -----
Predmet: [Nut-upsuser] Nut-  Apache cgi scripts problem
Od: Attila Csontos <a class="moz-txt-link-rfc2396E" href="mailto:attila.csontos@r-sys.sk">&lt;attila.csontos@r-sys.sk&gt;</a>
Pre: <a class="moz-txt-link-abbreviated" href="mailto:nut-upsuser@lists.alioth.debian.org">nut-upsuser@lists.alioth.debian.org</a>
D&aacute;tum: 26. marec 2009 9:19:18
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi all,

 I was trying configure my Apache web server (2.2.11) to start cgi
scripts to monitoring my UPS (Eaton 9130).
I am able display first page (index.html), but when I click on UPS
statistics or setting I got this message:

-----------------------------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, <a class="moz-txt-link-abbreviated" href="mailto:you@example.com">you@example.com</a> and inform them
of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.

-----------------------------------------------------------------------

Then I have a look to apache log files, and I found message:

[Thu Mar 26 09:12:38 2009] [error] [client 127.0.0.1] ld.so.1:
upsstats.cgi: fatal: libgcc_s.so.1: open failed: No such file or
directory, referer: <a class="moz-txt-link-freetext" href="http://localhost/header.html">http://localhost/header.html</a>
[Thu Mar 26 09:12:38 2009] [error] [client 127.0.0.1] Premature end of
script headers: upsstats.cgi, referer: <a class="moz-txt-link-freetext" href="http://localhost/header.html">http://localhost/header.html</a>

What shall I do ?

Attila

_______________________________________________
Nut-upsuser mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a>



      </pre>
    </blockquote>
    <pre wrap="">

_______________________________________________
Nut-upsuser mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
</body>
</html>