No Graph :(

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

Moderators: Developers, Moderators

Post Reply
aneesali
Posts: 6
Joined: Wed May 30, 2007 1:05 am

No Graph :(

Post by aneesali »

Hello First I build SNMPD than RRDTOOL and Than CACTI. I sent my complete history but NO GRAPH :( plz help me where is problem? on cacti install page RRDTOOL error


66 BUILD_DIR=/tmp/rrdbuild
67 INSTALL_DIR=/usr/local/rrdtool-1.2.19
68 set BUILD_DIR=/tmp/rrdbuild
69 set INSTALL_DIR=/usr/local/rrdtool-1.2.19
70 mkdir -p $BUILD_DIR
71 cd $BUILD_DIR
72 wget http://oss.oetiker.ch/rrdtool/pub/libs/ ... 2.3.tar.gz
73 tar zxf zlib-1.2.3.tar.gz
74 cd zlib-1.2.3
75 env CFLAGS="-O3 -fPIC" ./configure --prefix=$BUILD_DIR/lb
76 make
77 make install
78 cd ..
79 wget http://oss.oetiker.ch/rrdtool/pub/libs/ ... .10.tar.gz
80 tar zxvf libpng-1.2.10.tar.gz
81 cd libpng-1.2.10
82 env CPPFLAGS="-I$BUILD_DIR/lb/include" LDFLAGS="-L$BUILD_DIR/lb/lib" CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb
83 make
84 make install
87 wget http://oss.oetiker.ch/rrdtool/pub/libs/ ... 10.tar.bz2
88 tar jxvf freetype-2.1.10.tar.bz2
89 cd freetype-2.1.10
90 env CPPFLAGS="-I$BUILD_DIR/lb/include" LDFLAGS="-L$BUILD_DIR/lb/lib" CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb
91 make
92 make install
93 cd ..
94 cd $BUILD_DIR
95 wget http://oss.oetiker.ch/rrdtool/pub/libs/ ... .17.tar.gz
96 tar zxvf libart_lgpl-2.3.17.tar.gz
97 cd libart_lgpl-2.3.17
98 env CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb
99 make
100 make install
101 anlib $BUILD_DIR/lb/lib/*.a
102 ranlib $BUILD_DIR/lb/lib/*.a
103 set IR=-I$BUILD_DIR/lb/include
104 setenv CPPFLAGS "$IR $IR/libart-2.0
104 setenv CPPFLAGS "$IR $IR/libart-2.0
105 CPPFLAGS "$IR $IR/libart-2.0
106 CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng"
107 cd $BUILD_DIR
108 ls
109 cd /tmp/rrdbuild/
110 env CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb
111 ./configure --disable-shared --prefix=$BUILD_DIR/lb
112 env CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb
113 cd $BUILD_DIR
114 wget http://oss.oetiker.ch/rrdtool/pub/libs/ ... .17.tar.gz
115 tar zxvf libart_lgpl-2.3.17.tar.gz
116 cd libart_lgpl-2.3.17
117 env CFLAGS="-O3 -fPIC" ./configure --disable-shared --prefix=$BUILD_DIR/lb
118 make
119 make install
120 cd ..
121 ranlib $BUILD_DIR/lb/lib/*.a
122 IR=-I$BUILD_DIR/lb/include
123 CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng"
123 CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng"
124 LDFLAGS="-L$BUILD_DIR/lb/lib"
125 CFLAGS=-O3
126 export CPPFLAGS LDFLAGS CFLAGS
127 wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.19.tar.gz
128 tar zxf rrdtool-1.2.19.tar.gz
129 cd rrdtool-1.2.19
130 ./configure --prefix=$INSTALL_DIR && make && make install
131 ./configure --prefix=$INSTALL_DIR --disable-python --disable-tcl
132 make
133 make install
139 wget http://www.cacti.net/downloads/cacti-0.8.6j.tar.gz
140 mv cacti-0.8.6j.tar.gz /root
141 cd /root
142 ls
143 tar cacti-0.8.6j.tar.gz
144 tar zxvf cacti-0.8.6j.tar.gz
145 cd cacti-0.8.6j
145 cd cacti-0.8.6j
146 ls
147 cd ..
148 cp -rf cacti-0.8.6j /var/www/html/
149 cd /var/www/html/
150 ls
151 mv -rf cacti-0.8.6j cacti
152 mv cacti-0.8.6j cacti
153 ls
154 cd cacti/
155 ls
156 mysqladmin --user=root create cacti
157 service mysqld start
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Your log does not include anything about installing the cacti sql tables
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests