Cacti Configure Error Cannot Find Mysql Headers
Contents |
6.10 e spine. Moderators: Moderators, Developers Page 1 of 1 [ 6 posts ] Previous topic configure error cannot find mysql header files under | Next topic Author Message eterzella.r.t Post subject: ./configure - in ubuntu
Configure Error Cannot Find Mysql Header Files Under Yes
6.10 e spine.Posted: Fri Oct 26, 2007 5:32 am Cacti User Joined: Thu Oct 25, 2007 8:20 pmPosts: configure error cannot find mysql header files under usr local mysql 75 Plz help, when execute ./configure configure: error: cannot run /bin/bash config/config.sub Top TheWitness Post subject: Posted: Fri Oct 26, 2007 5:41 am Developer Joined: Tue May 14,
Configure: Error: Cannot Find Mysql Headers. Use --with-mysql= To Specify Non-default Path.
2002 5:08 pmPosts: 14862Location: MI, USA Please execute the following: Code:aclocallibtoolize --forceautoconfautoheaderautomake./configure TheWitness _________________True understanding begins only when we realize how little we truly understand...Life is an adventure, let yours begin with Cacti!Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs._________________Official Cacti DocumentationGandalfs Official Debugging HelpCentral Plugin RepositoryCentral Templates Repository cacti spine download Top eterzella.r.t Post subject: Posted: Fri Oct 26, 2007 6:57 am Cacti User Joined: Thu Oct 25, 2007 8:20 pmPosts: 75 thx work Top looc Post subject: Posted: Thu Jan 03, 2008 2:39 am Cacti User Joined: Mon Aug 13, 2007 3:40 amPosts: 110 TheWitness wrote:Please execute the following:Code:aclocallibtoolize --forceautoconfautoheaderautomake./configureTheWitness run libtoolize --force say: you should update your 'aclocal.m4' by running aclocal. putting files in AC_CONFIG_AUX_DIR, 'config'. why? _________________Cacti Version - 0.8.7 & spine Plugin Architecture - 1.3 Server Info - Windows 2003 EP Web Server -IIS6.0 PHP - 5.2.3 MySQL - 4.1.10 RRDTool - 1.2.15 SNMP - 5.4.1 -------------------------- plugins: reportit 0.5.1|monitor 0.8.1|thold 0.3.8 Top heavenzone Post subject: Posted: Wed Jun 18, 2008 9:11 pm Joined: Wed Jun 18, 2008 9:05 pmPosts: 3Location: China TheWitness wrote:Please execute the following:Code:aclocallibtoolize --forceautoconfautoheaderautomake./configureTheWitness after i fix this same error, I got another error when I install spine0.8.7a in ubuntu8.04server. the error info as follow: configure: error: Cannot find MySQL headers. Use --with-mysql= to specify nonefault path. how to fix it? thx Top ga
wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.7c.tar.gzroot@server:/var/www/noc# tar -xzvf cacti-spine-0.8.7c.tar.gzroot@server:/var/www/noc# mv cacti-spine-0.8.7c spineroot@server:/var/www/noc# cd spine/2.- Prepare development environmentBe sure
Cacti Spine Install
you have autoconf, automake and libtool to compile.root@server:/var/www/noc# apt-get
Install Cacti Spine Centos
install autoconf automake libtool root@server:/var/www/noc# apt-get install libsnmp-dev libsnmp-base libsnmp153.- Install SpineSteps:shell>aclocalshell>libtoolize --forceshell>autoheadershell>autoconfshell>automakeshell>./configureshell>makeshell>make install cacti spine ubuntu installa.-aclocalroot@server:/var/www/noc/spine# aclocal/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT/usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal'/usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/automake.html#Extending-aclocalb.- libtoolize --forceroot@server:/var/www/noc/spine# libtoolize --forceUsing `AC_PROG_RANLIB' is rendered http://forums.cacti.net/about23927.html obsolete by `AC_PROG_LIBTOOL'Putting files in AC_CONFIG_AUX_DIR, `config'.c.- autoheader, autoconf and automakeroot@server:/var/www/noc/spine# autoheaderroot@server:/var/www/noc/spine# autoconfroot@server:/var/www/noc/spine# automaked.- ./configureroot@server:/var/www/noc/spine# ./configurechecking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking http://wmunguiam.blogspot.com/2009/01/howto-install-spine-engine-for-cacti.html for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for gawk... (cached) gawkchecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of gcc... gcc3checking how to run the C preprocessor... gcc -Echecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for ld used by gcc... /us
# Hard parse, soft parse, soft soft parse, no parse atall → How to install spine forcacti December 26, 2012 Leave a comment As cacti.net said, Spine is the fast replacement for cmd.php. So https://alexzeng.wordpress.com/2012/12/26/how-to-install-spine-for-cacti/ I started to install it for cacti by reference this doc Spine install. I run into lots of issues. Later, I found there is a better guide Install and Configure Spine. But it's still not enough. http://xingxing5421.blog.163.com/blog/static/119446319201171831620237/ The solution in simple word is that we need to run ./bootstrap in the same directory before we run ./configure. The long store is that, in order to run bootstrap, we need to install more packages. During cannot find my practice, Spine did improved the performance. cmd.php : "Maximum Concurrent Poller Processes"=20 cannot finish in 1 minute, CPU usage maximum is 65% Spine: "Maximum Concurrent Poller Processes"=10 and "Maximum Threads per Process"=10 cannot finish in 1 minute, CPU usage reached 100% "Maximum Concurrent Poller Processes"=5 and "Maximum Threads per Process"=10 finish in 36 seconds, CPU usage reached 99% "Maximum Concurrent Poller Processes"=3 and "Maximum Threads per Process"=20 finish in 33 seconds, CPU cannot find mysql usage is lower "Maximum Concurrent Poller Processes"=2 and "Maximum Threads per Process"=30 finish in 33 seconds, CPU usage is 97% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=30 finish in 44 seconds, CPU usage maximum is 85% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=20 finish in 44 seconds, CPU usage maximum is 82% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=15 finish in 56 seconds, CPU usage maximum is 60% "Maximum Concurrent Poller Processes"=1 and "Maximum Threads per Process"=10 cannot finish in 1 minute, CPU usage maximum is 30% Finally, I use 1 process with 20 threads. That meets 1 minute limit, and still have some buffer, and lower CPU usage. Here is the log: 12/26/2012 03:17:47 AM - SYSTEM STATS: Time:45.7329 Method:spine Processes:1 Threads:20 Hosts:443 HostsPerProcess:443 DataSources:10714 RRDsProcessed:10714 From those data, I got conclusions as follows: If you change from cmd.php to Spine, set processes number to 1, and set use its number for the threads per process, or less Spine is CPU killer, unless you have enough powerful CPU, set "Maximum Concurrent Poller Processes" to 1. Increase maximum threads to meet the cycle time, but once it meats, add more threads didn't reduce the response time To reduce the response time, use more processes with Spine, which comes along with