Database not starting in init.d
От | ray madigans.org |
---|---|
Тема | Database not starting in init.d |
Дата | |
Msg-id | 1806501231.148395.1458228002175.JavaMail.vpopmail@atl4oxapp109.mgt.hosting.qts.netsol.com обсуждение исходный текст |
Ответы |
Re: Database not starting in init.d
|
Список | pgsql-general |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org= /TR/xhtml1/DTD/xhtml1-strict.dtd"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8= "/> I am attempting to setup a small postgresql database on a = beaglebone black. The application is slow so I am storing the databas= e on a 64GB microsd card. I formatted the drive, mounted it all corre= ctly.I logged in as postgressudo su postgres# create t= he database cluster./initdb /data # the mountpoint is /data</= p># It all seemed to work correctly. I can./postgres -D /da= ta and the cluster seems to start correctly.I want the database to s= tart in init.d so I edited the three lines in /etc/postgresql/9.1/postgresq= l.conf and pointed the three entries to /data. When I start the machi= ne the database fails with the following in the log fileautovacuum l= auncher starteddatabase system is readyincomplete startup pac= ketreceived smart shutdown requestautovacuum launcher shuttin= g downdatabase system is shutdownI have obviously missed some= thing, any pointer to where to find what I missed would be appreciated.=
В списке pgsql-general по дате отправления: