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

Is AWStats a two steps process when using logresolvemerge ?

Reply to Post Add a New Topic
UserPost

10:44 pm
March 28, 2014


nrmesh

Guest

Is this something like 2 steps or can it be achived in a single step. in the config file?

Below rule works?

LogFile="<path-to>/logresolvemerge.pl /log/file1/access-2014-03.* /log/file2/access-2014-03.* |"  

10:52 pm
March 28, 2014


Jean-Luc

Admin

posts 1125

Hi,

 

Not sure I understand your question. It can be seen as a 2 steps process, but this is transparent to the user. The logresolvemerge command and the AWStats update command are executed as one combined command. I hope this makes it a bit more clear.

3:27 pm
March 29, 2014


nrmesh

Guest

Thank you for your response. I have used the above line in the config file of my site. But when I run it manually its able to genenrate the database file. But whereas if I put this in a cron I am getting the below errors.

Create/Update database for config "/etc/awstats/awstats.mysite.conf" by AWStats version 7.3 (build 20140126)
From data in log file "/awstats/awstats-7.3/tools/logresolvemerge.pl /u00/<host1>/mysite-access* /u00/<host2>/mysite-access* |"…
Phase 1 : First bypass old records, searching new record…
Searching new records from beginning of log file…
Error: Command for pipe '/awstats/awstats-7.3/tools/logresolvemerge.pl /u00/
<host1>/mysite-access* /u00/<host2>/mysite-access* |' failed
Setup ('/etc/awstats/awstats.mysite.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Now my doubt is do we need to run logresolvemerge.pl out side of awstats.pl script and use merged file in the LogFile to generate the mertics?

Reply to Post

Reply to Topic:
Is AWStats a two steps process when using logresolvemerge ?

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:
9 + 2
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
9 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

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

Membership:

There are 257 Members
There have been 305 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)