Hi,
I've cacti version 1.2.27 and see this errors in the Logs:
Restarting PHP Script Server2024-09-25 15:35:03 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] Device[System Device] ERROR: Problem executing POPEN []: '/usr/bin/php -q /usr/share/cacti/scripts/cacti_user_stats.php'
]. Restarting PHP Script Server2024-09-25 15:35:02 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] ERROR: SS[0] PHP Script Server communications lost sending Command[/usr/share/cacti/scripts/ss_hstats.php ss_hstats '' uptime
]. Restarting PHP Script Server2024-09-25 15:35:02 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] ERROR: SS[0] PHP Script Server communications lost sending Command[/usr/share/cacti/scripts/ss_hstats.php ss_hstats '' uptime
]. Restarting PHP Script Server2024-09-25 15:35:02 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] ERROR: SS[0] PHP Script Server communications lost sending Command[/usr/share/cacti/scripts/ss_hstats.php ss_hstats '' uptime
]. Restarting PHP Script Server2024-09-25 15:35:02 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] ERROR: SS[0] PHP Script Server communications lost sending Command[/usr/share/cacti/scripts/ss_hstats.php ss_hstats '' polling_time
]. Restarting PHP Script Server2024-09-25 15:35:02 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] ERROR: SS[0] PHP Script Server communications lost sending Command[/usr/share/cacti/scripts/ss_hstats.php ss_hstats '' polling_time
2024-09-25 15:35:02 - SPINE: Poller[Main Poller] PID[611546] PT[139819335886400] ERROR: SS[0] PHP Script Server communications lost sending Command[/usr/share/cacti/scripts/ss_hstats.php ss_hstats '' polling_time
This happens every 5 minutes (spine polling). And I'm not able to identify which device is causing this. If I run spine from the linux prompt with "spine -R -V 3 -S" the output does'nt show any errors.
How can I find the cause of above errors?
regards,
Ivan
cacti 1.2.27/spine 1.2.27
Moderators: Developers, Moderators
Re: cacti 1.2.27/spine 1.2.27
Two errors - maybe missing file /usr/share/cacti/scripts/cacti_user_stats.php or incorrect php path (/usr/bin/php)
You can download it from github from 1.2.x branch
compare your file /usr/share/cacti/scripts/ss_hstats.php with github version too
You can download it from github from 1.2.x branch
compare your file /usr/share/cacti/scripts/ss_hstats.php with github version too
Let the Cacti grow!
Re: cacti 1.2.27/spine 1.2.27
Macan,
The scripts are not missing. /usr/bin/php is also correct.
And I see a difference between my version of cacti_user_stats.php and the github branch 1.2 version.
And I see no difference for ss_hstats.php
I do update cacti via dnf from the repo. I think branch 1.2 is not ye available.
Is there a way to test these scripts manually?
regards,
Ivan
The scripts are not missing. /usr/bin/php is also correct.
And I see a difference between my version of cacti_user_stats.php and the github branch 1.2 version.
And I see no difference for ss_hstats.php
I do update cacti via dnf from the repo. I think branch 1.2 is not ye available.
Is there a way to test these scripts manually?
regards,
Ivan
Re: cacti 1.2.27/spine 1.2.27
try run this command manually
/usr/bin/php -q /usr/share/cacti/scripts/cacti_user_stats.php
/usr/bin/php -q /usr/share/cacti/scripts/cacti_user_stats.php
Let the Cacti grow!
Re: cacti 1.2.27/spine 1.2.27
macan,
That seems to woks fine: /usr/bin/php -q /usr/share/cacti/scripts/cacti_user_stats.php
valid:0 invalid:0 active:0 sleeping:0 garbage:0 uactive:0 usleeping:0
It seems to me that cacti_user_stats.php is executed by the poller (every 5 minutes). And maybe thePOEN error is because some (process??) limit is readched??
regards,
Ivan
That seems to woks fine: /usr/bin/php -q /usr/share/cacti/scripts/cacti_user_stats.php
valid:0 invalid:0 active:0 sleeping:0 garbage:0 uactive:0 usleeping:0
It seems to me that cacti_user_stats.php is executed by the poller (every 5 minutes). And maybe thePOEN error is because some (process??) limit is readched??
regards,
Ivan
Who is online
Users browsing this forum: No registered users and 2 guests