Обсуждение: Error INITDB
<<...OLE_Obj...>> There is the following error where i execute the "INITDB" command. What should i do? Thanks. Alain.
Alain,
On Wed, Apr 25, 2001 at 09:33:11AM +0200, SAMSON Alain - LIL wrote:
> <<...OLE_Obj...>>
>
> There is the following error where i execute the "INITDB" command.
> What should i do?
Post more and useful information. Such as the following:
Cygwin version
PostgreSQL version
OS version
output from initdb leading up to the error
output from cygcheck -r -s -v
etc.
If you are looking for help, then it is usually a good idea to
facilitate those trying to assist...
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Alain,
In the future, please respond to the list so others can benefit too.
On Wed, Apr 25, 2001 at 02:36:24PM +0200, SAMSON Alain - LIL wrote:
> cygwin: version 1.1 (cygwin1.dll 31/01/01 17:00)
> postgresql: version 7.1 (postgres.exe 16/04/01 15:01)
> OS: Windows NT 4
> Output from initdb:"invalid current from euid"
The above indicates the geteuid() is failing, see below for potentially
why...
> Output from cygcheck :
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Wed Apr 25 12:32:47 2001
>
> WinNT Ver 4.0 build 1381 Service Pack 5
>
> [snip]
> PWD = `/bin'
> USER = `500'
^^^
> MAKE_MODE = `unix'
> HOME = `/home/500'
^^^
The above indicates that your /etc/passwd (and possibly /etc/group) is
not set up correctly. Do you have these files and are they correct? If
not, then perform the following:
$ mkpasswd -l >/etc/passwd
$ mkgroup -l >/etc/group
Does initdb work now?
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Alain,
On Fri, Apr 27, 2001 at 10:02:05AM +0200, SAMSON Alain - LIL wrote:
> Thanks Jason, that's better now.
> But the "initdb" stopped on the creation of "template 1". Do you know why?
Is the ipc-daemon running?
I will try again. In the future, please post to the list
pgsql-cygwin@postgresql.org
instead of sending private email so others can benefit too.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Alain, On Wed, May 02, 2001 at 11:23:18AM +0200, SAMSON Alain - LIL wrote: > I've installed back CYGWIN and IPC-DAEMON. > The Initdb shutdowns : I joined the results of CYGCHECK, The cygcheck output shows that you are still using 1.1.8, please upgrade to 1.3.1. > INITDB and POSTMASTER. > (Why the Initdb creaters a folder "1" and not "Template1"???) IIRC, this was changed in 7.1. Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Alain, On Wed, May 02, 2001 at 05:27:13PM +0200, SAMSON Alain - LIL wrote: > What can I do? Huh? Shutdown *all* Cygwin processes and point Cygwin's setup.exe at your favorite Cygwin mirror and upgrade the cygwin package. Do you remember what you did the first time that you installed Cygwin? Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Jason,
I've installed back CYGWIN and IPC-DAEMON.
The Initdb shutdowns : I joined the results of CYGCHECK, INITDB and
POSTMASTER.
(Why the Initdb creaters a folder "1" and not "Template1"???)
Thanks.
Alain.
-----Message d'origine-----
De : Jason Tishler [mailto:Jason.Tishler@dothill.com]
Envoyé : vendredi 27 avril 2001 20:27
À : SAMSON Alain - LIL
Cc : Pgsql-Cygwin
Objet : Re: [CYGWIN] Error INITDB
Alain,
On Fri, Apr 27, 2001 at 10:02:05AM +0200, SAMSON Alain - LIL wrote:
> Thanks Jason, that's better now.
> But the "initdb" stopped on the creation of "template 1". Do you know why?
Is the ipc-daemon running?
I will try again. In the future, please post to the list
pgsql-cygwin@postgresql.org
instead of sending private email so others can benefit too.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com