[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Log errors - Need Help



> Error: Can't open log file /home/sites/<site>/logs/web.log



A better subject for your message would have included 'webalizer', but...

This is occuring because you don't have any traffic yet for those sites you
just added, hence they don't have a logfile yet.  You can create one:
[siteadmin]# touch /home/sites/www.foo.com/logs/web.log
give them some artificial traffic, or ignore them til you get traffic.



> I also noticed that Webalizer does not automatically generate a stats
> directory for each new site added.  Can someone tell me how to add this
> to sites created after the Webalizer install?

Yes, webalizer (the cron job that runs it anyway) does create a stats
directory when it needs to put content there.  Those sites w/o traffic won't
have one yet.  Wait 24hrs before looking for /stats output after your
virtual domains actually have traffic.


--Stew Smith
Cobalt Networks