[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Can't access GUI control panel
- Subject: RE: [cobalt-users] Can't access GUI control panel
- From: "ElToPo" <eltopo@xxxxxxxxxxxxxxxxx>
- Date: Mon Sep 17 11:17:05 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I have a problem getting into the GUI on my Raq4. When I type in the IP
> address/admin I get an unfound web site address error, although I can
telnet
> and ftp OK.
>
> In the archives it says go to the following address and download:
> ftp://ftp.nl.cobalt.com/pub/tools/repair_sitemanage.pl
>
> I downloaded the perl script and ran it to recreate the site admins, which
> it seemed to do, but I still cannot access the admin GUI.
>
> Any clues?
>
> Paul
Paul,
The program repair_sitemanage.pl says in the first lines that the main site
does not repair.
--------- COMPLETE SCRIPT ---------
#!/usr/bin/perl -w
# creates the admin server pages for all domains on a RaQ 3 or RaQ 4
# except for the home site
require Cobalt::Layout;
require Cobalt::Admserv;
require Cobalt::Vsite;
require Cobalt::Meta;
use Cobalt::Product;
foreach my $vhost (Cobalt::Vsite::vsite_list()) {
next unless ($$vhost[1]);
my $fqdn = $$vhost[1];
my ($group) = Cobalt::Meta::query("type" => "vsite",
"keys" => ["name"],
"where" => ["name", "<>", "default",
"and", "fqdn", "=", "$fqdn"]);
# next if($group eq "home");
if($group) {
warn "creating admserver pages for group: $group site name: $fqdn\n";
Cobalt::Layout::layout_siteManage($group, $fqdn);
Cobalt::Admserv::admserv_set_access(qq[$AdminPages_dir/siteManage/$group],
'require', 'group', $group);
unlink("$AdminPages_dir/siteManage/$fqdn") if (-l
"$AdminPages_dir/siteManage/$fqdn");
symlink("$AdminPages_dir/siteManage/$group",
"$AdminPages_dir/siteManage/$fqdn");
}
else {
warn "unkown fqdn: $fqdn or group: $group\n";
}
}
-------- END ---------
You can?t repair the home site with this script but I believe that you have
not damaged anything using it.