[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] CMU not getting all the sites
- Subject: Re: [cobalt-users] CMU not getting all the sites
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Thu Jan 16 16:44:00 2003
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
"Matt Darnell" <mdarnell@xxxxxxxxxxx> wrote:
> I am running an XTR and the latest version of the CMU. About 1 week ago
we
> had and incedent and ever since the CMU has not gotten all the sites. I
use
> the CMU with raqbackup.
Is anything useful reported in /home/cmu/cmu.log?
> The server is working well execpt for the asp server won't run.
Did it previously? If it worked previously can you think of anything
installed or done around the time it stopped working?
> I want to
> get all the sites, accounts passwords etc. off so I can rebuild the box
and
> reinstall. Is there another way to do this? Of course I would like this
to
> be seamless for our customers! :)
tar can backup pretty much everything you need. For databases it's best to
use a dump program that creates SQL statements such as mysqldump or pg_dump,
though turning off the db server and backing up the files is usually ok when
migrating to similar architecture. This will leave you with all of the
files you need, but restoring the sites, users and other files and assigning
them the proper ownership will either require the sites and users to be
recreated in the order they were created or *a lot* of tedious manual
execution of chown and chgrp commands. Of course, if you or someone else is
a competent programmer, this could be automated by parsing files such as
/etc/passwd, /etc/shadow and a site list and taking advantage of Cobalt
shell utilities for adding sites and users, but that's akin to reinventing
the wheel (wheel = CMU). I started building such a solution, but CMU was
released before I finished so I abandoned it.
> To anyone who solves this, there is bag of kona coffee and box of
chocolate
> covered macadamea nuts in it for you!
As enticing as that is I don't think I solved your problem, though I
hopefully shared at least something useful. If you check the log I referred
to and report back I can probably be of more assistance. CMU is usually
fairly reliable, though it often fails to properly import a few % of sites
or users, shows files as owned by another site's user, shows files as owned
by a numerical UID or GID instead of their name usernames or groupnames,
etc., but these are easily discovered and corrected when they're not
rampant.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/