Hi, have you checked the permissions of the library file and directory, that apache is able to access the file? If that is ok, and it is still not working, do you have something like SELinux enabled?
Cheers, Stefan -- Stefan Marx Infologica - InnoviData - Millenux - Thinking Objects - Topalis Topalis AG, Lilienthalstraße 2/1, 70825 Korntal-Münchingen [DE] Fon +49 711 88770-134 Fax +49 711 88770-199 Sitz und Amtsgericht Stuttgart, HRB 23163 Vorstand: Markus Klingspor, Rudolf Zimmermann Aufsichtsrat: Klaus Böhnke (Vors.), Horst Frick, Helmut Gsänger -----Ursprüngliche Nachricht----- Von: William Afendy <carbo...@gmail.com> Gesendet: Do 27.09.2012 08:47 Betreff: [icinga-users] Internal Server Error An: icinga-users@lists.sourceforge.net; > Hi, > > I'm getting "Internal Server Error" message when trying to execute the cgi > through http. For example http://localhost:30000/icinga/cgi-bin/status.cgi > <http://localhost:30000/icinga/cgi-bin/status.cgi> > > Apache Log shows: > [Wed Sep 26 23:50:08 2012] [error] [client 127.0.0.1] > /home/adam/icinga/sbin/status.cgi: error while loading shared libraries: > libssl.so.1.0.0: cannot open shared object file: No such file or directory > [Wed Sep 26 23:50:08 2012] [error] [client 127.0.0.1] Premature end of script > headers: status.cgi > > > ldd status.cgi > linux-gate.so.1 => (0x009a0000) > libssl.so.1.0.0 => /home/adam/openssl/lib/libssl.so.1.0.0 (0x006c1000) > libcrypto.so.1.0.0 => /home/adam/openssl/lib/libcrypto.so.1.0.0 > (0x00110000) > libc.so.6 => /lib/i686/nosegneg/libc.so.6 (0x00750000) > libdl.so.2 => /lib/libdl.so.2 (0x008ae000) > /lib/ld-linux.so.2 (0x00731000) > > > No libssl error if I execute the cgi within terminal, > /home/adam/icinga/sbin/status.cgi > > ./status.cgi > getcgivars(): Unsupported REQUEST_METHOD -> '' > > I'm guessing you're trying to execute the CGI from a command line. > In order to do that, you need to set the REQUEST_METHOD environment > variable to either "GET", "HEAD", or "POST". When using the > GET and HEAD methods, arguments can be passed to the CGI > by setting the "QUERY_STRING" environment variable. If you're > using the POST method, data is read from standard input. Also of > note: if you've enabled authentication in the CGIs, you must set the > "REMOTE_USER" environment variable to be the name of the user you're > "authenticated" as. > > The libssl error only occurs when the cgi files are accessed through http, I > can't seem to figure out what I missed in apache configuration. > > -wa > > > > > > > > > -- > William Afendy > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > icinga-users mailing list > > icinga-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/icinga-users > > > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users