roctaiwan nettreeinc at gmail.com
Mon Jul 27 03:01:57 PDT 2009
Glyn Astill answered:

Depends on the OS. Pehaps the most common place would be /etc/profile - add
your path in there before it's exported.




roctaiwan wrote:
> 
> I  believe it has to do with my file path. But do you know where (which
> file) can I re-config (redirect) my file path make it pointing to the
> correct postgreSQL and slony?
> 
> 
> 
> Glyn Astill wrote:
>> 
>> 
>> 
>>> First Q, are my server successfully started or not?
>> 
>> Your process list's show that postgresql is running on both machines,
>> however no slon daemons are running.
>> 
>>> Q2, I have setup one succeed machine that run both slony
>>> and postgresql
>>> correctly. But the above two are not. if I want to start
>>> slon on these two
>>> slaves it will say:
>>> 
>>> -bash-3.2$ slon sql_cluster "dbname=contactdb
>>> user=postgres"
>>> -bash: slon: command not found
>>> 
>>> This happen on both of above machines.  Why is that?
>> 
>> Either slony is not installed, or your path is probably not set
>> correctly.
>> 
>> It would appear that most of the issues you're having are with the *nix
>> environment in general, perhaps it'd be an idea to do a bit of reading or
>> get some training there.
>> 
>> 
>> 
>> _______________________________________________
>> Slony1-general mailing list
>> Slony1-general at lists.slony.info
>> http://lists.slony.info/mailman/listinfo/slony1-general
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/postgres-and-slon-is-started-or-not%21---Slon-command-not-known-by-system-tp24639114p24677538.html
Sent from the Slony-I -- General mailing list archive at Nabble.com.



More information about the Slony1-general mailing list