Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f44I5ZA83621 for ; Fri, 4 May 2001 14:05:35 -0400 (EDT) (envelope-from pgsql-docs-owner@postgresql.org) Received: from mta04.mail.mel.aone.net.au (mta04.mail.au.uu.net [203.2.192.84]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f42J0xA55603 for ; Wed, 2 May 2001 15:01:01 -0400 (EDT) (envelope-from jclift@iprimus.com.au) Received: from iprimus.com.au ([63.34.220.227]) by mta01.mail.mel.aone.net.au with ESMTP id <20010502114012.MML28671.mta01.mail.mel.aone.net.au@iprimus.com.au> for ; Wed, 2 May 2001 21:40:12 +1000 Message-ID: <3AEFF0DB.6E5A5FC4@iprimus.com.au> Date: Wed, 02 May 2001 21:34:51 +1000 From: Justin Clift X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Error in documentation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/25 X-Sequence-Number: 706 Hi guys, Just noticed an error in the 7.1.1 developer docs. In the Admin Guide, in chapter 3.3 "Starting the database server" it says : *** On Solaris, edit the file rc2.d to contain the following single line: su - postgres -c "/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data" *** This is BADLY WRONG and won't work at all. Instead the person installing PostgreSQL needs to create a startup script as /etc/init.d/postgresql, then create a soft link from /etc/rc3.d/S[00..99]postgresql that script. The script though, can use the su command given above. i.e. echo 'su - postgres -c "/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data"' > /etc/init.d/postgresql chmod 744 /etc/init.d/postgresql chown root:sys /etc/init.d/postgresql ln -s /etc/init.d/postgresql /etc/rc3.d/S10postgresql I haven't tried looking at the documentation .sgml source files and creating a patch, but if you guys want me to, I guess I could figure it out. Regards and best wishes, Justin Clift -- "My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there." - Indira Gandhi