Re: Encounter shared memory error when running createlang command!

Lists: pgsql-bugs
From: "Yaming Gu" <yaming(dot)gu(at)w-oasis(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Encounter shared memory error when running createlang command!
Date: 2009-09-23 06:19:06
Message-ID: C2EE3A6200AE4513B7052398665102A5@SH.WOASIS.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Hi, List

Because I need to use pl/perl language, then I decided to run
“createlang” to create PL/Perl language. I have checked all dependencies
and all is ok.

Next I run: D:\Program Files\Postgresql\bin>createlang U postgres plperl
example (example is my dbname)

Then it failed telling me:

createlang: language installation failed: 服务器意外地关闭了联接

这种现象通常意味着服务器在处理请求之前

或者正在处理请求的时候意外中止

I checked my log and show it below:

****************************************************************************
**********************************************************************

2009-09-23 13:39:55 HKT LOG: loaded library
"$libdir/plugins/plugin_debugger.dll"

2009-09-23 13:39:58 HKT LOG: loaded library
"$libdir/plugins/plugin_debugger.dll"

Substitution pattern not terminated at line 1.

2009-09-23 13:39:59 HKT 日志: 服务器进程 (PID 5588) 已退出, 退出代码 255

2009-09-23 13:39:59 HKT 日志: 中断任何其它已激活的服务器进程

2009-09-23 13:39:59 HKT 日志: 所有的服务器进程被中止; 重新初始化

2009-09-23 13:40:00 HKT 致命错误: pre-existing shared memory block is still
in use

2009-09-23 13:40:00 HKT 提示: Check if there are any old server processes
still running, and terminate them.

****************************************************************************
**************************************************************************

Can you give me some advice about this problem?

Best Regards,
Yaming Gu (谷亚明)
****************************************************************************
************

WOASiS Telecommunications Ltd.
Tel: +86-021-54276611-819
Fax: +86-021-54260599
Add: 15F, Software Building, 461 Hongcao
Road, Xuhui District,Shanghai,China
P.C: 200233

****************************************************************************
*************


From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Yaming Gu <yaming(dot)gu(at)w-oasis(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Encounter shared memory error when running createlang command!
Date: 2009-09-24 02:01:50
Message-ID: 603c8f070909231901g4a306c18ya7e96e8be5c3b715@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

2009/9/23 Yaming Gu <yaming(dot)gu(at)w-oasis(dot)com>

>
>
> Hi, List
>
> Because I need to use pl/perl language, then I decided to run “createlang”
> to create PL/Perl language. I have checked all dependencies and all is ok.
>
> Next I run: D:\Program Files\Postgresql\bin>createlang U postgres plperl
> example (example is my dbname)
>
> Then it failed telling me:
>
> createlang: language installation failed: 服务器意外地关闭了联接
>
> 这种现象通常意味着服务器在处理请求之前
>
> 或者正在处理请求的时候意外中止
>
>
>
> I checked my log and show it below:
>
>
> **************************************************************************************************************************************************
>
> 2009-09-23 13:39:55 HKT LOG: loaded library
> "$libdir/plugins/plugin_debugger.dll"
>
> 2009-09-23 13:39:58 HKT LOG: loaded library
> "$libdir/plugins/plugin_debugger.dll"
>
> Substitution pattern not terminated at line 1.
>
> 2009-09-23 13:39:59 HKT 日志: 服务器进程 (PID 5588) 已退出, 退出代码 255
>
> 2009-09-23 13:39:59 HKT 日志: 中断任何其它已激活的服务器进程
>
> 2009-09-23 13:39:59 HKT 日志: 所有的服务器进程被中止; 重新初始化
>
> 2009-09-23 13:40:00 HKT 致命错误: pre-existing shared memory block is still
> in use
>
> 2009-09-23 13:40:00 HKT 提示: Check if there are any old server processes
> still running, and terminate them.
>
>
> ******************************************************************************************************************************************************
>
>
>
> Can you give me some advice about this problem?
>

Hmm... I confess I'd have an easier time if this were all in English.

...Robert