Thread: Problem with pgpool-II tool

Problem with pgpool-II tool

From
aravind chandu
Date:
Hello,

              I have encountered a problem while configuring pgpool-II,I encountered a problem while executing the following command.

 pgpool -n &
[1] 2796
[achandana@localhost ~]$ pool_config: could not open configuration file (pgpool.conf)
pool_config: using default values...
pid file found but it seems bogus. Trying to start pgpool anyway...
2009-04-19 12:39:24 ERROR: pid 2796: could not open pid file as /var/run/pgpool/pgpool.pid. reason: Permission denied

 Following were the default paths in  pgpool.conf file

# Logging directory
logdir = '/tmp'

# pid file name
pid_file_name = '/var/run/pgpool/pgpool.pid'

since there is no pgpool/pgpool.pid file in run folder i created pgpool directory and pgpool.pid file in that directory and gave a value 2678 in pgpool.pid file then i got the above message.Can you guys please help me in this?

Thanks,
Aravind.


Re: Problem with pgpool-II tool

From
Henry
Date:
Quoting "aravind chandu" <avin_friends@yahoo.com>:
>               I have encountered a problem while configuring
> pgpool-II,I encountered a problem while executing the following
> command.

You really need to post this on the pgpool list, not here.
Subscribe here:  http://pgfoundry.org/mailman/listinfo/pgpool-general

Henry


Re: Problem with pgpool-II tool

From
Tatsuo Ishii
Date:
The error message says all. Pgpool process needs to create
/var/run/pgpool/pgpool.pid when starting up. So you should give pgpool
write access right to the directory(/var/run/pgpool/), and of courese
along with access right to reach the directory.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

> Hello,
>
>               I have encountered a problem while configuring pgpool-II,I encountered a problem while executing the
followingcommand. 
>
>  pgpool -n &
> [1] 2796
> [achandana@localhost ~]$ pool_config: could not open configuration file (pgpool.conf)
> pool_config: using default values...
> pid file found but it seems bogus. Trying to start pgpool anyway...
> 2009-04-19 12:39:24 ERROR: pid 2796: could not open pid file as /var/run/pgpool/pgpool.pid. reason: Permission denied
>
>  Following were the default paths in  pgpool.conf file
>
> # Logging directory
> logdir = '/tmp'
>
> # pid file name
> pid_file_name = '/var/run/pgpool/pgpool.pid'
>
> since there is no pgpool/pgpool.pid file in run folder i created pgpool directory and pgpool.pid file in that
directoryand gave a value 2678 in pgpool.pid file then i got the above message.Can you guys please help me in this? 
>
> Thanks,
> Aravind.
>
>
>