Scripts hanging

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

Moderators: Developers, Moderators

Post Reply
User avatar
xtremebassist
Posts: 7
Joined: Sat Feb 17, 2007 2:42 pm
Contact:

Scripts hanging

Post by xtremebassist »

I've installed two setup of 0.8.6j and everything is working except for any data queries that require Script or Script Server. When I execute the script via the command line, I get results:

Code: Select all

  /usr/local/bin/php -q /usr/local/www/cacti/scripts/ss_host_cpu.php mickeydc2.sidsolutions.local 17 2:161:800:cacti-sidsolutions:::MD5::[None] index
0
1
However, when they are executed from the administration web page, the page just hangs. I have to close out my browser and re-logon. When I return to the device, the query has been added with: Sucess[0 items, 0 rows]. If I try a verbose query, the page really hangs and it generally requires that I restart the web server.

System Information:

Code: Select all

Slackware 11.0

Cacti 0.8.6j

PHP 5.21 built with the following options:

--prefix=/usr/local --enable-fastcgi --enable-cli --enable-discard-path --enable-force-redirect --with-pear --enable-zip --with-snmp --with-openssl --with-mysql --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --enable-sockers --with-zlib --enable-exif --with-exif --with-freetype-dir=/usr --with-iconv=/us

Lighttpd 1.4.13

Optional PHP Caching component:

eaccelerator-0.9.5 (Have enabled and disabled it with the same results)

A very bare php.ini with the following:

register_globals = On
register_argc_argv = On

zlib.output_compression = On
cgi.fix_pathinfo=1

MySQL 5.0.27
Any help would be greatly appreciated.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest