US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting
Register FAQ Community Calendar Today's Posts Search


Reply
 
Thread Tools
Old 11-03-2010, 10:17 AM   #1
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default awstats not working

since 26/10 awstats writes no more statistics. I think i have changed nothing.
I find no cron for awstats. where should I look? no error in ispmgr.log

sascha
sascha is offline   Reply With Quote
Old 11-03-2010, 07:38 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Check /usr/local/ispmgr/etc/rotate.conf and run this command manually
slava is offline   Reply With Quote
Old 11-04-2010, 10:59 AM   #3
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default

Quote:
Originally Posted by slava View Post
Check /usr/local/ispmgr/etc/rotate.conf and run this command manually
it looks fine?!

*cut*
/var/www/hoffmann/data/logs/domain.de.access.log:1:day:day:/usr/local/ispmgr/sbin/awstats2.sh domain.de __LOG__ /var/www/hoffmann/data/www/domain.de/webstat
/var/www/hoffmann/data/logs/domain.de.error.log:1:day::
*cut*

when i run:
/usr/local/ispmgr/sbin/awstats2.sh domain.de __LOG__ /var/www/hoffmann/data/www/domain.de/webstat
it runs. and nothing happens, no output messages and no new logfiles

i think its not the complete string to generate logfiles. how can i start the hole programm manually, it is not a cronjob?

Last edited by sascha; 11-04-2010 at 03:11 PM.
sascha is offline   Reply With Quote
Old 11-04-2010, 11:43 PM   #4
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Code:
/usr/local/ispmgr/sbin/awstats2.sh domain.de /var/www/hoffmann/data/logs/domain.de.access.log  /var/www/hoffmann/data/www/domain.de/webstat
Also check /var/www/hoffmann/data/logs/domain.de.access.log - is it ok?, you see records from apache in this file? If not - check hardlinks - http://en.ispdoc.com/index.php/Logs_rotation
slava is offline   Reply With Quote
Old 11-05-2010, 11:48 AM   #5
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default

Quote:
Originally Posted by slava View Post
Also check /var/www/hoffmann/data/logs/domain.de.access.log - is it ok?, you see records from apache in this file? If not - check hardlinks - http://en.ispdoc.com/index.php/Logs_rotation

yes, this error and access logs are OK, and i've found the right syntax to generate logs, this is what happens:

Create/Update database for config "/etc/awstats/awstats.domain.de.conf" by AWStats version 6.7 (build 1.892)
From data in log file "/var/www/christoneu/data/logs/domain.de.access.log"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Jumped lines in file: 0
Parsed lines in file: 26909
Found 0 dropped records,
Found 1 corrupted records,
Found 0 old records,
Found 26908 new qualified records.
sed: kann 2 nicht lesen: Datei oder Verzeichnis nicht gefunden

now, november is written, but the logs from the last months are away. why works this not automaticaly, where can i found error logs for this problem?

Last edited by sascha; 11-06-2010 at 05:57 PM.
sascha is offline   Reply With Quote
Old 11-05-2010, 12:07 PM   #6
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default strange

have yet find a other strange problem.
the file manager does not show all files in directorys. if i login with FTP, everything is ok. If i sort files e.g. "name" the file manager forgets the sorting, soon as I go in a different directory.
That will happen only under the respective user, If i login as root in the file manager, it works fine.
is the reason for this 2nd probleme maybe the same?
sascha is offline   Reply With Quote
Old 11-10-2010, 12:48 PM   #7
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default

awstats still not working
sascha is offline   Reply With Quote
Old 11-11-2010, 11:17 AM   #8
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

You need create ticket to our support team (in the BILLmanager) if you if you have purchased license from us, or ask reseller if buy from our reseller.
Also logs rotation maybe broken if you have missed hardlinks to files in home directory http://en.ispdoc.com/index.php/Logs_rotation
slava is offline   Reply With Quote
Old 11-12-2010, 02:32 PM   #9
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default

Quote:
Originally Posted by slava View Post
or ask reseller if buy from our reseller.
i am reseller
Quote:
Originally Posted by slava View Post
Also logs rotation maybe broken if you have missed hardlinks to files in home directory http://en.ispdoc.com/index.php/Logs_rotation
ok, I'm closer to the fault, the user logfiles in
/var/www/user/data/logs
Although written, but no more rotated.
I suspect
/usr/local/ispmgr/sbin/rotate
It is the responsibility. i start this command manually > nothing happens.
how can I check this?

in ISPmanager "Protocol rotation" standart, rotation is activaded with rotation and period is daily.

thx for answer

Last edited by sascha; 11-12-2010 at 02:35 PM.
sascha is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:01 AM.