Problem with pgpool-II tool

Started by aravind chandualmost 17 years ago3 messagesgeneral
Jump to latest
#1aravind chandu
avin_friends@yahoo.com

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
[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.

#2Henry
henry@zen.co.za
In reply to: aravind chandu (#1)
Re: Problem with pgpool-II tool

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

#3Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: aravind chandu (#1)
Re: Problem with pgpool-II tool

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

Show quoted text

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.