I resolved it by chown secret file to apache. But it comes to another problem:<br>"WARNING: No targets found for slave 'sp_slave'"<br>Here is my config:<br><br>*** Slaves ***<br>secrets=/usr/local/smokeping/etc/smokeping_secrets<br>
+ sp_slave<br>display_name=sp_slave<br>color=0000ff<br><br><br>*** Targets ***<br>probe = FPing<br>.....<br>+dest1<br>slaves = sp_slave <br>Any idea?<br><div class="gmail_quote">2009/11/9 Trần Trọng Tấn <span dir="ltr"><<a href="mailto:giobuon@gmail.com">giobuon@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear list,<br>I had this error when trying to install SP slave:<br><br>[root@sp_slave]# /usr/local/smokeping/bin/smokeping --master-url=<a href="http://192.168.37.90/cgi-bin/smokeping.cgi" target="_blank">http://192.168.37.90/cgi-bin/smokeping.cgi</a> --cache-dir=/usr/local/smokeping/var/ --shared-secret=/usr/local/smokeping/var/secrets.txt --logfile=smoke.log<br>
WARNING: Opening secrets file /usr/local/smokeping/etc/smokeping_secrets: Permission denied<br><br>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 ?<br>
<br>I use CentOS5. <br>On master:<br>[root@sp_master ~]# ls -la /usr/local/smokeping/etc/smokeping_secrets<br>-rw-r----- 1 root root 33 Nov 9 16:46 /usr/local/smokeping/etc/smokeping_secrets<br>[root@sp_master ~]# ps aux | grep /bin/smokeping<br>
root 3485 0.0 1.2 22344 12740 ? Ss 18:33 0:00 /usr/local/smokeping/bin/smokeping [FPing]<br><br>Pls help.<br>TIA,<br>-giobuon<br>
</blockquote></div><br>