http://localhost/cacti...do not display any page

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Hari
Posts: 6
Joined: Mon Sep 25, 2006 6:49 am

http://localhost/cacti...do not display any page

Post by Hari »

Hi All,

I have installed the Cacti as per the instructions defined in the manual. below are the my enviornment.

OS-- Windows 2K
Mysql-- Your MySQL connection id is 35 to server version: 5.0.24a-community-nt

C:\>php -v
PHP 4.4.4 (cgi-fcgi) (built: Aug 16 2006 01:17:43)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

C:\>php -m
[PHP Modules]
bcmath
calendar
com
ctype
ftp
mysql
odbc
overload
pcre
session
snmp
sockets
standard
tokenizer
wddx
xml
zlib

[Zend Modules]


IIS - 5.0

I am a new user and first time i have installed the Cacti software. I am facing a problem i.e. after all the configuration when i tried to browse the http://localhost/cati. It do not show any page. I have checked IIS, PHP & mysql are working fine. Pls. help me.

Thanks
Hari Maheshwari
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) read the updated install guide in my signature
2) You don't see anything on the cacti webpage? You should be seeing a logon screen. Try http://localhost/cacti/index.php
3) Did you forget to edit the settings in /cacti/include/config.php
Hari
Posts: 6
Joined: Mon Sep 25, 2006 6:49 am

No Graph

Post by Hari »

Hi,

Thanks for your earlier solution. it really worked for me but i stuck in the next step. i have configured two routers in cacti but i am not able to see any graph. I have seen the below error in the cacti log file.

09/26/2006 07:45:39 AM - SYSTEM STATS: Time:3.5968 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:157 RRDsProcessed:90
09/26/2006 07:45:36 AM - CMDPHP: Poller[0] Host[7] DS[127] WARNING: Result from SNMP not valid. Partial Result:
09/26/2006 07:45:36 AM - CMDPHP: Poller[0] Host[6] DS[126] WARNING: Result from SNMP not valid. Partial Result:
09/26/2006 07:45:36 AM - CMDPHP: Poller[0] Host[3] DS[8] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
09/26/2006 07:45:36 AM - CMDPHP: Poller[0] Host[3] DS[9] WARNING: Result from SNMP not valid. Partial Result:

NOw i have truned on the poller debug, attaching the same with this message.

Pls. help me to troubleshoot the same.

Thanks
Hari Maheshwari
Attachments
poller-debug.txt
(264.24 KiB) Downloaded 232 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) your NTFS security settings are wrong, as you can see from rrdtool continously trying to create the rrd files each time. Re-read the installation guide in my signature

2) Your getting those warnings because the things you're trying to poll are invalid. Either the OID is missing or invalid.
Hari
Posts: 6
Joined: Mon Sep 25, 2006 6:49 am

Post by Hari »

Hi,

I have given access to everyone on each of the cacti folder but still it is giving following error.

09/26/2006 12:06:21 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
09/26/2006 12:06:21 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
09/26/2006 12:06:21 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
09/26/2006 12:06:21 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
09/26/2006 12:06:21 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
09/26/2006 12:06:17 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
09/26/2006 12:06:17 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
09/26/2006 12:06:17 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
09/26/2006 12:06:17 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
09/26/2006 12:06:17 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id,name from graph_tree order by name"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select host.id, host.disabled, host.status, host.hostname, host.description, host.min_time, host.max_time, host.cur_time, host.avg_time, host.availability from host where (host.hostname like '%%%%' OR host.description like '%%%%') order by host.description limit 0,30"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select COUNT(host.id) from host where (host.hostname like '%%%%' OR host.description like '%%%%')"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id,name from host_template order by name"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='3'"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
09/26/2006 12:06:09 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='8'"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where realm_id=8 and user_id=1"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into user_log (username,user_id,result,ip,time) values('admin',1,1,'163.181.250.54',NOW())"

09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Row: "select * from user_auth where username='admin' and password = 'a28a0e4dbfb199418104216a1134e7b9' and realm = 0"
09/26/2006 12:06:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"

Thanks
Hari Maheshwari
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

There are no errors in what you just posted.

Make sure you have installed all the patches for cacti.
Hari
Posts: 6
Joined: Mon Sep 25, 2006 6:49 am

Post by Hari »

Hi,

Then could you pls. tell me why there is no files are getting created in rra folder. I have installed all the patches also but i did not find any luck.

Thanks
Hari Maheshwari
airwalk
Cacti User
Posts: 103
Joined: Fri Aug 18, 2006 11:22 am
Location: MSK, RU

Post by airwalk »

what version of SNMP are you using to query router?
What exactly are you trying to graph, cpu, interfaces, what type of interfaces?
Do you see real names in data query or smth like "|ifIndex|"?

Post you device query templates screenshot here...
Hari
Posts: 6
Joined: Mon Sep 25, 2006 6:49 am

Graphs are blank

Post by Hari »

Hi,

Now rrd files are getting created in the cacti/rra folder but still i am not able see the any graphs. I have checked all the permission, paths. All are correct but still graphs are blank. below is the graph debug.


RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="sausnet4 - Traffic - 163.181.8.187 (VMware Accelera)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="c\:/inetpub/wwwroot/cacti/rra/sausnet4_traffic_in_128.rrd":traffic_in:AVERAGE \
DEF:b="c\:/inetpub/wwwroot/cacti/rra/sausnet4_traffic_in_128.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:

OK


Thanks
Hari Maheshwari
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) make sure you only have one copy of cygwin1.dll on your computer
2) re-read through MY installation guide in my signature
3) make sure you've properly set the NTFS security on cmd.exe, rrdtool.exe and your cacti rra folder.

Just to reiterate, you do not see a graphic image?
Hari
Posts: 6
Joined: Mon Sep 25, 2006 6:49 am

Post by Hari »

Hi,

I have checked the NTFS securities and path and find out that RRDTool font path was not correct. Now graphs are coming but stuck in other problem i.e. rra file updation stop after some time. when i do restart the mysql service then it again star updation.

The MySQL server version: 5.0.24a-community-nt.

pls. suggest me whats needs to be done.

Thanks
Hari Maheshwari
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Any errors in the event log?
2) have you applied the patches for cacti OR considered upgrading to 0.8.6i?
3) Try updating mysql to 5.0.26.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests