For reference, what operating system are you using? On Thu, Mar 26, 2009 at 6:16 AM, Attila Csontos <[email protected]> wrote: > 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ôvodná správa ----- > Predmet: [Nut-upsuser] Nut- Apache cgi scripts problem > Od: Attila Csontos <[email protected]> > Pre: [email protected] > Dátum: 26. marec 2009 9:19:18 >> 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, [email protected] 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: http://localhost/header.html >> [Thu Mar 26 09:12:38 2009] [error] [client 127.0.0.1] Premature end of >> script headers: upsstats.cgi, referer: http://localhost/header.html >> >> What shall I do ? >> >> Attila >> >> _______________________________________________ >> Nut-upsuser mailing list >> [email protected] >> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser >> >> >> > > > > _______________________________________________ > Nut-upsuser mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser >
-- - Charles Lepple _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

