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

awstats logresolvemerge.pl

Reply to Post Add a New Topic
UserPost

2:20 pm
April 23, 2008


vtmckoy

Guest

Somebody, PLEASE HELP!!!

I am new to awstats. I've been running the following command successfully for a few months:

/apps/awstats/awstats-6.5/wwwroot/cgi-bin/awstats.pl -config=cfname -update

Now, I'm running it and I'm getting the message below:

webstats:/projects/dae/metrics/conf>/ap
ps/awstats/awstats-6.5/
wwwroot/cgi-bin/awstats.pl -config=MCM
-update
Update for config “/usr/local/etc/awsta
ts/awstats.MCM.conf”
With data in log file “/apps/awstats/aw
stats-6.5/tools/logresolvemerge.pl /pro
jects/dae/metrics/logs/cdcrs234/w3svc1/
*.log |”…
Phase 1 : First bypass old records, sea
rching new record…
Searching new records from beginning of
 log file…
sh: /apps/awstats/awstats-6.5/tools/log
resolvemerge.pl: not found
Error: Command for pipe '/apps/awstats/
awstats-6.5/tools/logresolvemerge.pl /p
rojects/dae/metrics/logs/cdcrs234/w3svc
1/*.log |' failed
Setup ('/usr/local/etc/awstats/awstats.
MCM.conf' file, web server or permissio
ns) may be wrong.
Check config file, permissions and AWSt
ats documentation (in 'docs' directory).

I've checked for the existence of /apps/awstats/awstats-6.5/tools/logresolvemerge.pl and it's there. It's also executable. For example:

cdcux65:webstats:/apps/awstats>ls -l /apps/awstats/awstats-6.5/tools/logresolvemerge.pl
-rwxr-xr-x 1 webstats www 30323 Dec 4 2005 /apps/awstats/awstats-6.5/tools/logresolvemerge.pl

I'm desperately in need of help. Any suggestions?

Thank you,

2:58 pm
April 23, 2008


Jean-Luc

Admin

posts 1125

I do not know how big your log files are. If they are not too big, you can try to run:

logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >combined_log_file

I hope this will help understand where the problem is.

3:05 pm
April 23, 2008


Jean-Luc

Admin

posts 1125

You can try my suggestion even if your log files are huge. Either you quickly get an error message or things work (and, after a while, you can kill the task if necessary).

4:02 pm
April 23, 2008


vtroymck

Guest

Jean-Luc said:

I do not know how big your log files are. If they are not too big, you can try to run:

logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >combined_log_file

I hope this will help understand where the problem is.


Thank you for responding. When you stated: >combined_log_file, are you saying to redirect it to a log file? If so, I changed my conf file to:

LogFile=”/apps/awstats/awstats-6.5/tools/logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >vtm_log_file”

Then, I re-ran the update and got the following:

cdcux65:webstats:/projects/dae/metrics/conf>/apps/awstats/
awstats-6.5/wwwroot/cgi-bin/awstats.pl -config=MCM -update
Update for config “/usr/local/etc/awstats/awstats.MCM.conf”
With data in log file “/apps/awstats/awstats-6.5/tools/logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >vtm_log_file”…
Error: Couldn't open server log file “/apps/awstats/awstats-6.5/tools/logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >vtm_log_file” : No such file or directory
Setup ('/usr/local/etc/awstats/awstats.MCM.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log is definitely there…

The last log is:

-rw-rw-r– 1 webstats www 1679475 Apr 15 01:15
/projects/dae/metrics/logs/cdcrs234/w3svc1/ex080414.log.

4:13 pm
April 23, 2008


Jean-Luc

Admin

posts 1125

It was not what I meant. I suggested that you run

/apps/awstats/awstats-6.5/tools/logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >vtm_log_file

directly from the commmand line without running awstats.pl. The intention is to isolate the error.

4:48 pm
April 23, 2008


vtroymck

Guest

Jean-Luc said:

I do not know how big your log files are. If they are not too big, you can try to run:

logresolvemerge.pl
/projects/dae/metrics/logs/cdcrs234/w3svc1/*.log >combined_log_file

I hope this will help understand where the problem is.


I ran it from the command line and got “not found” for logresolvemerge.pl. Also, no output is in the redirected file.

/projects/dae/metrics/conf>/apps/awstats/awstats-6.5/
tools/logresolvemerge.pl /projects/dae/metrics/logs/>
ksh: /apps/awstats/awstats-6.5/tools/logresolvemerge.pl: not found

I then cut/paste the exact directory structure above and got:

/projects/dae/metrics/conf>ls -l /apps/awstats/awstats-6.5/tools/logresolvemerge.pl
-rwxr-xr-x 1 webstats www 30323 Dec 4 2005
/apps/awstats/awstats-6.5/tools/logresolvemerge.pl

logresolvemerge.pl is there and executable; also the logs are there also.

9:22 pm
April 23, 2008


vtroymck

Member

posts 4

Just an FYI…My problem is resolved. It looks like the executables got corrupted, somehow. I had the backup team restore the awstats directory structure from a previous backup. After it was restored, I was able to run an update, successfully. Thank you…

Reply to Post

Reply to Topic:
awstats logresolvemerge.pl

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:
6 + 5
   


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: 2711

Membership:

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