Hi ,
 
I am working under Windows OS. I have Tomcat 4.1 as web server. In the anlgform.html, there are no commands given as hidden parameters in the form. So the .cfg file will take care of all the settings. In my .cfg file I have specified the full path of the UNCOMPRESS command. Then also this probelm is occurring.
 
Actually the result is as below:

General Summary

(Go To: Top: General Summary)

Successful requests: 0


This analysis was produced by analog 5.01(jp-1.04).
Running time: 25 seconds.

(Go To: Top: General Summary)

I have checked the Tomcat logs. Nothings is logged in there. It appears to be a problem wither with perl script or Analog config. Please help me.
 
Thanks and Regards
Murali

 
On 4/15/05, Jeremy Wadsack <[EMAIL PROTECTED]> wrote:
UNCOMPRESS is in the ignore list for anlgform.pl because it could allow
a user to execute any file on your system. See
http://analog.cx/docs/form.html#security.

Also, the form sets the $PATH to empty. But you should be able to use it
from a .cfg file on the system with a full path as you show below.

Check that gzip has permissions to be executed by the user the web
server runs under. Also check your server logs for any error messages
from this.

--
Jeremy Wadsack
Seven Simple Machines


Murali Bestha wrote:

> Hi ,
>
> With respect to the below mail on the mailing list, please clarify me
> the following doubt.
>
> On windows, I use Tomcat Web server on which my form and perl script
> are placed. I have a few .gz files and I use gzip.exe to uncompress them.
>
> I executed the analog command for the .gz log files with the following
> settinsg in cfg file.
>
> UNCOMPRESS    *.gz ("D:\gzip\gzip.exe -cd")
> LOGFORMAT    COMMON
> LOGFILE    D:\analog501\logs\01\*.gz,D:\analog501\logs\02\*.gz
>
> The analog command executed successfully and gave the report.
>
> But when I try the same from the web form and perl script, this doesnt
> any result. Te analog readme manual states that
> "And again as explained above
> <file:///D:/analog501/docs/form.html#formuncompress >, uncompressing of
> compressed logfiles doesn't work unless you use the full pathname in
> the UNCOMPRESS command. "
> What is this full pathname ? Say I have gzip.exe in D:\gzip, then
> D:\gzip\gzip.exe shoud be the full path name, I guess. Please correct
> me if I am wrong.
>
> Thanks and Regards
> Murali
>
>
>
> On Fri, 26 Apr 2002, Marcel wrote:
>
> >/ Hello,
> />/
> />/ i've installed the actual version of analog under linux and all is
> fine.
> />/
> />/ i have 2 logfiles:
> />/
> />/ /path/to/logfile/access.log
> />/ /path/to/logfile/access.log.old.gz
> />/
> />/ now i used the following line in the config file:
> />/
> />/ logfile /path/to/logfile/access.log*
> />/
> />/ so that all logfiles - compressed as well - are used. If i start
> analog
> />/ from the commandline, analog decompresses the compressed logfile
> and then
> />/ analyses both logfiles ==> okay.
> />/
> />/ But if i use the perl script, analog ignores the compressed file -
> why?
> /
> This is explained at http://www.analog.cx/docs/form.html#trouble
> <http://www.analog.cx/docs/form.html#trouble> (bullet
> point 10).
>
>
>
>------------------------------------------------------------------------
>
>+------------------------------------------------------------------------
>|  TO UNSUBSCRIBE from this list:
>|    http://lists.meer.net/mailman/listinfo/analog-help
>|
>|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
>|  List archives:   http://www.analog.cx/docs/mailing.html#listarchives
>+------------------------------------------------------------------------
>
>


+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to