[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: Unable to add/remove domains - RaQ4
- Subject: [cobalt-users] Re: Unable to add/remove domains - RaQ4
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Sun Nov 9 10:43:47 2003
- Organization: BRTNet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
problem solved: can add/delete domains again (yay)
problem not solved: ghost listing in GUI ...
Does any kind soul have a pointer to fixing the GUI listing to remove
the gremlin or ghost domain that still appears in the list?
I'll try rebuilding the slocate.db again, but any additional help would
be appreciated. Thanks folks!
slocate.db has nothing to do with the domains, etc on the system for the
UI. It just maintains a location listing of *every* file on the system,
allowing you to quickly determine where something is.
The UI on the RaQ 4 is generated from the PostgreSQL database. If the
directories for the "gremlin" site don't exist anymore (check
/home/sites and /usr/local/majordomo), then there's just a "stuck" entry
in the database.
To connect to the db manually and remove the site, do:
shell in as root
cat /etc/cobalt/.meta.id (password for admin user)
psql -U admin cobalt
(paste in password from above when prompted)
select * from vsite where fqdn='www.example.com';
(confirm the entry is there, and that there's only one)
delete * from vsite where fqdn='www.example.com';
(MAKE SURE you put the qualifying "where..." piece in or else you will
delete *every* site in the database!)
\q (to exit psql)