Thanks, Alan, for your suggestion.

I did not know the access file referred to the apache acess file.

I changed the analog.cfg to:
LOGFILE /var/log/httpd/access_log

Now, I get the following message:
[EMAIL PROTECTED] pine]# /usr/bin/analog
/usr/bin/analog: analog version 6.0/Unix
/usr/bin/analog: Warning R: Turning off empty Search Word Report
  (For help on all errors and warnings, see docs/errors.html)
/usr/bin/analog: Warning R: In Domain Report, turning off pie chart of only
  one wedge

Does it mean that analog is working now?

pine


On 10/5/05, Alan Wright < [EMAIL PROTECTED]> wrote:
Ah, I see the problem now.

If there's nothing in the logfile then analog cannot analyse the logs.  As
the access_log file is empty then how can analog analyse the file.

These two lines that you supplied

/usr/bin/analog: Warning F: Can't auto-detect format of logfile
/var/log/analog-6.0/access_log: ignoring it

The first line is saying it cannot work out the format of the log, if there
is nothing in the file then it cannot work out the format.  The second line
is informing you that it is ignoring the file because of the first error.

Change the /var/log/analog-6.0/access_log to where the location of the
logfile is.  I'm not certain where apache stores its logs on mandrake but
usually its in /var/apache/logs/access_log for apache 1.x.x  and
/var/apache2/logs/access_log for apache 2.x.x

if all else fails run

find ./ |grep access_log

this should show all instances of files with the name access_log.  Also the
httpd.conf file will also show the location and name of the file.

Either I've helped or completely confused you.  Let me know if it
works/fails and I'll try to help you more

Rgds

Alan

At 12:33 05/10/2005, you wrote:
>Hi,
>
>Let me clearify a few things so that one may get further insight into the
>problem.
>
>I installed analog as root and started it as root as well.
>/var/log/analog-6.0/ is owned by user root, group root.
>There is no /var/log/analog-6.0/access_log file, that is
>/var/log/analog-6.0/ is empty.
>touch /var/log/analog-6.0/access_log
>
>/usr/bin/analog as root.
>
>[EMAIL PROTECTED] downloads]# /usr/bin/analog
>/usr/bin/analog: analog version 6.0/Unix
>/usr/bin/analog: Warning F: Can't auto-detect format of logfile
>/var/log/analog-6.0/access_log: ignoring it
>
>It appears that I need a template file for access_log.
>
>Where can I get it?
>
>pine
>
>
>
>
>
>On 10/5/05, Alan Wright
><<mailto: [EMAIL PROTECTED]> [EMAIL PROTECTED]> wrote:
>>Basically analog cannot access your logfile correctly.  Does the user you
>>run analog under have the correct permissions to access the log and/or is
>>it in the place you specified.
>>
>>try 'tail /var/log/analog-6.0 /access_log' (this should show you the last
>>few lines of your logfile) and see what (if any) error appears.  From there
>>you should be able to see what the main problem is.
>>
>>For information I set my logfile to 644 permissions (user read/write, group
>>read and all others read) which suits my setup perfectly.
>>
>>Rgds
>>
>>Alan Wright
>>IT Support Technician
>>Centre for Psychological Research in Human Behaviour
>>School of Education, Health & Sciences
>>University of Derby
>>Western Road, Mickleover, DE3 9GX
>>
>><http://ibs.derby.ac.uk/psychology> http://ibs.derby.ac.uk/psychology
>>
>>
>>At 07:22 05/10/2005, you wrote:
>> >Hi,
>> >
>> >I've just installed analog-6.0 on my linux machine:
>> >
>> >Mandrake linux 10.0
>> >Apache 2.0.48
>> >I downloaded rebuild analog-6.0-1.src.rpm
>> >rpmbuild --rebuild analog-6.0-1.src.rpm
>> >Once it is built, I moved the newly generated files to their respective
>> >loactions.
>> >I changed the /etc/analog.cfg file with:
>> >
>> >   LOGFILE /var/log/analog-6.0/access_log
>> >   OUTFILE /var/log/analog-6.0/outputfile.html
>> >
>> >When I started the analog program by issueing the command:
>> >/usr/bin/analog
>> >
>> >[EMAIL PROTECTED] downloads]# /usr/bin/analog
>> >/usr/bin/analog: analog version 6.0/Unix
>> >/usr/bin/analog: Warning F: Failed to open logfile
>> >   /var/log/analog-6.0/access_log: ignoring it
>> >   (For help on all errors and warnings, see docs/errors.html)
>> >/usr/bin/analog: Warning R: Turning off empty time reports
>> >/usr/bin/analog: Warning R: Turning off empty Request Report
>> >/usr/bin/analog: Warning R: Turning off empty File Type Report
>> >/usr/bin/analog: Warning R: Turning off empty Directory Report
>> >/usr/bin/analog: Warning R: Turning off empty Domain Report
>> >/usr/bin/analog: Warning R: Turning off empty Organisation Report
>> >/usr/bin/analog: Warning R: Turning off empty Search Word Report
>> >/usr/bin/analog: Warning R: Turning off empty Operating System Report
>> >/usr/bin/analog: Warning R: Turning off empty File Size Report
>> >/usr/bin/analog: Warning R: Turning off empty Status Code Report
>> >
>> >
>> >It does not seem to start.
>> >
>> >What have I done wrong?
>> >
>> >______________________________________________________________________
>> >This email has been scanned by the MessageLabs Email Security System.
>> >For more information please visit
>> < http://www.messagelabs.com/email >http://www.messagelabs.com/email
>> >______________________________________________________________________
>> >+------------------------------------------------------------------------
>> >|  TO UNSUBSCRIBE from this list:
>> >|
>> <http://lists.meer.net/mailman/listinfo/analog-help > http://lists.meer.net/mailman/listinfo/analog-help
>> >|
>> >|  Analog Documentation:
>> < http://analog.cx/docs/Readme.html> http://analog.cx/docs/Readme.html
>> >|  List
>> archives:
>> < http://www.analog.cx/docs/mailing.html#listarchives> http://www.analog.cx/docs/mailing.html#listarchives
>> >|  Usenet version:
>> < news://news.gmane.org/gmane.comp.web.analog.general>news://news.gmane.org/gmane.comp.web.analog.general
>> >+------------------------------------------------------------------------
>
>
>______________________________________________________________________
>This email has been scanned by the MessageLabs Email Security System.
>For more information please visit http://www.messagelabs.com/email
>______________________________________________________________________


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

Reply via email to