Database not starting in init.d

From: "ray madigans(dot)org" <ray(at)madigans(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Database not starting in init.d
Date: 2016-03-17 15:20:02
Message-ID: 1806501231.148395.1458228002175.JavaMail.vpopmail@atl4oxapp109.mgt.hosting.qts.netsol.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head><body><p>I am attempting to setup a small postgresql database on a beaglebone black. &#160;The application is slow so I am storing the database on a 64GB microsd card. &#160;I formatted the drive, mounted it all correctly.</p><p>I logged in as postgres</p><p>sudo su postgres</p><p># create the database cluster</p><p>./initdb /data &#160; # the mountpoint is /data</p><p># It all seemed to work correctly. &#160;I can</p><p>./postgres -D /data and the cluster seems to start correctly.</p><p>I want the database to start in init.d so I edited the three lines in /etc/postgresql/9.1/postgresql.conf and pointed the three entries to /data. &#160;When I start the machine the database fails with the following in the log file</p><p>autovacuum launcher started</p><p>database system is ready</p><p>incomplete startup packet</p><p>received smart shutdown request</p><p>autovacuum launcher shutting down</p><p>database system is shutdown</p><p>I have obviously missed something, any pointer to where to find what I missed would be appreciated.</p></body></html>

Attachment Content-Type Size
unknown_filename text/html 1.3 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2016-03-17 15:34:50 Re: vacuum - reclaiming disk space.
Previous Message bricklen 2016-03-17 14:57:04 Re: vacuum - reclaiming disk space.