Errors in new install

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Errors in new install

Post by dustinsfowler »

Great Day to all.

Here is a snip of errors that I have been receiving. I believe the last three lines are flowview related. The top one is newer. Any help would be greatly appreciated.


2022-11-21 09:37:34 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php[775]:api_plugin_hook(), /lib/plugins.php[83]:api_plugin_run_plugin_hook(), /lib/plugins.php[223]:monitor_poller_bottom(), /plugins/monitor/setup.php[939]:exec_background(), /lib/poller.php[149]:exec(), CactiErrorHandler())
2022-11-21 09:37:34 - ERROR PHP WARNING: exec(): Unable to fork [/usr/bin/php -q /var/www/html/cacti/plugins/monitor/poller_monitor.php > /dev/null 2>&1 &] in file: /var/www/html/cacti/lib/poller.php on line: 149
2022-11-21 09:37:33 - SYSTEM THOLD POLLER STATS: TotalTime:6.426 TotalDevices:354 DownDevices:0 NewDownDevices:0 Threads:4 Thresholds:0
2022-11-21 09:37:20 - SYSTEM STATS: Time:18.6480 Method:spine Processes:4 Threads:10 Hosts:354 HostsPerProcess:89 DataSources:3677 RRDsProcessed:2375
2022-11-21 09:36:53 - SYSTEM MONITOR STATS: Time:0.02 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2022-11-21 09:36:53 - SYSTEM FLOWVIEW STATS: Time:0.00 Listeners:2 Newrecs:0 Schedules:0
2022-11-21 09:36:53 - CMDPHP SQL Backtrace: (/plugins/flowview/flowview_process.php[147]:set_config_option(), /lib/functions.php[422]:db_execute_prepared())
2022-11-21 09:36:53 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'value' cannot be null
2022-11-21 09:36:53 - DBCALL ERROR: A DB Exec Failed!, Error: 1048, SQL: 'REPLACE INTO settings SET name = ?, value = ?'
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Errors in new install

Post by TheWitness »

Update to the lastest flowview. I think this was just fixed.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Errors in new install

Post by dustinsfowler »

Thank you. I am running 3.3 that I could find on github. Is there another version I should try?

EDIT: I did a fresh git clone and still receiving the same entries in my log.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Errors in new install

Post by Osiris »

Clone of the develop branch?
Before history, there was a paradise, now dust.
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Errors in new install

Post by dustinsfowler »

Yes. Clone of the develop branch I believe.

I grabbed this from the develop branch on github.

git clone https://github.com/Cacti/plugin_flowview.git
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Errors in new install

Post by TheWitness »

After you updated, did you restart flow-capture?

systemctl restart flow-capture
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Errors in new install

Post by dustinsfowler »

Yes, I did restart it and just for reassurance I restarted it a few minutes ago.
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Flowview errors in new install

Post by dustinsfowler »

Great Morning,

First, I like the new website styling.

I downloaded the latest develop branch of flowview this morning and restarted the process. Any ideas are appreciated.

2022-11-29 08:29:08 - CMDPHP SQL Backtrace: (/plugins/flowview/flowview_process.php[147]:set_config_option(), /lib/functions.php[422]:db_execute_prepared())

2022-11-29 08:29:08 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'value' cannot be null
2022-11-29 08:29:08 - DBCALL ERROR: A DB Exec Failed!, Error: 1048, SQL: 'REPLACE INTO settings SET name = ?, value = ?'
2022-11-29 08:29:08 - SYSTEM THOLD STATS: Time:0.0129 Tholds:0 TotalDevices:356 DownDevices:0 NewDownDevices:0
2022-11-29 08:29:08 - SYSTEM STATS: Time:6.4170 Method:spine Processes:2 Threads:15 Hosts:356 HostsPerProcess:178 DataSources:3792 RRDsProcessed:2358

2022-11-29 08:28:47 - POLLER: Poller[Main Poller] PID[32659] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/plugins/flowview/flow_collector.php --listener-id=1]
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Errors in new install

Post by dustinsfowler »

Consider this closed. I have moved on to other plugins.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests