Add_device script error

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

Moderators: Developers, Moderators

Post Reply
whsparrow
Posts: 10
Joined: Wed May 04, 2016 6:36 am

Add_device script error

Post by whsparrow »

Hello,

im running cacti 8.8g. When i try to run the "add_device" script i get the following error:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysqlnd.so' - /usr/lib/php/20151012/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysqli.so' - /usr/lib/php/20151012/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/pdo_mysql.so' - /usr/lib/php/20151012/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /opt/lampp/htdocs/cacti/lib/adodb/adodb.inc.php on line 866

Any ideas, how to to solve this?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Add_device script error

Post by phalek »

did you update your PHP installation and forgot to add/update or install the mysql packages ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
whsparrow
Posts: 10
Joined: Wed May 04, 2016 6:36 am

Re: Add_device script error

Post by whsparrow »

phalek wrote:did you update your PHP installation and forgot to add/update or install the mysql packages ?
I installed it manually with this tutorial using xampp:

http://docs.cacti.net/manual:088:1_inst ... s.1_ubuntu
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests