pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedTrying to use initlocation
7+ messages / 4 participants
[nested] [flat]
* Trying to use initlocation
@ 2005-04-04 16:06 lista@ernstson.nu
0 siblings, 1 reply; 7+ messages in thread
From: lista@ernstson.nu @ 2005-04-04 16:06 UTC (permalink / raw)
To: pgsql-admin
I have problem using initlocation on my debian-server
I have a debian server and a postgresql 7.4 on it. When I try to set up a new
alternative location on it, I got some problem first
I do not know if I have made right when added the variables
PGDATA2=/images-data
in the file /etc/init.d/postgresql
export PGDATA2
(also tryed setting the variables in /etc/postgresql/postgresql.env)
And after that I have tryed to run initlocation PGDATA2 i get the error
Command not found.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Trying to use initlocation
@ 2005-04-04 16:15 Jonathan Daugherty <cygnus@cprogrammer.org>
parent: lista@ernstson.nu
0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Daugherty @ 2005-04-04 16:15 UTC (permalink / raw)
To: pgsql-admin
# And after that I have tryed to run initlocation PGDATA2 i get the
# error Command not found.
It's probably not in your path:
/usr/lib/postgresql/bin/initlocation
--
Jonathan Daugherty
http://www.parsed.org
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Trying to use initlocation
@ 2005-04-04 21:47 Henric Ernstson <henric@ernstson.nu>
parent: Jonathan Daugherty <cygnus@cprogrammer.org>
1 sibling, 1 reply; 7+ messages in thread
From: Henric Ernstson @ 2005-04-04 21:47 UTC (permalink / raw)
To: pgsql-admin
Ok, if it's not in my path /usr/lib/postgresql/bin/initlocation how do I do then
to use initlocation?
Must it bee in that path?
(what exactly do initlocation?) sets some parameter in some set-up files?
Citerar Jonathan Daugherty <cygnus@cprogrammer.org>:
> # And after that I have tryed to run initlocation PGDATA2 i get the
> # error Command not found.
>
> It's probably not in your path:
>
> /usr/lib/postgresql/bin/initlocation
>
> --
> Jonathan Daugherty
> http://www.parsed.org
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
Henric Ernstson
www.ernstson.nu
070-577 95 91
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Trying to use initlocation
@ 2005-04-06 06:45 lista@ernstson.nu
parent: Jonathan Daugherty <cygnus@cprogrammer.org>
1 sibling, 1 reply; 7+ messages in thread
From: lista@ernstson.nu @ 2005-04-06 06:45 UTC (permalink / raw)
To: pgsql-admin; +Cc: Jonathan Daugherty <cygnus@cprogrammer.org>
Ok, if it's not in my path /usr/lib/postgresql/bin/initlocation how do I do
then
to use initlocation?
Must it bee in that path?
(what exactly do initlocation?) sets some parameter in some set-up files?
Citerar Jonathan Daugherty <cygnus@cprogrammer.org>:
> # And after that I have tryed to run initlocation PGDATA2 i get the
> # error Command not found.
>
> It's probably not in your path:
>
> /usr/lib/postgresql/bin/initlocation
>
> --
> Jonathan Daugherty
> http://www.parsed.org
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Trying to use initlocation
@ 2005-04-06 07:27 lista@ernstson.nu
parent: lista@ernstson.nu
0 siblings, 0 replies; 7+ messages in thread
From: lista@ernstson.nu @ 2005-04-06 07:27 UTC (permalink / raw)
To: pgsql-admin
Ok I now I understand what you say, I have set /usr/lib/postgresql/bin to my
path but it does not help? some other suggestion.
I assume that I have done error in seting the data PGDATA2=/database_image or
some thing ?
or have I done some other thing error when i try to say
initlocation PGDATA2
Even if I stands in .../bin/ it wount work.
Citerar lista@ernstson.nu:
> Ok, if it's not in my path /usr/lib/postgresql/bin/initlocation how do I do
> then
> to use initlocation?
> Must it bee in that path?
>
> (what exactly do initlocation?) sets some parameter in some set-up files?
>
> Citerar Jonathan Daugherty <cygnus@cprogrammer.org>:
>
> > # And after that I have tryed to run initlocation PGDATA2 i get the
> > # error Command not found.
> >
> > It's probably not in your path:
> >
> > /usr/lib/postgresql/bin/initlocation
> >
> > --
> > Jonathan Daugherty
> > http://www.parsed.org
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 7: don't forget to increase your free space map settings
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Trying to use initlocation
@ 2005-04-11 21:45 Thomas F.O'Connell <tfo@sitening.com>
parent: Henric Ernstson <henric@ernstson.nu>
0 siblings, 0 replies; 7+ messages in thread
From: Thomas F.O'Connell @ 2005-04-11 21:45 UTC (permalink / raw)
To: Henric Ernstson <henric@ernstson.nu>; +Cc: pgsql-admin
For an explanation of the purpose and behavior of initlocation, look
here:
http://www.postgresql.org/docs/7.4/static/app-initlocation.html
You can call it with an explicit path (e.g.,
/usr/lib/postgresql/bin/initlocation), or you can add it to your path.
-tfo
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
Strategic Open Source: Open Your i™
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005
On Apr 4, 2005, at 4:47 PM, Henric Ernstson wrote:
> Ok, if it's not in my path /usr/lib/postgresql/bin/initlocation how do
> I do then
> to use initlocation?
> Must it bee in that path?
>
> (what exactly do initlocation?) sets some parameter in some set-up
> files?
>
>
> Citerar Jonathan Daugherty <cygnus@cprogrammer.org>:
>
>> # And after that I have tryed to run initlocation PGDATA2 i get the
>> # error Command not found.
>>
>> It's probably not in your path:
>>
>> /usr/lib/postgresql/bin/initlocation
>>
>> --
>> Jonathan Daugherty
>> http://www.parsed.org
>>
>> ---------------------------(end of
>> broadcast)---------------------------
>> TIP 7: don't forget to increase your free space map settings
>>
>
>
> Henric Ernstson
> www.ernstson.nu
> 070-577 95 91
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Trying to use initlocation
@ 2005-04-12 09:06 lista@ernstson.nu
0 siblings, 0 replies; 7+ messages in thread
From: lista@ernstson.nu @ 2005-04-12 09:06 UTC (permalink / raw)
To: pgsql-admin; +Cc: tfo@sitening.com
I have set /usr/lib/postgresql/bin as a explixit path but stil it woun't so, I
have to find out some ting more that I have been doing wrong.
>
> For an explanation of the purpose and behavior of initlocation, look
> here:
>
> http://www.postgresql.org/docs/7.4/static/app-initlocation.html
>
> You can call it with an explicit path (e.g.,
> /usr/lib/postgresql/bin/initlocation), or you can add it to your path.
>
> -tfo
>
> --
> Thomas F. O'Connell
> Co-Founder, Information Architect
> Sitening, LLC
>
> Strategic Open Source: Open Your i™
>
> http://www.sitening.com/
> 110 30th Avenue North, Suite 6
> Nashville, TN 37203-6320
> 615-260-0005
>
> On Apr 4, 2005, at 4:47 PM, Henric Ernstson wrote:
>
> > Ok, if it's not in my path /usr/lib/postgresql/bin/initlocation how do
> > I do then
> > to use initlocation?
> > Must it bee in that path?
> >
> > (what exactly do initlocation?) sets some parameter in some set-up
> > files?
> >
> >
> > Citerar Jonathan Daugherty <cygnus@cprogrammer.org>:
> >
> >> # And after that I have tryed to run initlocation PGDATA2 i get the
> >> # error Command not found.
> >>
> >> It's probably not in your path:
> >>
> >> /usr/lib/postgresql/bin/initlocation
> >>
> >> --
> >> Jonathan Daugherty
> >> http://www.parsed.org
> >>
> >> ---------------------------(end of
> >> broadcast)---------------------------
> >> TIP 7: don't forget to increase your free space map settings
> >>
> >
> >
> > Henric Ernstson
> > www.ernstson.nu
> > 070-577 95 91
> >
> > ---------------------------(end of
> > broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
>
>
> ----- Slut på vidarebefordrat meddelande -----
>
>
> Henric Ernstson
> www.ernstson.nu
> 070-577 95 91
>
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2005-04-12 09:06 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-04 16:06 Trying to use initlocation lista@ernstson.nu
2005-04-04 16:15 ` Jonathan Daugherty <cygnus@cprogrammer.org>
2005-04-04 21:47 ` Henric Ernstson <henric@ernstson.nu>
2005-04-11 21:45 ` Thomas F.O'Connell <tfo@sitening.com>
2005-04-06 06:45 ` lista@ernstson.nu
2005-04-06 07:27 ` lista@ernstson.nu
2005-04-12 09:06 Re: Trying to use initlocation lista@ernstson.nu
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox