Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

accessing a log file via the network

Reply to Post Add a New Topic
UserPost

4:31 am
November 5, 2008


massive

Guest

Hi All,

I recently configure awstats using the pdf compiled by ihsen, worked well I must say very user-friendly I must say. but now I want to try something different, I want to access a Logfile situated on another websever..!

anylise it and get the statitics ! I think this is highly possible!

but I tend to get this:
Error: LogFile parameter is not defined in config/domain file

Setup ('c:\\inetpub\\wwwroot\\awstats website\\cgi-bin/awstats.demo.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

windows server.

I thank you in advace..

4:45 am
November 5, 2008


Jean-Luc

Admin

posts 1125

I am not aware of any particular problem when the log files are accessed through the network.

The message that you get says that the LogFile parameter is not defined in your AWStats config file. Did you double-check that the LogFile parameter is present in the config file ? If yes, please paste the line here.

Alternately, you can try the "-logfile=…" option when running the AWStats update command.

6:19 am
November 5, 2008


massive

Guest

I've checked the log file parameter didnt find it within my config file !

is the something wrong with my config file ??  

plz reply!

thanks again for your response..

6:42 am
November 5, 2008


Jean-Luc

Admin

posts 1125

If the LogFile parameter is not specified in the AWStats config file and if you do not specify it in the AWStats update command line, there is no way for AWStats to know where it can find the log file. So, yes, there is something wrong with your config file.

As you initially had a working version of the config file, I suggest that you create a new config file inspired from the working one, but specifying another path for LogFile. It is likely that you need to change SiteDomain and HostAliases too.

8:16 am
November 5, 2008


massive

Guest

sorry about that. the logFile Parameter was as follows :

logFile=”\\\\192.168.51.26\\W3SVC1578050908\\ex081104.log“

reffering to the log file via the network still no luck..

created a new config file  modified it as follows..

SiteDomain=”epweb-sharepoin”

HostAliases=”epweb-sharepoin www.epweb-sharepoin 192.168.51.26″

please note I changed the ”epweb-sharepoin www.epweb-sharepoin  127.0.0.1 localhost to the above hostaliases in red..

dont as me why ?   I was trying anything that might work..

Regads,

Massivem

8:29 am
November 5, 2008


Jean-Luc

Admin

posts 1125

I guess that the problem is coming from the use of \\\\192.168.51.26. I would replace it by a drive letter and try again.

2:44 am
November 6, 2008


massive

Guest

Thanks !

I changed the ip address to a network drive..! 

LogFile=”L:/ex081104.log”

then I noticed that I was still facing the same error but promising this time!!

so I browsed to the folder that  I had shared for my logs ! I added permission for anonymous user.. !

It worked when  I used cmd line “-logfile=”L:\\ex081104.log”

Thanks 

5:19 am
November 6, 2008


massive

Guest

I cannot update the data using the update button when accessing the awstats website through another computer ! I get this error below !

anyone  ??? help !

Error: Couldn't open server log file “L:\\ex081104.log” : No such file or directory Setup ('c:\\inetpub\\wwwroot\\awstats website\\cgi-bin/awstats.epweb-sharepoin.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).

however I can use the update button when browsing the site on the server !!

thank you in  advanced !

5:29 am
November 6, 2008


Jean-Luc

Admin

posts 1125

I am afraid this does not make sense.

AWStats does not care about who is clicking the update button. You should get exactly the same result when you use the update button when browsing on the server and when browsing on another computer.

5:50 am
November 6, 2008


Jean-Luc

Admin

posts 1125

What you got can be related to the use of the cache of your browser. Empty the cache of the browser to solve the problem. How to empty the cache of the browser is explained here.

5:27 am
November 7, 2008


massive

Guest

I made a mistake on my last response …I meant : I cannot use the update button to update my stats however they are updatable when using cmd line..& refreshing the page afterwards!

7:36 am
November 7, 2008


Jean-Luc

Admin

posts 1125

It sounds like a permission issue. The "user" executing awstats.pl  is not the same from the command line interface and from the browser. For security reasons, the "web user" gets a very low permission level.

You most probably need to adjust the permissions so that the "web user" can access the L:  drive and specifically the L:/ex081104.log  file.

Reply to Post

Reply to Topic:
accessing a log file via the network

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 8
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
16 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)