hanging cactid's + sql errors

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
evilninja
Posts: 3
Joined: Wed Aug 10, 2005 2:06 am

hanging cactid's + sql errors

Post by evilninja »

It seems that some of my cactid's processes are hanging :

502 6764 0.0 0.1 5920 1384 ? S 08:05 0:00 /usr/bin/cactid 0 50
502 9452 0.0 0.1 6164 1384 ? S 08:10 0:00 /usr/bin/cactid 0 50
502 12607 0.0 0.1 6852 1384 ? S 08:15 0:00 /usr/bin/cactid 0 50
502 15631 0.0 0.1 6176 1388 ? S 08:20 0:00 /usr/bin/cactid 0 50
502 19250 0.0 0.1 7072 1388 ? S 08:25 0:00 /usr/bin/cactid 0 50
root 20850 0.0 0.4 13484 4316 pts/0 T 08:26 0:00 /usr/bin/php /opt/cacti-0.8.6f/script_server.php cactid 0

At the end of the day there are hundreds of them (cactid 0 50).

What could be the problem ?


At the same time i'm getting this error when i manually start the poller.php :

php poller.php
PHP Notice: Constant MYSQL_ASSOC already defined in Unknown on line 0
PHP Notice: Constant MYSQL_NUM already defined in Unknown on line 0
PHP Notice: Constant MYSQL_BOTH already defined in Unknown on line 0
PHP Notice: Constant MYSQL_CLIENT_COMPRESS already defined in Unknown on line 0
PHP Notice: Constant MYSQL_CLIENT_SSL already defined in Unknown on line 0
PHP Notice: Constant MYSQL_CLIENT_INTERACTIVE already defined in Unknown on line 0
PHP Notice: Constant MYSQL_CLIENT_IGNORE_SPACE already defined in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_pconnect in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_close in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_select_db in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_query in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_unbuffered_query in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_db_query in Unknown on line 0

<sniped>

PHP Warning: mysql: Unable to register functions, unable to load in Unknown on line 0

Is this problem linked to the above one ?

Thx alot for your help
Attachments
cacti-error.txt
full php poller.php error
(13.05 KiB) Downloaded 141 times
Do not underestimate the power of denial
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

It look like you are trying to load mysql module as an extension while you already have compiled-in mysql support to php.

- Piotr
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests