pcp
[Top] [All Lists]

PCP Startup Error

To: pcp@xxxxxxxxxxx
Subject: PCP Startup Error
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Mon, 24 Aug 2015 14:32:04 +1000
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: chandana@xxxxxxxxxxxxx
All,
I am running PC 3.8.2 on CentOS 6.3 host.

PCP was running fine, until I tried to restart it after doing an access change to pmcd.conf

Now PCP won't start, with this error:
Error: Unable to configure SSL session ID cache: Access Denied

The change I made was to this:
# Name  Id      IPC     IPC Params      File/Cmd
pmcd	2	dso	pmcd_init	/var/lib/pcp/pmdas/pmcd/pmda_pmcd.so
linux	60	dso	linux_init	/var/lib/pcp/pmdas/linux/pmda_linux.so
mmv	70	dso	mmv_init	/var/lib/pcp/pmdas/mmv/pmda_mmv.so
process	71	pipe	binary 		/var/lib/pcp/pmdas/process/pmdaprocess -d 71 

[access]
# we will only allow access from known ip addresses
disallow * : store;
# allow all from local host
allow localhost : all;

>From this:
# Name  Id      IPC     IPC Params      File/Cmd
pmcd	2	dso	pmcd_init	/var/lib/pcp/pmdas/pmcd/pmda_pmcd.so
linux	60	dso	linux_init	/var/lib/pcp/pmdas/linux/pmda_linux.so
mmv	70	dso	mmv_init	/var/lib/pcp/pmdas/mmv/pmda_mmv.so
process	71	pipe	binary 		/var/lib/pcp/pmdas/process/pmdaprocess -d 71 

[access]
# we will only allow access from known ip addresses
disallow * : all;
# allow all from local host
allow localhost : all;
# allow fetch from known m4u entry points
# primus
allow 210.50.7.164,210.50.7.165,210.50.7.166,210.50.7.167,210.50.7.168,210.50.7.169,210.50.7.170,210.50.7.171,210.50.7.172,210.50.7.173,210.50.7.174 : fetch;
# intervolve
allow 122.100.4.240,122.100.4.241,122.100.4.242,122.100.4.243,122.100.4.244,122.100.4.21,122.100.4.22,122.100.4.23 : fetch;
# burke st. office
allow 175.45.83.34 : fetch;
# all internal addresses
allow 192.168.* : fetch;

<Prev in Thread] Current Thread [Next in Thread>