[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Webalizer pkg not creating stats directories for new sites
- Subject: Re: [cobalt-users] Webalizer pkg not creating stats directories for new sites
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Thu Jun 20 15:02:51 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
"Cody Watkins" <codyw@xxxxxxxxxxxxxxxxx> wrote:
> The new webalizer package puts the stats in /home/sites/sitexx/web/stats,
> but I changed it to /home/sites/sitexx/users/stats/web in the
> /etc/cron.daily/webalizer.pl file.
Cody, since usernames are unique across the server, you aren't expecting
that you can setup a user named "stats" on each site are you? Care to share
what motivated you to make the above change? Maybe there's an alternative
to address whatever problem caused you to go the above route.
> Any suggestions on why it isn't making the new stats directories? I
> searched the archives and found a similar problem but no resolution.
>
> I get this in the admin email box everyday:
>
> --------------------------------------------------------------------------
---------------------------------------------------
> Date: Tue, 18 Jun 2002 06:12:15 -0700
> From: root (Cron Daemon)
> To: root
> Subject: Cron <root@ns3> run-parts /etc/cron.daily
>
> Error: Can't change directory to
> /home/sites/www.yourcompany.com/users/stats/web
> chown: /home/sites/www.yourcompany.com/users/stats/web: No such file or
> directory
/home/sites/www.yourcompany.com/users/stats/web doesn't exist so chown can't
change ownership on it. And unless you manually created
/home/sites/www.yourcompany.com/users/stats or called a script to create
users/stats for each site, that directory probably doesn't exist either.
Please verify these directories exist and describe if you took these steps.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/