 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lhep.unibe.ch/index.php?action=history&amp;feed=atom&amp;title=Here%27s_a_log_of_debugging</id>
	<title>Here&#039;s a log of debugging - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lhep.unibe.ch/index.php?action=history&amp;feed=atom&amp;title=Here%27s_a_log_of_debugging"/>
	<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=Here%27s_a_log_of_debugging&amp;action=history"/>
	<updated>2026-05-14T12:04:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.lhep.unibe.ch/index.php?title=Here%27s_a_log_of_debugging&amp;diff=217&amp;oldid=prev</id>
		<title>Lhep: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=Here%27s_a_log_of_debugging&amp;diff=217&amp;oldid=prev"/>
		<updated>2015-03-18T07:49:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:49, 18 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lhep</name></author>
	</entry>
	<entry>
		<id>https://wiki.lhep.unibe.ch/index.php?title=Here%27s_a_log_of_debugging&amp;diff=216&amp;oldid=prev</id>
		<title>Lhep: New page: &lt;pre&gt; [2:16:54 PM] Igor Kreslo says: Error starting at line 1 in command: call operapub.pp_download_predictions(3072289, &#039;OPITA01&#039;) Error report: SQL Error: ORA-02291: integrity constraint...</title>
		<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=Here%27s_a_log_of_debugging&amp;diff=216&amp;oldid=prev"/>
		<updated>2008-07-24T15:20:46Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;pre&amp;gt; [2:16:54 PM] Igor Kreslo says: Error starting at line 1 in command: call operapub.pp_download_predictions(3072289, &amp;#039;OPITA01&amp;#039;) Error report: SQL Error: ORA-02291: integrity constraint...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
[2:16:54 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
call operapub.pp_download_predictions(3072289, &amp;#039;OPITA01&amp;#039;)&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-02291: integrity constraint (OPERA.FK_USERS_PROCOPS) violated - parent key not found&lt;br /&gt;
ORA-06512: at &amp;quot;OPERAPUB.PP_DOWNLOAD_PREDICTIONS&amp;quot;, line 39&lt;br /&gt;
02291. 00000 - &amp;quot;integrity constraint (%s.%s) violated - parent key not found&amp;quot;&lt;br /&gt;
*Cause:    A foreign key value has no matching primary key value.&lt;br /&gt;
*Action:   Delete the foreign key or add a matching primary key.&lt;br /&gt;
[2:22:23 PM] Igor Kreslo says: Error ORA-02019: connection description for remote database not found in PP_PUBLISH_SYSTEM&lt;br /&gt;
[4:44:44 PM] Cristiano Bozza says: hi igor&lt;br /&gt;
[4:44:47 PM] Cristiano Bozza says: are you connected?&lt;br /&gt;
[4:45:43 PM] Igor Kreslo says: yes&lt;br /&gt;
[4:45:46 PM] Cristiano Bozza says: ok...&lt;br /&gt;
[4:45:52 PM] Cristiano Bozza says: I&amp;#039;m trying again to connect&lt;br /&gt;
[4:45:58 PM] Igor Kreslo says: go on&lt;br /&gt;
[4:46:42 PM] Igor Kreslo says: http://theillustratednetwork.mvps.org/Ssh/RemoteDesktopSSH.html&lt;br /&gt;
[4:46:53 PM] Igor Kreslo says: just in case you need help on tunnel&lt;br /&gt;
[4:47:02 PM] Cristiano Bozza says: yes...&lt;br /&gt;
[4:47:59 PM] Cristiano Bozza says: I have Bitwise Tunnelier&lt;br /&gt;
[4:48:05 PM] Cristiano Bozza says: I suppose it could manage to do the job&lt;br /&gt;
[4:48:20 PM] Igor Kreslo says: yes, i think so&lt;br /&gt;
[4:48:32 PM] Igor Kreslo says: what you need is port numbers,&lt;br /&gt;
[4:48:35 PM] Cristiano Bozza says: yes&lt;br /&gt;
[4:48:35 PM] Igor Kreslo says: thats all&lt;br /&gt;
[4:48:39 PM] Cristiano Bozza says: but strangely&lt;br /&gt;
[4:48:43 PM] Cristiano Bozza says: running as administrator&lt;br /&gt;
[4:48:50 PM] Cristiano Bozza says: i am not allowed to change the username&lt;br /&gt;
[4:49:02 PM] Cristiano Bozza says: what would be the port number? I have 22&lt;br /&gt;
[4:49:15 PM] Igor Kreslo says: yes, for SSH is 22&lt;br /&gt;
[4:50:28 PM] Cristiano Bozza says: password rejected&lt;br /&gt;
[4:50:58 PM] Igor Kreslo says: Cristiano, just a brute force thing. Try to call by netmeeting&lt;br /&gt;
[4:51:00 PM] Cristiano Bozza says: too many options...&lt;br /&gt;
[4:51:07 PM] Igor Kreslo says: maybe they forgot to close the ports&lt;br /&gt;
[4:51:10 PM] Cristiano Bozza says: ok...&lt;br /&gt;
[4:51:17 PM] Cristiano Bozza says: 193.205.70.245&lt;br /&gt;
[4:51:20 PM] Igor Kreslo says: unlikely, but...&lt;br /&gt;
[4:51:29 PM] Cristiano Bozza says: seen the first call&lt;br /&gt;
[4:51:32 PM] Igor Kreslo says: calling&lt;br /&gt;
[4:51:36 PM] Cristiano Bozza says: yes&lt;br /&gt;
[4:51:38 PM] Cristiano Bozza says: the first has to timeout&lt;br /&gt;
[4:52:07 PM] Igor Kreslo says: wow!&lt;br /&gt;
[4:54:28 PM] Cristiano Bozza says: what&amp;#039;s the status?&lt;br /&gt;
[4:54:47 PM] Igor Kreslo says: Well, I managed to copy system&lt;br /&gt;
[4:54:52 PM] Cristiano Bozza says: ok&lt;br /&gt;
[4:55:00 PM] Igor Kreslo says: but the procedure doesnt work niether on opera&lt;br /&gt;
[4:55:05 PM] Igor Kreslo says: nor on operapub&lt;br /&gt;
[4:55:10 PM] Cristiano Bozza says: ok you have to use exclusively operapub for this proc&lt;br /&gt;
[4:55:22 PM] Cristiano Bozza says: what&amp;#039;s the error message?&lt;br /&gt;
[4:56:05 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
call operapub.pp_download_predictions(3072289, &amp;#039;OPITA01&amp;#039;)&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-02068: following severe error from OPITA01&lt;br /&gt;
ORA-03135: connection lost contact&lt;br /&gt;
ORA-06512: at &amp;quot;OPERAPUB.PP_DOWNLOAD_PREDICTIONS&amp;quot;, line 9&lt;br /&gt;
02068. 00000 -  &amp;quot;following severe error from %s%s&amp;quot;&lt;br /&gt;
*Cause:    A severe error (disconnect, fatal Oracle error) received from&lt;br /&gt;
           the indicated database link.  See following error text.&lt;br /&gt;
*Action:   Contact the remote system administrator.&lt;br /&gt;
[4:56:20 PM] Cristiano Bozza says: again?&lt;br /&gt;
[4:56:22 PM] Cristiano Bozza says: please&lt;br /&gt;
[4:56:23 PM] Igor Kreslo says: once again&lt;br /&gt;
[4:56:27 PM] Cristiano Bozza says: select * from dual@opita&lt;br /&gt;
[4:56:39 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
call operapub.pp_download_predictions(3072289, &amp;#039;OPITA01&amp;#039;)&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-02291: integrity constraint (OPERA.FK_USERS_PROCOPS) violated - parent key not found&lt;br /&gt;
ORA-06512: at &amp;quot;OPERAPUB.PP_DOWNLOAD_PREDICTIONS&amp;quot;, line 39&lt;br /&gt;
02291. 00000 - &amp;quot;integrity constraint (%s.%s) violated - parent key not found&amp;quot;&lt;br /&gt;
*Cause:    A foreign key value has no matching primary key value.&lt;br /&gt;
*Action:   Delete the foreign key or add a matching primary key.&lt;br /&gt;
[4:57:04 PM] Cristiano Bozza says: ok... let me check...&lt;br /&gt;
[4:58:22 PM] Igor Kreslo says: there was something sismilar with OPFRA during publication&lt;br /&gt;
[4:58:46 PM] Igor Kreslo says: I&amp;#039;ve sent to Elizabetta list of users and we solved it somehow&lt;br /&gt;
[4:59:33 PM] Igor Kreslo says: TB_USERS&lt;br /&gt;
[4:59:40 PM] Cristiano Bozza says: try this&lt;br /&gt;
[4:59:52 PM] Cristiano Bozza says: select * from tb_users where id = 9000000000000019&lt;br /&gt;
[5:00:17 PM] Igor Kreslo says: 0 rows&lt;br /&gt;
[5:00:24 PM] Cristiano Bozza says: and you copied the system... strange&lt;br /&gt;
[5:00:30 PM] Igor Kreslo says: as operapub&lt;br /&gt;
[5:00:32 PM] Cristiano Bozza says: ok, let&amp;#039;s do by brute force&lt;br /&gt;
[5:00:33 PM] Cristiano Bozza says: as operapub&lt;br /&gt;
[5:01:05 PM] Cristiano Bozza says: moment...&lt;br /&gt;
[5:01:27 PM] Cristiano Bozza says: insert into tb_users (select * from tb_users@opita where id_site &amp;lt;&amp;gt;5000000000000001)&lt;br /&gt;
[5:01:34 PM] Cristiano Bozza says: tell me when you&amp;#039;re done&lt;br /&gt;
[5:01:44 PM] Cristiano Bozza says: ah no sorry&lt;br /&gt;
[5:02:09 PM] Cristiano Bozza says: insert into tb_users (select * from tb_users@opita a where id_site &amp;lt;&amp;gt;5000000000000001 and not exists (select * from tb_sites b where a.id = b.id))&lt;br /&gt;
[5:02:13 PM] Cristiano Bozza says: please try&lt;br /&gt;
[5:03:02 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
insert into tb_users (select * from tb_users@opita01 a where id_site &amp;lt;&amp;gt;5000000000000001 and not exists (select * from tb_sites b where a.id = b.id))&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-02291: integrity constraint (OPERA.FK_SITES_USERS) violated - parent key not found&lt;br /&gt;
02291. 00000 - &amp;quot;integrity constraint (%s.%s) violated - parent key not found&amp;quot;&lt;br /&gt;
*Cause:    A foreign key value has no matching primary key value.&lt;br /&gt;
*Action:   Delete the foreign key or add a matching primary key.&lt;br /&gt;
[5:03:12 PM] Cristiano Bozza says: ok&lt;br /&gt;
[5:03:26 PM] Cristiano Bozza says: insert into tb_sites (select * from tb_sites@opita where id_site not in (select id from tb_sites))&lt;br /&gt;
[5:03:33 PM] Cristiano Bozza says: done it?&lt;br /&gt;
[5:04:14 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
insert into tb_sites (select * from tb_sites@opita01 where id_site not in (select id from tb_sites))&lt;br /&gt;
Error at Command Line:1 Column:59&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-00904: &amp;quot;ID_SITE&amp;quot;: invalid identifier&lt;br /&gt;
00904. 00000 -  &amp;quot;%s: invalid identifier&amp;quot;&lt;br /&gt;
*Cause:    &lt;br /&gt;
*Action:&lt;br /&gt;
[5:04:23 PM] Cristiano Bozza says: [17.03.28] Cristiano Bozza says: insert into tb_sites (select * from tb_sites@opita where id  not in (select id from tb_sites))&lt;br /&gt;
[5:04:29 PM] Cristiano Bozza says:  insert into tb_sites (select * from tb_sites@opita where id  not in (select id from tb_sites))&lt;br /&gt;
[5:04:59 PM] Igor Kreslo says: 12 rows inserted&lt;br /&gt;
[5:05:02 PM] Cristiano Bozza says: ok&lt;br /&gt;
[5:05:03 PM] Cristiano Bozza says:  insert into tb_users (select * from tb_users@opita where id  not in (select id from tb_users))&lt;br /&gt;
[5:05:25 PM] Igor Kreslo says: 76 rows inserted&lt;br /&gt;
[5:05:31 PM] Cristiano Bozza says:  insert into tb_machines (select * from tb_machines@opita where id  not in (select id from tb_machines))&lt;br /&gt;
[5:05:48 PM] Igor Kreslo says: 70 rows inserted&lt;br /&gt;
[5:05:52 PM] Cristiano Bozza says:  insert into tb_programsettings (select * from tb_programsettings@opita where id  not in (select id from tb_programsettings))&lt;br /&gt;
[5:06:25 PM] Igor Kreslo says: working...&lt;br /&gt;
[5:06:34 PM] Cristiano Bozza says: time&lt;br /&gt;
[5:06:34 PM] Cristiano Bozza says: yes, it will take some tme&lt;br /&gt;
[5:06:37 PM] Cristiano Bozza says: then COMMIT!&lt;br /&gt;
[5:07:18 PM] Igor Kreslo says: 656 rows inserted&lt;br /&gt;
commit succeeded.&lt;br /&gt;
[5:07:22 PM] Cristiano Bozza says: ok&lt;br /&gt;
[5:07:28 PM] Cristiano Bozza says: now try again the pp_download_predictions&lt;br /&gt;
[5:08:24 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
call pp_download_predictions(3072289,&amp;#039;OPITA01&amp;#039;)&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-02291: integrity constraint (OPERA.FK_PREDS_CSCANDS_OLD) violated - parent key not found&lt;br /&gt;
ORA-06512: at &amp;quot;OPERAPUB.PP_DOWNLOAD_PREDICTIONS&amp;quot;, line 64&lt;br /&gt;
02291. 00000 - &amp;quot;integrity constraint (%s.%s) violated - parent key not found&amp;quot;&lt;br /&gt;
*Cause:    A foreign key value has no matching primary key value.&lt;br /&gt;
*Action:   Delete the foreign key or add a matching primary key.&lt;br /&gt;
[5:08:47 PM] Cristiano Bozza says: rollback&lt;br /&gt;
[5:08:50 PM] Cristiano Bozza says: then&lt;br /&gt;
[5:09:08 PM] Cristiano Bozza says: alter table tb_cs_candidates drop constraint fk_preds_cscands_old&lt;br /&gt;
[5:09:45 PM] Igor Kreslo says: Error starting at line 1 in command:&lt;br /&gt;
alter table tb_cs_candidates drop constraint fk_preds_cscands_old&lt;br /&gt;
Error report:&lt;br /&gt;
SQL Error: ORA-00942: table or view does not exist&lt;br /&gt;
00942. 00000 -  &amp;quot;table or view does not exist&amp;quot;&lt;br /&gt;
*Cause:    &lt;br /&gt;
*Action:&lt;br /&gt;
[5:10:09 PM] Cristiano Bozza says: mmm...&lt;br /&gt;
[5:10:18 PM] Cristiano Bozza says: I don&amp;#039;t remember on which table this constraint is...&lt;br /&gt;
[5:11:15 PM] Cristiano Bozza says: ah sorry&lt;br /&gt;
[5:11:25 PM] Cristiano Bozza says: the last command must be executed as OPERA&lt;br /&gt;
[5:11:27 PM] Cristiano Bozza says: did you rollback?&lt;br /&gt;
[5:11:32 PM] Igor Kreslo says: yes, on thet table there is such constraint&lt;br /&gt;
[5:11:37 PM] Cristiano Bozza says: ok&lt;br /&gt;
[5:11:38 PM] Cristiano Bozza says: kill it&lt;br /&gt;
[5:12:12 PM] Igor Kreslo says: ee...how? :))&lt;br /&gt;
[5:12:37 PM] Cristiano Bozza says: alter table tb_cs_candidates drop constraint fk_preds_cscands_old (from OPERA)&lt;br /&gt;
[5:13:34 PM] Cristiano Bozza says: done?&lt;br /&gt;
[5:13:48 PM] Igor Kreslo says: ok&lt;br /&gt;
[5:13:51 PM] Igor Kreslo says: commit?&lt;br /&gt;
[5:13:58 PM] Cristiano Bozza says: yes yes&lt;br /&gt;
[5:14:06 PM] Cristiano Bozza says: now switch back to operapub&lt;br /&gt;
[5:14:12 PM] Igor Kreslo says: yes&lt;br /&gt;
[5:14:12 PM] Cristiano Bozza says: do the rollback if you didn&amp;#039;t do yet&lt;br /&gt;
[5:14:24 PM] Cristiano Bozza says: then try pp_download_predictions again&lt;br /&gt;
[5:14:59 PM] Igor Kreslo says: call pp_download_predictions(3072289,&amp;#039;OPITA01&amp;#039;) succeeded.&lt;br /&gt;
[5:15:08 PM] Cristiano Bozza says: ok&lt;br /&gt;
[5:15:11 PM] Igor Kreslo says: how can i check results?&lt;br /&gt;
[5:15:19 PM] Cristiano Bozza says: select * from tb_cs_candidates&lt;br /&gt;
[5:15:26 PM] Cristiano Bozza says: ah&lt;br /&gt;
[5:15:27 PM] Cristiano Bozza says: commit!&lt;br /&gt;
[5:15:44 PM] Igor Kreslo says: ok, done&lt;br /&gt;
[5:15:50 PM] Cristiano Bozza says: ok&lt;br /&gt;
[5:15:54 PM] Cristiano Bozza says: it works now&lt;br /&gt;
[5:15:58 PM] Cristiano Bozza says: still we have to understand why&lt;br /&gt;
[5:16:07 PM] Cristiano Bozza says: you didn&amp;#039;t get the system correctly copied&lt;br /&gt;
[5:16:10 PM] Igor Kreslo says: ID_EVENTBRICK          ID_PROCESSOPERATION    ID_EVENT               CANDIDATE              ID                     &lt;br /&gt;
---------------------- ---------------------- ---------------------- ---------------------- ---------------------- &lt;br /&gt;
3072289                9000000000723563       82000000000080277      1                      9000000000724825       &lt;br /&gt;
3072289                9000000000723563       82000000000080277      2                      9000000000724826       &lt;br /&gt;
&lt;br /&gt;
2 rows selected&lt;br /&gt;
[5:16:12 PM] Cristiano Bozza says: but this is for another day!&lt;br /&gt;
[5:16:13 PM] Igor Kreslo says: yes, works :)&lt;br /&gt;
[5:16:20 PM] Igor Kreslo says: ok, Thanks!&lt;br /&gt;
[5:16:22 PM] Cristiano Bozza says: and I promise I will make it simpler in the next days&lt;br /&gt;
[5:16:27 PM] Cristiano Bozza says: ;)&lt;br /&gt;
[5:16:36 PM] Igor Kreslo says: I&amp;#039;m almost used to it already :))&lt;br /&gt;
[5:16:38 PM] Cristiano Bozza says: now I flee to the dentistis...&lt;br /&gt;
[5:16:42 PM] Cristiano Bozza says: dentist&lt;br /&gt;
[5:16:43 PM] Igor Kreslo says: good luck!!&lt;br /&gt;
[5:16:50 PM] Cristiano Bozza says: thanks, I&amp;#039;ll need it!&lt;br /&gt;
[5:16:51 PM] Cristiano Bozza says: cheers&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lhep</name></author>
	</entry>
</feed>