Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: initdb - Error FATAL: shmat(id=1179648) failed: msg#00009

db.postgresql.cygwin

Subject: Re: initdb - Error FATAL: shmat(id=1179648) failed

Hi Evandro !

There is a bug in the PostgreSQL 7.4.3.
Visit the following link (on the official mailing list of Cygwin) :
http://cygwin.com/ml/cygwin/2004-08/msg00060.html

Project co-leader works on this.

I installed Cygwin without PostgreSQL using setup.exe. Then I install
postgresql 7.4.2 available in the packages from Cygwin. : This works seems
to works fine.
Attention : Installation directory are not the same than with the 7.4.3
version.

A DAVID

"Evandro Spader" <evspader@xxxxxxxxx> a écrit dans le message de
news:20040803224013.4C24DD1B171@xxxxxxxxxxxxxxxxxxxxxx
> I am trying to (for the first time) setup PostgreSQL
> version 7.4.3) on windows 98.
> I have cygwin version 1.5.10 installed and running.
>
> However, when I give "initdb -D /usr/local/pgsql/data"
> command in a cygwin window, I get an error "initdb failed"
>
> $ initdb -D /var/lib/pgsql/data
> The files belonging to this database system will be
> owned by user "EVANDRO".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory /var/lib/pgsql/data... ok
> creating directory /var/lib/pgsql/data/base... ok
> creating directory /var/lib/pgsql/data/global... ok
> creating directory /var/lib/pgsql/data/pg_xlog... ok
> creating directory /var/lib/pgsql/data/pg_clog... ok
> selecting default max_connections... 10
> selecting default shared_buffers... 50
> creating configuration files... ok
> creating template1 database
> in /var/lib/pgsql/data/base/1... FATAL: shmat
> (id=1179648) failed: Invalid argument
>
> initdb: failed
> initdb: removing data directory "/var/lib/pgsql/data"
>
> Comments:
>
> The cygserver is running in other DOS window
> (according "How to start Cygserver" in cygserver.README)
>
> Checking the most recent posts on the postgresql
> mailing list (apparently this error happens only in
> Windows 98/Me), I try modify the cygserver.conf:
>
> kern.srv.sharedmem no
> kern.ipc.semmns 100
>
> But don´t works....
>
> Any pointers ? It will be great help!
>
> _________________________________________________________
> Voce quer um iGMail protegido contra vírus e spams?
> Clique aqui: http://www.igmailseguro.ig.com.br
> Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>




---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
message can get through to the mailing list cleanly



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation