Thanks to all who helped me wtih the Logfile format. It works! On to my next problem.. I am trying to run my own copy of analog on a Unix web server. I have successfully tested it on my win2000 machine so I know the CFG works. Our web server already has a working copy of analog. I copied their analog executable to my home directory renamed it to analog_john and set proper permissions on it. When I telnet in and try to run it, it runs their cfg file. What I mean is that it ignores my local cfg file and domains.tab and log file and runs the cfg file they set up. My config file is the default one with the only change being Logformat and OUTFILE Report.html. So it should have the default HOSTNAME "[my organisation]" and be looking for the logfile in my directory. I do not have root access so I cannot "Install" a newcopy of analog. I would like to upgrade to the latest if someone can tell me how to do it. Here is a copy of the telnet session
Sun Microsystems Inc. SunOS 5.6 Generic August 1997 You have mail. vt100 eweb1:/home/jgdoke/public_html/reports $ dir total 496 drwxrwxr-x 5 jgdoke ab 512 Mar 29 16:16 ./ drwxrwxr-x 3 jgdoke ab 512 Mar 29 14:23 ../ -rw-rw-r-- 1 jgdoke ab 730 Mar 29 16:18 analog.cfg -rwxr-xr-x 1 jgdoke ab 205160 Mar 29 16:10 analog_john* -rw-rw-r-- 1 jgdoke ab 8220 Mar 29 09:10 anlgform.html -rwxrwxr-x 1 jgdoke ab 7913 Mar 29 09:10 anlgform.pl* -rw-rw-r-- 1 jgdoke ab 4177 Mar 29 16:16 domains.tab -rw-rw-r-- 1 jgdoke ab 8470 Apr 2 09:26 logfile.log drwxrwxr-x 2 jgdoke ab 3072 Mar 29 09:13 images/ drwxrwxr-x 2 jgdoke ab 3072 Mar 29 15:21 lang/ drwxrwxr-x 2 jgdoke ab 1024 Mar 29 10:47 logs/ eweb1:/home/jgdoke/public_html/reports $ analog_john analog_john: Warning F: Failed to open domains file /usr/local/www/lib/analog/domains.tab: ignoring it (For help on all errors and warnings, see docs/errors.html) analog_john: Warning F: Failed to open DNS output file /usr/local/www/lib/analog/dnscache for writing: ignoring it analog_john: Warning F: Failed to open logfile /www/ab/logs/access: ignoring it analog_john: Warning R: Turning off empty time reports analog_john: Warning R: Turning off empty Request Report analog_john: Warning R: Turning off empty Redirection Report analog_john: Warning R: Turning off empty Failure Report analog_john: Warning R: Turning off empty File Type Report analog_john: Warning R: Turning off empty Directory Report analog_john: Warning R: Turning off empty Host Report analog_john: Warning R: Turning off empty Domain Report analog_john: Warning R: Turning off empty Referrer Report analog_john: Warning R: Turning off empty Referring Site Report analog_john: Warning R: Turning off empty Redirected Referrer Report analog_john: Warning R: Turning off empty Failed Referrer Report analog_john: Warning R: Turning off empty Browser Report analog_john: Warning R: Turning off empty Browser Summary analog_john: Warning R: Turning off empty Virtual Host Report analog_john: Warning R: Turning off empty User Report analog_john: Warning R: Turning off empty User Failure Report analog_john: Warning R: Turning off empty File Size Report analog_john: Warning R: Turning off empty Status Code Report <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="analog3.11/Unix"> <title>Web Server Statistics for Allen-Bradley</title></head> <body> <h1><a NAME="Top"><IMG src="images/analogo.gif" alt=""> Web Server Statistics for</a> <a HREF="www.ab.com">Allen-Bradley</a></h1> Program started at Tue-02-Apr-2002 09:26. <br><hr> <h2><a NAME="Rep8">General Summary</a></h2> <p>(<b>Go To</b>: <a HREF="#Top">Top</a>: General Summary) <p><b>Successful requests:</b> 0 <hr> <i>This analysis was produced by <a HREF="http://www.statslab.cam.ac.uk/~sret1/analog/">analog3.11/Unix</a>. <br><b>Running time:</b> 14 seconds. </i> <p>(<b>Go To</b>: <a HREF="#Top">Top</a>: <a HREF="#Rep8">General Summary</a>) <p><a href="http://validator.w3.org/"> <img src="images/html2.gif" alt="HTML 2.0 Conformant!"></a> </body> </html> eweb1:/home/jgdoke/public_html/reports $ ./analog_john ./analog_john: Warning F: Failed to open domains file /usr/local/www/lib/analog/domains.tab: ignoring it (For help on all errors and warnings, see docs/errors.html) ./analog_john: Warning F: Failed to open DNS output file /usr/local/www/lib/analog/dnscache for writing: ignoring it ./analog_john: Warning F: Failed to open logfile /www/ab/logs/access: ignoring it ./analog_john: Warning R: Turning off empty time reports ./analog_john: Warning R: Turning off empty Request Report ./analog_john: Warning R: Turning off empty Redirection Report ./analog_john: Warning R: Turning off empty Failure Report ./analog_john: Warning R: Turning off empty File Type Report ./analog_john: Warning R: Turning off empty Directory Report ./analog_john: Warning R: Turning off empty Host Report ./analog_john: Warning R: Turning off empty Domain Report ./analog_john: Warning R: Turning off empty Referrer Report ./analog_john: Warning R: Turning off empty Referring Site Report ./analog_john: Warning R: Turning off empty Redirected Referrer Report ./analog_john: Warning R: Turning off empty Failed Referrer Report ./analog_john: Warning R: Turning off empty Browser Report ./analog_john: Warning R: Turning off empty Browser Summary ./analog_john: Warning R: Turning off empty Virtual Host Report ./analog_john: Warning R: Turning off empty User Report ./analog_john: Warning R: Turning off empty User Failure Report ./analog_john: Warning R: Turning off empty File Size Report ./analog_john: Warning R: Turning off empty Status Code Report <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head> eweb1:/home/jgdoke/public_html/reports +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------
