[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    Re: [opennms-install] =?iso-8859-15?q?OpenNMS_Upgrade_Script_fails_wi?=
From:       "Kordzik, Sebastian" <Sebastian.Kordzik () ikb-data ! de>
Date:       2015-06-12 10:07:00
Message-ID: EE94065BF09F13489D7639D2CCC46F253A4D1BD4 () SDU11109 ! IKB ! DE
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi!

Did some more „playing around" with postgresql but had no luck so far.
Even with a fresh installation and new postgresql data folder I still get the \
‘syntax error at or near "$1"' problem.

You guys all use Postgresql 9 and have no problems running that install script?

Oh, and is there a way to make those DB changes manually? Except comparing the table \
layout to the content of the create.sql file. And a way to run the upgrade script \
without running the database part and just do the file based upgrades? Or \
documentation on all those upgrade changes, so I can do them all manually, if nothing \
else helps.

Best regards
Sebastian

Von: Kordzik, Sebastian
Gesendet: Mittwoch, 10. Juni 2015 14:54
An: 'Installation questions and help'
Betreff: AW: [opennms-install] OpenNMS Upgrade Script fails with Postgresql 9 :: \
'syntax error at or near "$1"' (Mixed security state)

Hi! Thanks for your help!

I just reimported all databases via dumps and reused the pg_hba.conf but used the new \
postgresql.conf and only moved those settings over from the old config which were \
present in the new one. So I guess it's mostly default. The only extension I \
installed is iplike2. I haven't installed any contrib packages.
I attached my postgresql.conf file (if this works….). Maybe some changes to the \
"COMPATIBILITY" section are needed?

Best regards
Sebastian

Von: David S Hustace [mailto:david@opennms.com]
Gesendet: Mittwoch, 10. Juni 2015 14:42
An: Installation questions and help
Betreff: Re: [opennms-install] OpenNMS Upgrade Script fails with Postgresql 9 :: \
'syntax error at or near "$1"' (Mixed security state)


On Jun 10, 2015, at 7:26 AM, Kordzik, Sebastian \
<Sebastian.Kordzik@ikb-data.de<mailto:Sebastian.Kordzik@ikb-data.de>> wrote:

Perhaps you've already solved such a problem or have any ideas what it's causing it \
– and I would be grateful for any (profound) suggestions ☺

Have you made any customizations to PostgreSQL 9?


> -David Hustace
The OpenNMS Group, Inc.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Sprechblasentext Zchn";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.E-MailFormatvorlage18
	{mso-style-type:personal;
	font-family:"Arial","sans-serif";
	color:#1F497D;
	font-weight:normal;
	font-style:normal;}
span.E-MailFormatvorlage19
	{mso-style-type:personal-reply;
	font-family:"Arial","sans-serif";
	color:#1F497D;
	font-weight:normal;
	font-style:normal;}
span.SprechblasentextZchn
	{mso-style-name:"Sprechblasentext Zchn";
	mso-style-priority:99;
	mso-style-link:Sprechblasentext;
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi!<o:p></o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Did \
some more „playing around" with postgresql but had no luck so \
far.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Even \
with a fresh installation and new postgresql data folder I still get the ‘syntax \
error at or near &quot;$1&quot;' problem.<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">You \
guys all use Postgresql 9 and have no problems running that install \
script?<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Oh, \
and is there a way to make those DB changes manually? Except comparing the table \
layout to the content of the create.sql file.<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">And \
a way to run the upgrade script without running the database part and just do the \
file based upgrades? Or documentation on all those upgrade  changes, so I can do them \
all manually, if nothing else helps.<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Best \
regards<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Sebastian<o:p></o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
Kordzik, Sebastian <br>
<b>Gesendet:</b> Mittwoch, 10. Juni 2015 14:54<br>
<b>An:</b> 'Installation questions and help'<br>
<b>Betreff:</b> AW: [opennms-install] OpenNMS Upgrade Script fails with Postgresql 9 \
:: 'syntax error at or near &quot;$1&quot;' (Mixed security state) \
<o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi! \
Thanks for your help!<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">I \
just reimported all databases via dumps and reused the pg_hba.conf but used the new \
postgresql.conf and only moved those settings over from the  old config which were \
present in the new one. So I guess it's mostly default.<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">The \
only extension I installed is iplike2.<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">I \
haven't installed any contrib packages.<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">I \
attached my postgresql.conf file (if this works….). Maybe some changes to the \
"COMPATIBILITY" section are needed?<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Best \
regards<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D">Sebastian<o:p></o:p></span></p>
 <p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> David \
S Hustace [<a href="mailto:david@opennms.com">mailto:david@opennms.com</a>] <br>
<b>Gesendet:</b> Mittwoch, 10. Juni 2015 14:42<br>
<b>An:</b> Installation questions and help<br>
<b>Betreff:</b> Re: [opennms-install] OpenNMS Upgrade Script fails with Postgresql 9 \
:: 'syntax error at or near &quot;$1&quot;' (Mixed security state) \
<o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Jun 10, 2015, at 7:26 AM, Kordzik, Sebastian &lt;<a \
href="mailto:Sebastian.Kordzik@ikb-data.de">Sebastian.Kordzik@ikb-data.de</a>&gt; \
wrote:<o:p></o:p></p> </div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:11.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Perhaps \
you've already solved such a problem or have any ideas what it's causing it – and I \
would be grateful for any (profound) suggestions<span \
class="apple-converted-space">&nbsp;</span></span><span lang="EN-US" \
style="font-size:11.5pt;font-family:Wingdings">J</span><o:p></o:p></p> </div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Have you made any customizations to PostgreSQL 9?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">:-David Hustace<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The OpenNMS Group, Inc.<o:p></o:p></p>
</div>
</div>
</body>
</html>


[Attachment #4 (--===============3558928357582807186==)]
------------------------------------------------------------------------------


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic