Sample Header Ad - 728x90

Postgresql - Segmentation fault (core dumped)

2 votes
2 answers
10685 views
I'm working on postgresql code (server side). I installed a version from source code following the official tutorial: http://www.postgresql.org/docs/8.4/interactive/install-short.html I did same modification on code, so I need to install again postgresql, but this time my version. I renamed the */usr/local/pgsql/* in */usr/local/pgsql2/* and I did: make distclean ./configure make sudo make install sudo mkdir /usr/local/pgsql/data sudo chown darkcoffeelinux /usr/local/pgsql/data until now everything went well, but with the command /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data/ I got this error: The files belonging to this database system will be owned by user "darkcoffeelinux". This user must also own the server process. The database cluster will be initialized with locale en_US.UTF-8. The default database encoding has accordingly been set to UTF8. The default text search configuration will be set to "english". fixing permissions on existing directory /usr/local/pgsql/data ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 24MB creating configuration files ... ok creating template1 database in /usr/local/pgsql/data/base/1 ... ok initializing pg_authid ... Segmentation fault (core dumped) child process exited with exit code 139 initdb: removing contents of data directory "/usr/local/pgsql/data" Additional information: I'm using kubuntu, postgresql 8.4.15
Asked by DarkCoffee (517 rep)
Feb 10, 2013, 06:35 AM
Last activity: Mar 18, 2021, 11:55 AM