[Spacewalk-list] Could not populate database

Nuno Dias ndias at lip.pt
Wed Jun 23 16:05:19 UTC 2010


Hi,

I installed spacewalk from the rpm repositories, version 1.0 and after I
run spacewalk-setup --disconnected I'm getting this error "Could not
populate database".

In the logs I have this 

psql:/etc/sysconfig/rhn/postgres/main.sql:6307: ERROR:  syntax error at
or near "BYTEA"
LINE 8:     primary     BYTEA,

This is what is in /etc/sysconfig/rhn/postgres/main.sql
                        ^
CREATE TABLE rhnPackageRepodata
(
    package_id  NUMERIC
                    CONSTRAINT rhnPackageRepodata_pk PRIMARY KEY
                    CONSTRAINT rhn_pkey_rd_pid_fk
                        REFERENCES rhnPackage (id)
                        ON DELETE CASCADE,
    primary     BYTEA,
    filelist    BYTEA,
    other       BYTEA,
    created     TIMESTAMPTZ
                    DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
    modified    TIMESTAMPTZ
                    DEFAULT (CURRENT_TIMESTAMP) NOT NULL
)
; <---- Line 6307


Can someone give me some help?

Thank's
Nuno
-- 
Nuno Dias <ndias at lip.pt>
LIP




More information about the Spacewalk-list mailing list