cacti graph missing after database import

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

Moderators: Developers, Moderators

Post Reply
ndhami23
Posts: 6
Joined: Fri Dec 27, 2013 4:52 am

cacti graph missing after database import

Post by ndhami23 »

Hi guys,
I have setup new cacti to Version 0.8.8b and everything was working fine but after the import of database form the old cacti server
the cacti graph is not displaying. can anybody help help to fix the issue? here are the few logs.

01/17/2014 02:30:25 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1054', SQL:"INSERT INTO poller_item (local_data_id, poller_id, host_id, action, hostname, snmp_community, snmp_version, snmp_timeout, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, rrd_name, rrd_path, rrd_num, rrd_step, rrd_next_step, arg1, arg2, arg3, present) VALUES (10083, 0, 380, 0,'10.0.7.13'

[root@cacti-ipnet html]# php -q /usr/share/cacti/poller.php --force --debug
01/17/2014 02:08:24 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '158', Max Runtime '298', Poller Runs: '1'
01/17/2014 02:08:24 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/usr/share/cacti/cmd.php" 0 467]
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
PHP Notice: Undefined index: device_threads in /usr/share/cacti/lib/functions.php on line 441
PHP Notice: Undefined index: device_threads in /usr/share/cacti/lib/functions.php on line 441

Thanks
ndhami23
Posts: 6
Joined: Fri Dec 27, 2013 4:52 am

Re: cacti graph missing after database import

Post by ndhami23 »

Dear frens,
i got the solution...hope it might be useful for somebody...the problem was solved after choosing installation type to "upgrade" instead of "new install" after the database import from the old server.
Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest