I resolved it by chown secret file to apache. But it comes to another problem: "WARNING: No targets found for slave 'sp_slave'" Here is my config:
*** Slaves *** secrets=/usr/local/smokeping/etc/smokeping_secrets + sp_slave display_name=sp_slave color=0000ff *** Targets *** probe = FPing ..... +dest1 slaves = sp_slave Any idea? 2009/11/9 Trần Trọng Tấn <[email protected]> > Dear list, > I had this error when trying to install SP slave: > > [r...@sp_slave]# /usr/local/smokeping/bin/smokeping --master-url= > http://192.168.37.90/cgi-bin/smokeping.cgi--cache-dir=/usr/local/smokeping/var/ > --shared-secret=/usr/local/smokeping/var/secrets.txt --logfile=smoke.log > WARNING: Opening secrets file /usr/local/smokeping/etc/smokeping_secrets: > Permission denied > > ERROR: we did not get config from the master. Maybe we are not configured > as a slave for any of the targets on the master ? > > I use CentOS5. > On master: > [r...@sp_master ~]# ls -la /usr/local/smokeping/etc/smokeping_secrets > -rw-r----- 1 root root 33 Nov 9 16:46 > /usr/local/smokeping/etc/smokeping_secrets > [r...@sp_master ~]# ps aux | grep /bin/smokeping > root 3485 0.0 1.2 22344 12740 ? Ss 18:33 0:00 > /usr/local/smokeping/bin/smokeping [FPing] > > Pls help. > TIA, > -giobuon >
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
