[pgpool-general: 2540] Re: pid not found

Yugo Nagata nagata at sraoss.co.jp
Thu Feb 6 17:25:41 JST 2014


Hi,

On Thu, 6 Feb 2014 07:41:22 +0000
Gintautas Sulskus <gingaz at gmail.com> wrote:

> Hello,
> 
> whenever I reboot my machine /var/run.pgpool dir gets removed and is not
> recreated on startup.
> If I create it manually and perform chmod 755 pgpoolAdmin complains:
> 
> pgpool start failed. pgpool.pid not found
> 
> 2014-02-06 07:33:31 ERROR: pid 1473: could not open pid file as
> /var/run/pgpool/pgpool.pid. reason: Permission denied

If you use pgpoolAdmin, apache user should have permission to write
to /var/run/pgpool directory.Try

 $ chomod 777 /var/run/pgpool

or

 $ chown apache /var/run/pgpool

> 
> Do you know what is the cause and what is the best way to solve it?
> 
> I'm running Ubuntu 10.04.4 LTS 64 bit.
> 
> Best Regards,
> Gintas


-- 
Yugo Nagata <nagata at sraoss.co.jp>


More information about the pgpool-general mailing list