| View previous topic :: View next topic |
| Author |
Message |
CEPi n00b

Joined: 30 Aug 2002 Posts: 13 Location: Kosova
|
Posted: Sat Feb 01, 2003 1:04 pm Post subject: PostgreSQL error |
|
|
* >>> 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 |
|
 |
Beeblebrox n00b


Joined: 25 Jan 2003 Posts: 6
|
Posted: Tue Feb 11, 2003 2:04 am Post subject: |
|
|
I have exactly the same problem!!!  |
|
| Back to top |
|
 |
morni n00b

Joined: 19 Mar 2003 Posts: 1
|
Posted: Wed Mar 19, 2003 8:05 pm Post subject: postgresql-7.3.2.ebuild |
|
|
| postgresql-7.3.2.ebuild works. |
|
| Back to top |
|
 |
axxackall l33t


Joined: 06 Nov 2002 Posts: 651 Location: Toronto, Ontario, 3rd Rock From Sun
|
Posted: Wed Mar 19, 2003 9:44 pm Post subject: |
|
|
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 |
|
 |
gerni Tux's lil' helper


Joined: 14 Jul 2002 Posts: 107 Location: Austria
|
Posted: Mon Apr 28, 2003 4:08 pm Post subject: |
|
|
| 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 |
|
 |
gerni Tux's lil' helper


Joined: 14 Jul 2002 Posts: 107 Location: Austria
|
Posted: Wed Apr 30, 2003 5:20 pm Post subject: |
|
|
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 |
|
 |
|