[Spacewalk-list] Error accessing database -- no updates

Thomas Schweikle tschweikle at gmail.com
Mon May 29 09:53:57 UTC 2017


I am finding errors like:
12:52:39 (99999, 'FEHLER:  password is required', "DETAIL:
Non-superusers must provide a password in the connection
string.\nCONTEXT:  SQL-Anweisung \xc2\xbbSELECT
dblink_connect('at_conn', 'dbname=' || current_database() || ' port='
|| coalesce(inet_server_port(), '5432'))\xc2\xab\nPL/pgSQL-Funktion
pg_dblink_exec(character varying) Zeile 6 bei PERFORM\nSQL-Anweisung
\xc2\xbbSELECT pg_dblink_exec(\n                'insert into
rhnPackageEVR(id, epoch, version, release, evr) values ('
||\n                evr_id || ', ' || e_text || ', ' || v_text || ', '
|| r_text\n\t\t|| ', evr_t(' || e_text || ', ' || v_text || ', ' ||
r_text || '))'\n            )\xc2\xab\nPL/pgSQL-Funktion
lookup_evr(character varying,character varying,character varying) Zeile
19 bei PERFORM\n", InternalError("FEHLER:  password is
required\nDETAIL:  Non-superusers must provide a password in the
connection string.\nCONTEXT:  SQL-Anweisung \xc2\xbbSELECT
dblink_connect('at_conn', 'dbname=' || current_database() || ' port='
|| coalesce(inet_server_port(), '5432'))\xc2\xab\nPL/pgSQL-Funktion
pg_dblink_exec(character varying) Zeile 6 bei PERFORM\nSQL-Anweisung
\xc2\xbbSELECT pg_dblink_exec(\n                'insert into
rhnPackageEVR(id, epoch, version, release, evr) values ('
||\n                evr_id || ', ' || e_text || ', ' || v_text || ', '
|| r_text\n\t\t|| ', evr_t(' || e_text || ', ' || v_text || ', ' ||
r_text || '))'\n            )\xc2\xab\nPL/pgSQL-Funktion
lookup_evr(character varying,character varying,character varying) Zeile
19 bei PERFORM\n",)) 12:52:39 2/43 :
atomic-1.17.2-4.git2760e30.el7-1.x86_64 12:52:39 (99999, 'FEHLER:
aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
Transaktion ignoriert', '', InternalError('FEHLER:  aktuelle
Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
Transaktion ignoriert\n',)) 12:52:39 3/43 :
centos-release-openshift-origin13-1-1.el7.centos-0.noarch 12:52:39
(99999, 'FEHLER:  aktuelle Transaktion wurde abgebrochen, Befehle
werden bis zum Ende der Transaktion ignoriert', '',
InternalError('FEHLER:  aktuelle Transaktion wurde abgebrochen, Befehle
werden bis zum Ende der Transaktion ignoriert\n',))

while executing "/usr/bin/spacewalk-repo-sync -c <channel-label> -t yum

Nothing is added or removed from the database. Any idea what is going
wrong here? Looks like a password is missing, but this is given
within /etc/rhn/rhn.conf.
Bug within?


-- 
Thomas




More information about the Spacewalk-list mailing list