[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Site Management Pages Gone (Monkey Wrench Goes Nowhere)
- Subject: Re: [cobalt-users] Site Management Pages Gone (Monkey Wrench Goes Nowhere)
- From: Kevin Bonner <keb@xxxxxx>
- Date: Thu Feb 13 13:13:04 2003
- Organization: CTI Networks
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
It seems to me that this has been a problem for a very long time. How long
will it take before Sun decides to fix this problem? This happened to me on
a new RaQ4r which I was copying site data to from an old RaQ4. I hadn't been
on the cobalt lists at the time, and didn't know about the repair scripts, so
I decided to use the siteManage info from the old RaQ. After restoring the
siteManage dir, I began to hunt on the net and was amazed by the number of
people who have had this problem before.
Looking at the source for Cobalt::Meta::vsite, I see the following in the del
function:
qx[ /bin/rm -fr $AdminPages_dir/siteManage/$self->{name} ];
I am going to take a wild guess and assume this may be one area that is
causing the problem. There are no checks on the $self->{name} to ensure that
it is set, so if it is empty, this would lead to the entire siteManage
directory being removed. My suggestion would be to either add more checks to
the del function or to cd to the siteManage directory, then do the 'rm -fr'
on the site name like so:
qx[ cd $AdminPages_dir/siteManage; /bin/rm -fr $self->{name} ];
Kevin
On Thursday 13 February 2003 10:16, Jeff Curnow wrote:
> I've looked in the archives and seen some things that might _kind_ of
> relate to this, but I don't know enough about Perl and how the admnsrv
> system is setup to know if they really apply. Here's the problem:
>
> When I go to the site management page, all of my virtual sites show up
> fine. When I click on the little monkey wrench icon to adjust the
> settings for any of them, I get a "the URL does not exist on this
> server" message. I also get this message if I try to log into the site
> management directly through the web URL.
>
> Last night I removed a site from my server using the GUI. Everything
> seemed to go smoothly...
>
> Jeff Curnow