hi
i recently got analog v5.01 installed on my webhost`s Apache 1.3.14 running
on Red Hat Linux release 7.0 (Guinness) Kernel 2.2.16-22 on an i686.
my webhost supports virtually everything.. php,cgi,perl,ssi,etc....
installing analog and making it work was fairly easy ( took me 4 hours to
finish since i had tonnes of things to configure :) )
i can run ./analog from the shell command prompt. and it`ll produce a sweet
output file in the exact way that i want it :)
the problem is in the anlgform.html and anlgform.pl
i can never make them work no matter what.
i have analog installed in a directory inside my httpdocs ( webroot )
whenever i try to use the form. i open the page anlgform.html, i choose all
my settings, and i click the button to generate the logs. i get an error.
this error is one of three.
either 500.
or ERROR 305 -- The server stopped sending data.
or a strange ( cant find server ) like the page you get when either your
internet or the server is down.
i checked my error logs. and i found only one thing
/usr/local/plesk/apache/vhosts/mydomain.com/httpdocs/ws/analog:
Warning L: Large number of corrupt lines in logfile
/usr/local/plesk/apache/vhosts/mydomain.com/logs/access_log: try different
LOGFORMAT
(For help on all errors and warnings, see docs/errors.html)
Current logfile format:
%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
%S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
thats it
and btw. analog is running fine despite this error message ( this error
message is showing up because my logs used to be in CLF format, and i
changed it to combined format without deleting the old logs ). so now i set
my config files to process the logs starting from the day the logs got
combined, and the results are just great.
so why isnt anlgform.pl working?
i have everything set,. and as i said, i tried putting the anlgform files
inside the wwwroot , and inside the cgi-bin with all the permissions set,
but no luck
now back to the shell
i tried typing:
./anlgform.pl
and i got
(offline mode: enter name=value pairs on standard input)
i also tried ./anlgform.pl qv=1 LOGFILE=~/logs/access_log REQINCLUDE=pages
i got the following response
Content-Type: text/plain
CGI ON
DNS NONE
WARNINGS FL
LOGFILE /usr/local/plesk/apache/vhosts/mydomain.com/logs/access_log
REQINCLUDE pages
OUTFILE stdout
hmmm,, what else did i try..
yeah, i tried this command ( dont ask me why.. i simply didnt know what to
try :)
./anlgform.pl -
and poof.
i got some html source dumped on my screen
so i did ./anlgform.pl - >dump.htm
and i viewed it in my browser, and that was a report similar to the outfile
produced by analog.
i seriously dont know what else shall i try.
am i doing something wrong?
where am i supposed to have analog installed? ( i have it in
/usr/local/plesk/apache/vhosts/mydomain.com/httpdocs/ws/ )
which is www.mydomain.com/ws
i tried making the anlgform to work in the same directory as analog but it
failed.
i tried to move the anlgform.pl to my cgi-bin directory. and the same thing
happened
and yes. just as i am typing this email. i tried changing the logs so analog
would use the logfile.log ( sample log gotten with the script ). and still
the same problem
can you please help me out?
thanks in advance
Regards
Louis
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
| http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------