X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 94C53D6FCC for ; Tue, 8 Nov 2005 03:21:38 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81467-05 for ; Tue, 8 Nov 2005 07:21:33 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from obelix.askesis.nl (laudanum.demon.nl [82.161.125.16]) by svr1.postgresql.org (Postfix) with ESMTP id EFAC1D6E70 for ; Tue, 8 Nov 2005 03:21:32 -0400 (AST) Received: obelix.askesis.nl 172.31.0.1 from 172.31.1.8 172.31.1.8 via HTTP with MS-WebStorage 6.0.6249 Received: from Panoramix by obelix.askesis.nl; 08 Nov 2005 08:21:32 +0100 Subject: Moving pg_xlog problem From: Joost Kraaijeveld To: Pgsql-Admin Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 08 Nov 2005 08:21:32 +0100 Message-Id: <1131434492.31264.42.camel@Panoramix> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.054 required=5 tests=[AWL=0.053, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.054 X-Spam-Level: X-Archive-Number: 200511/56 X-Sequence-Number: 19429 Hi, I am trying to move the pg_xlog directory to another disk by using a symbolic link. But I keep getting the following error message: Panoramix:/var/lib/postgresql/8.0/main# /etc/init.d/postgresql-8.0 start Starting PostgreSQL 8.0 database server: main(FAILED) The PostgreSQL server failed to start. Please check the log output: LOG: could not load root certificate file "/var/lib/postgresql/8.0/main/root.crt": No SSL error reported DETAIL: Will not verify client certificates. LOG: database system was shut down at 2005-11-08 08:01:12 CET PANIC: could not open file "/var/lib/postgresql/8.0/main/pg_xlog/00000001.history": Permission denied LOG: startup process (PID 14242) was terminated by signal 6 LOG: aborting startup due to startup process failure I followed this procedure: As root: /etc/init.d/postgresql-8.0 stop As postgres cd /var/lib/postgres/8.0/main mv pg_xlog/ pg_xlog_orig mkdir /opt/postgres/logs/wal ln -s /opt/postgres/logs/wal pg_xlog cp -r pg_xlog_orig/ pg_xlog As root: /etc/init.d/postgresql-8.0 start What did I do wrong, and even more important, what should I do? TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: J.Kraaijeveld@Askesis.nl web: www.askesis.nl