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:
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).
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…
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:
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…