Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PostgreSQL error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
CEPi
n00b
n00b


Joined: 30 Aug 2002
Posts: 13
Location: Kosova

PostPosted: Sat Feb 01, 2003 1:04 pm    Post subject: PostgreSQL error Reply with quote

* >>> Execute the following command
* >>> ebuild /var/db/pkg/dev-db/postgresql-7.3/postgresql-7.3.ebuild config
* >>> to setup the initial database environment.
* >>>
* >>> Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell, or /bin/true


>>> Regenerating /etc/ld.so.cache...
>>> dev-db/postgresql-7.3 merged.
>>> Recording dev-db/postgresql in "world" favorites file...

dev-db/postgresql
selected: none
protected: 7.3
omitted: none

>>> clean: No packages selected for removal.

>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


* GNU info directory index is up-to-date.

gentoo root # ebuild /var/db/pkg/dev-db/postgresql-7.3/postgresql-7.3.ebuild config
* >>> Creating data directory ...
* >>> Initializing the database ...
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 C.

Fixing permissions on existing directory /var/lib/postgresql/data... ok
creating directory /var/lib/postgresql/data/base... ok
creating directory /var/lib/postgresql/data/global... ok
creating directory /var/lib/postgresql/data/pg_xlog... ok
creating directory /var/lib/postgresql/data/pg_clog... ok
creating template1 database in /var/lib/postgresql/data/base/1... /usr/bin/initdb: line 582: 28365 Segmentation fault "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1
sed: couldn't write 77 items to stdout: Broken pipe
cat: write error: Broken pipe

initdb failed.
===================================

I've given /bin/bash to postgresql and no luck.

Some guy told me you might not have enough disk space and i've got 475MB space on disk.

Thanx,

CEPi.
Back to top
View user's profile Send private message
Beeblebrox
n00b
n00b


Joined: 25 Jan 2003
Posts: 6

PostPosted: Tue Feb 11, 2003 2:04 am    Post subject: Reply with quote

I have exactly the same problem!!! :(
Back to top
View user's profile Send private message
morni
n00b
n00b


Joined: 19 Mar 2003
Posts: 1

PostPosted: Wed Mar 19, 2003 8:05 pm    Post subject: postgresql-7.3.2.ebuild Reply with quote

postgresql-7.3.2.ebuild works.
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Wed Mar 19, 2003 9:44 pm    Post subject: Reply with quote

Works fine on me.

But I DID have same problem few months ago when my system has been built using pretty risky CFLAGS. After I reinstalled the whole box (I know, I could just re-emerge everything) with much more conservative CFLAGS the problem has been disappeared.
Back to top
View user's profile Send private message
gerni
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2002
Posts: 107
Location: Austria

PostPosted: Mon Apr 28, 2003 4:08 pm    Post subject: Reply with quote

I've exactly the same Problem. It does NOT work for me! I use version 7.3.2. My cflags are: -O2 -pentium3 -pipe -so this couldn't be the problem.
Back to top
View user's profile Send private message
gerni
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2002
Posts: 107
Location: Austria

PostPosted: Wed Apr 30, 2003 5:20 pm    Post subject: Reply with quote

i've found the problem!
If you don't have "SYSTEM V IPC" (in generel setup) compiled in your kernel this error appears...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum