The ns_db as redefined in nsdb/compat.tcl is required to create/access the metadata.  Though the latest nspostgres re-added a lot of functionality lost in 3.0, it didn't add enough to make it work with nsadmin.
 
The first thing you should do after installing nsadmin it is to create a new db for each of your pools.  You can delete it later if needed.  This will build the ns_columns and ns_tables tables for the metadata.  After that, restart aolserver.  Without those two tables, NOTHING is going to work correctly.
 
You can also do it manually with this (restart aolserver after adding)
 

CREATE TABLE ns2_columns (
    c_col character varying,
    c_key character varying,
    c_table character varying,
    c_value character varying
);
 
 
CREATE TABLE ns2_tables (
    t_key character varying,
    t_table character varying,
    t_value character varying
);
 
Daniel P. Stasinski
Software Engineer
Mayor Pharmaceutical Laboratories
[EMAIL PROTECTED]
out of the box its a no go - it renames ns_db to c_ns_db, and then uses its own definition of ns_db.
I think there's a problem somewhere with the renaming and it ends up loosing c_ns_db  i.e. the real ns_db command and so it can't get much further without it! ;-)

Reply via email to