Обсуждение: Installer Error

Поиск
Список
Период
Сортировка

Installer Error

От
"Matthew T. O'Connor"
Дата:
Hello, I tried to install Postgresql 8.0 Beta on my Windows 2003 box
using the Beta2 Dev3 Installer from pgfoundry.  I run this box headless
and only connect to it via rdesktop, which apparently the installer
doesn't like.  I got the following error:

"The PostgreSQL Installer must be run on the system console!"

Why must it be run from the console?  Can this be changed / fixed?

Thanks much,

Matthew O'Connor




Re: Installer Error

От
"Dave Page"
Дата:

> -----Original Message-----
> From: pgsql-hackers-win32-owner@postgresql.org
> [mailto:pgsql-hackers-win32-owner@postgresql.org] On Behalf
> Of Matthew T. O'Connor
> Sent: 13 September 2004 05:12
> To: pgsql-hackers-win32@postgresql.org
> Subject: [pgsql-hackers-win32] Installer Error
>
> Hello, I tried to install Postgresql 8.0 Beta on my Windows
> 2003 box using the Beta2 Dev3 Installer from pgfoundry.  I
> run this box headless and only connect to it via rdesktop,
> which apparently the installer doesn't like.  I got the
> following error:
>
> "The PostgreSQL Installer must be run on the system console!"
>
> Why must it be run from the console?  Can this be changed / fixed?

Because initdb will fail with shared memory errors on anything but the
console iirc. No fixes were apparent when this was investigated (neither
was the cause in fact) so the check was added. If you or anyone else can
fix the underlying problem I for one would love to see a patch.

I would also note that I have come across other installers that do this
- Sophos Anti Virus for one, and iirc, Microsoft Exchange server.

Regards, Dave.

Re: Installer Error

От
"Magnus Hagander"
Дата:
> Hello, I tried to install Postgresql 8.0 Beta on my Windows
> 2003 box using the Beta2 Dev3 Installer from pgfoundry.  I
> run this box headless and only connect to it via rdesktop,
> which apparently the installer doesn't like.  I got the
> following error:
>
> "The PostgreSQL Installer must be run on the system console!"
>
> Why must it be run from the console?  Can this be changed / fixed?

It must be run from teh console, because otherwise shared mem does not
work. Nobody has a clue as to why :'(

That said, since you run Windows 2003, youc an get around this. Just run

mstsc.exe /console

and then type in the name of your server in the box. That'll get you a
remote desktop to the console instead of a terminal server session.

Don't know what the equivalent is in rdesktop, but it would surprise me
if there wasn't one.

//Magnus

Re: Installer Error

От
"Magnus Hagander"
Дата:
> > Hello, I tried to install Postgresql 8.0 Beta on my Windows
> > 2003 box using the Beta2 Dev3 Installer from pgfoundry.  I run this
> > box headless and only connect to it via rdesktop, which
> apparently the
> > installer doesn't like.  I got the following error:
> >
> > "The PostgreSQL Installer must be run on the system console!"
> >
> > Why must it be run from the console?  Can this be changed / fixed?
>
> Because initdb will fail with shared memory errors on
> anything but the console iirc. No fixes were apparent when
> this was investigated (neither was the cause in fact) so the
> check was added. If you or anyone else can fix the underlying
> problem I for one would love to see a patch.
>
> I would also note that I have come across other installers
> that do this
> - Sophos Anti Virus for one, and iirc, Microsoft Exchange server.

Yes, this is quite common. Though most just error out with the infamous
error code 2755 (I think it is) with no further information...

//Magnsu