FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-06-2008, 02:28 AM
Ken Irving
 
Default where are the data and log folders of postgresql 8.3 on debian sid?

On Sat, Dec 06, 2008 at 10:03:04AM +0800, ????????? wrote:
> I have installed postgresql 8.3 from debian package, and i'm reading
> the official document from postgresql, the document says after
> installing the database, it needs to create data folder and specify
> log file to initiate the database, like this:
> ---------------
> mkdir /usr/local/pgsql/data
> chown postgres /usr/local/pgsql/data
> su - postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
> -----------------
> but i cannot find the folder in my debian installation, i think they
> are at some location else, where is it? thanks

If you look in /usr/share/doc/PACKAGE there should be a readme.debian or
similar that describes the particulars of the package. There is usually
also a readme from upstream, changelogs for debian and upstream, etc. In
many cases the upstream projects are quite generalized, while the debian
package tends to make some decisions with the aim of coming up in or very
close to a working state. I would think it unusual to have to go digging
around in the innards of the system to get it to work, but if there is
such a need I'd expect it to be documented.

The above paths I guess are from the upstream sources and not debian, as
debian would not install or probably even refer to anything in /usr/local/
or /var/local/. As to where to find the equivalent files/folders, I have
no idea, but if you follow the debian docs for the package there should
be sufficient information there to do what you need. Good luck!

--
Ken Irving


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org