<!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.  The application is slow so I am storing the database on a 64GB microsd card.  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   # the mountpoint is /data</p><p># It all seemed to work correctly.  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.  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>