473,786 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

initdb crashes under Windows

Can't get the postgres server started under Win2000/cygwin. Here's
what happens:

$ initdb -D /Gauss/rr/data -W
The files belonging to this database system will be owned by user "yates".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /Gauss/rr/data... ok
creating directory /Gauss/rr/data/base... ok
creating directory /Gauss/rr/data/global... ok
creating directory /Gauss/rr/data/pg_xlog... ok
creating directory /Gauss/rr/data/pg_clog... ok
selecting default max_connections ... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers. .. Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /Gauss/rr/data/base/1... FATAL: lock file "/Gauss/rr/data/postmaster.pid" already exists
HINT: Is another postgres (PID 1672) running in data directory "/Gauss/rr/data"?

initdb: failed

yates@leibniz ~
--
% Randy Yates % "Rollin' and riding and slippin' and
%% Fuquay-Varina, NC % sliding, it's magic."
%%% 919-577-9882 %
%%%% <ya***@ieee.org > % 'Living' Thing', *A New World Record*, ELO
http://home.earthlink.net/~yatescr
Nov 23 '05 #1
1 1899
$ initdb --version
initdb (PostgreSQL) 7.4.5

yates@leibniz ~
$
Randy Yates <ya***@ieee.org > writes:
Can't get the postgres server started under Win2000/cygwin. Here's
what happens:

$ initdb -D /Gauss/rr/data -W
The files belonging to this database system will be owned by user "yates".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /Gauss/rr/data... ok
creating directory /Gauss/rr/data/base... ok
creating directory /Gauss/rr/data/global... ok
creating directory /Gauss/rr/data/pg_xlog... ok
creating directory /Gauss/rr/data/pg_clog... ok
selecting default max_connections ... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers. .. Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /Gauss/rr/data/base/1... FATAL: lock file "/Gauss/rr/data/postmaster.pid" already exists
HINT: Is another postgres (PID 1672) running in data directory "/Gauss/rr/data"?

initdb: failed

yates@leibniz ~
--
% Randy Yates % "Rollin' and riding and slippin' and
%% Fuquay-Varina, NC % sliding, it's magic."
%%% 919-577-9882 %
%%%% <ya***@ieee.org > % 'Living' Thing', *A New World Record*, ELO
http://home.earthlink.net/~yatescr


--
% Randy Yates % "Rollin' and riding and slippin' and
%% Fuquay-Varina, NC % sliding, it's magic."
%%% 919-577-9882 %
%%%% <ya***@ieee.org > % 'Living' Thing', *A New World Record*, ELO
http://home.earthlink.net/~yatescr
Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2281
by: supersize me | last post by:
After looking at many of the DBMS choices out there (commercial and open source), I settled on PostgreSQL because of its stablity and feature-set. I'm having a problem getting it to install, however. Its going to be used on a device running Windows XP Embedded, and so far I've had no luck getting it installed in that environment. I can install it with no issues on Windows XP Pro. But when I attempt to install it on Windows Xp Embedded,...
6
3166
by: Martin Marques | last post by:
When running initdb on a fresh 7.4 install I get this error: postgres@bugs:~$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data -E latin1 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale es_AR. creating directory /usr/local/pgsql/data... ok
2
3200
by: Tim Farrell | last post by:
I use PostgreSQL as a default database in our solution and with the 7.2 version I was able to tar up the area pointed to by the --prefix build argument and untar to an arbitrary path as part of my product installation and I could initdb the database no problem and get a running database setup completely. With the 7.4 released version I get this failure while running initdb: ERROR: could not access file "$libdir/ascii_and_mic": No such...
1
1869
by: Seamus Thomas Carroll | last post by:
Hi, I have installed postgres in a non-standard location with this call to configure: ../configure --prefix=/scratch/postgresql-7.4/ --exec-prefix=/scratch/postgresql-7.4 --libdir=/scratch/postgresql-7.4/lib make make install I then put /scratch/postgresql/bin/ in my PATH and /scratch/postgresql/lib
9
8357
by: Jerome Lyles | last post by:
Hello List, I have installed Postgresql 7.4 on a Suse 9.0 system using apt. I cannot do this: /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data Because there is no "/pgsql/bin/initdb" nor /pgsql/bin/ on my system. Since apt did not create these directories how can I do it manually? Thanks,
1
2055
by: Medora Schauer | last post by:
I've installed 7.4.2 on a PowerPC system running linux 2.4.13. When I try to run initdb to create to create the database cluster I get the following: $ initdb -D $PGDATA The files belonging to this database system will be owned by user "thebox".
2
1937
by: tech tech | last post by:
Hello All, I installed postgresql 7.3.4 on HPUX PA in /usr/local/pgsql and put the libraries in /usr/local/pgsql/lib/LIB_new. During the initialization( initdb), it loads libraries (language) from /usr/local/pgsql/lib. In postgresql version 7.3.1, libraries are not loaded and no such problem during initdb. I had the following problem: $ initdb -D /var/pgsql The files belonging to this database system will be owned by user "postgres".
1
3224
by: Manolatos Tilemahos | last post by:
Dear friends, First pls accept my apologies, because I am a new Postgres user, so my questions could be silly. We need to setup a database using UTF-8 encoding, however, by some way, we have to express our need for right Greek character collation order. I tried the default installation using pginstaller, then I created a db (using pgAdminIII) using UTF-8, but still the collation is wrong (=wrong upper() and "order by") for Greek...
8
2157
by: BARTKO, Zoltán | last post by:
Hello, folks, I am trying to install pgsql8 on winxp. I tried first to install "as is" with pginstaller beta2-dev3, no luck, it froze, switched off Nod32, froze a little later, ran through the list of services, switched off anything that seemed to be a firewall, no luck. So I compiled beta3 with mingw, installed, and now initdb keeps telling me this:
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10108
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9960
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4064
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.