Errors starting postgres after initializing new database

From: Chris Barnes <compuguruchrisbarnes(at)hotmail(dot)com>
To: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Errors starting postgres after initializing new database
Date: 2010-04-27 20:30:30
Message-ID: BLU149-W59F7E3D4A212EC4BB75B6BD4030@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have just initialized a database with no errors, used the postgresql.conf file from another system running 8.4.2.
Attempted to start and got the fatal error below.
I than ran pgtune and got the same error.

I am not sure what the problem is? Is there more detailed logging than below, or can be turned on?

CentOS release 5.4 (Final) (installed and working)
CentOS release 5.2 (Final) (failing)

after pgtune
olap.rownum_name = 'default'
maintenance_work_mem = 1GB # pg_generate_conf wizard 2010-04-27
effective_cache_size = 22GB # pg_generate_conf wizard 2010-04-27
work_mem = 96MB # pg_generate_conf wizard 2010-04-27
shared_buffers = 7680MB # pg_generate_conf wizard 2010-04-27
~
~

[root(at)rc-rec-five pgtune-0.9.0]# /etc/init.d/postgresql stop
Stopping postgresql service: [FAILED]
[root(at)rc-rec-five pgtune-0.9.0]# /etc/init.d/postgresql start
Starting postgresql service: [FAILED]
[root(at)rc-rec-five pgtune-0.9.0]# cat pgstartup.log
cat: pgstartup.log: No such file or directory
[root(at)rc-rec-five pgtune-0.9.0]# cat /data/pgsql/data/pgstartup.log
2010-04-27 16:19:17 EDT FATAL: requested shared memory size overflows size_t
2010-04-27 16:22:27 EDT FATAL: requested shared memory size overflows size_t

/var/log/messages/
Apr 27 13:57:56 rc-rec5 ntpd[2990]: synchronized to 206.248.171.198, stratum 1
Apr 27 16:13:45 rc-rec5 postgres[5717]: [1-1] 2010-04-27 16:13:45 EDT FATAL: requested shared memory size overflows size_t
Apr 27 16:19:17 rc-rec5 postgres[7736]: [1-1] 2010-04-27 16:19:17 EDT FATAL: requested shared memory size overflows size_t
Apr 27 16:22:27 rc-rec5 postgres[9648]: [1-1] 2010-04-27 16:22:27 EDT FATAL: requested shared memory size overflows size_t

Thanks, Chris

_________________________________________________________________
Hotmail & Messenger are available on your phone. Try now.
http://go.microsoft.com/?linkid=9724461

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2010-04-27 20:38:26 Re: Errors starting postgres after initializing new database
Previous Message akp geek 2010-04-27 19:57:16 Re: Open Source BI Tool