DB problem - Mailing list pgsql-admin

From vinayakr@vmoksha.com
Subject DB problem
Date
Msg-id OF81CB0E6F.6E527969-ON65257250.001FF8B3-65257250.001FF8B6@vmoksha.com
Whole thread Raw
Responses Re: [pgadmin-support] DB problem
List pgsql-admin
<font face="Default Sans Serif, Verdana, Arial, Helvetica, sans-serif" size="2"><div><br /><div><font face="Default
SansSerif, Verdana, Arial, Helvetica, sans-serif" size="2"><div><div><font face="Default Sans Serif, Verdana, Arial,
Helvetica,sans-serif" size="2"><div>Hi,</div><div> </div><div>We are using PostgreSQL 7.3 version, installed in linux
system.Only DB is getting shut down 3-4 times a day. From my application end I get "Sorry too many clients" error. <br
/>Referingthe FAQ I maximized the DB session limit to 200. </div><div> </div><div>I think the logs are not enabled in
myDB. So I set the following options in postgresql.con file<br /> <br />log_timestamp= true<br
/>log_directory=pg_log             <br />log_filename=%Y-%m-%d_%H%M%S.log      <br />log_disconnections=true     <br
/>log_hostname=true   </div><div>log_statement=true</div><div> </div><div> </div><div>After restarting the system got
thefollowing error : </div><div>[root@localhost root]# su postgres bash-2.05b$ postmaster -i -D /var/lib/pgsql/data
FATAL:postgresql.conf:131: syntax error, <br />token="%" bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL:
postgresql.conf:131:syntax error, token="%" bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL:
postgresql.conf:131:syntax error, token="%" bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL: 'log_directory' is
nota valid option name bash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL: 'log_directory' is not a valid option
namebash-2.05b$ postmaster -i -D /var/lib/pgsql/data FATAL: 'log_filename' is not a valid option name bash-2.05b$
postmaster-i -D /var/lib/pgsql/data FATAL: 'log_disconnections' is not a valid option name bash-2.05b$ postmaster -i -D
/var/lib/pg</div><div><br/>When you install the DB, the logs are enabled by default?</div><div> </div><div>Would you
plstell me still what setting need to be done?</div><div> </div><div>Thanks,<br />Vinayak V. Raikar<br />Extn : 143<br
/><br/></div></font></div></div></font></div></div></font> 

pgsql-admin by date:

Previous
From: vinayakr@vmoksha.com
Date:
Subject: DB problem
Next
From: "Shoaib Mir"
Date:
Subject: Re: DB problem