Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


No me genera los graficos
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Wed Mar 28, 2007 1:13 pm    Post subject: No me genera los graficos Reply with quote

Hola, llevo tiempo intentando solucionar mi problema, he visto que mas gente lo ha tenido y entre unas cosas y otras no he conseguido arreglar el mio.

Se trata del error de RRDTool: "ERROR: opening '/var/www/cacti/rra/servidor_de_ficheros_traffic_in_77.rrd': No such file or directory"

Tengo instalado Ubuntu 5.10 y Cacti 0.8.6j.

Alguien me echa una mano para ver la luz???.

Muchas gracias!![/i]
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Wed Mar 28, 2007 1:26 pm    Post subject: Reply with quote

Cerciorarte de que el web server tenga permisos de considerar los archivos en el directorio de RRA. Tambien, cerciorarte de que tu poller este funcionando.
Back to top
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Wed Mar 28, 2007 1:41 pm    Post subject: Reply with quote

Los directorios /var/www/cacti/rra y /var/www/cacti/log tienen esta forma:

drwxrwxrwx 2 cactiuser users 4096 2007-02-16 19:51 rra
drwxrwxrwx 2 cactiuser users 4096 2007-03-16 19:45 log


En /etc/crontab tengo:

*/5 * * * * cactiuser /usr/bin/php /var/www/cacti/poller.php > /dev/null 2>&1

Como puedo ver si el poller esta funcionando??.

Gracias.
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Wed Mar 28, 2007 3:30 pm    Post subject: Reply with quote

Procurar por favor funcionar el poller como el cactiuser de la l
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Wed Mar 28, 2007 3:30 pm    Post subject: Reply with quote

Procurar por favor funcionar el poller como el cactiuser de la linea de comando, ven si eso te dice mas.

Fijar la salida que resulta si todavia tienes problemas.
Back to top
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Thu Mar 29, 2007 8:51 am    Post subject: Reply with quote

He ejecutado "*/5 * * * * cactiuser /usr/bin/php /var/www/cacti/poller.php > /dev/null 2>&1" en la linea de comandos y no muestra nada.

Despues he entrado en la web de Cacti y seguia teniendo el mismo error.

Gracias.
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Thu Mar 29, 2007 10:03 am    Post subject: Reply with quote

Funcionar el comando siguiente de la l
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Thu Mar 29, 2007 10:04 am    Post subject: Reply with quote

Funcionar el comando siguiente de la linea de comando y divulgar la salida:

Code:
/usr/bin/php /var/www/cacti/poller.php
Back to top
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Thu Mar 29, 2007 10:20 am    Post subject: Reply with quote

Si ejecuto eso en la linea de comandos no se muestra ningun resultado, y la sentencia no termina, se queda ejecutando.

He probado con /usr/bin/php y con /usr/bin/php5, y paso lo mismo en los dos.

Sin embargo, si ejecuto /usr/bin/php /var/www/cacti/lib/poller.php, se ejecuta, no se queda colgado, pero no sale nada.

Gracias.
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Thu Mar 29, 2007 10:22 am    Post subject: Reply with quote

Fijar por favor la salida.
Back to top
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Thu Mar 29, 2007 10:25 am    Post subject: Reply with quote

No hay salida:

root@Zatu:/home/admin# /usr/bin/php /var/www/cacti/lib/poller.php
root@Zatu:/home/admin#
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Thu Mar 29, 2007 10:28 am    Post subject: Reply with quote

Ejecutar por favor el siguiente:

Code:
/usr/bin/php /var/www/cacti/poller.php


Estas ejecutando la escritura incorrecta de poller.php. La escritura del lib hara exactamente que estas viendo.
Back to top
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Thu Mar 29, 2007 10:39 am    Post subject: Reply with quote

Si ejecuto ese comando se queda como colgada la ejecucion, no muestra nada por la pantalla.

Te adjunto una imagen.

Gracias.



poller.JPG
 Description:
 Filesize:  21.8 KB
 Viewed:  3289 Time(s)

poller.JPG


Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5453
Location: Wisconsin, USA

PostPosted: Thu Mar 29, 2007 12:47 pm    Post subject: Reply with quote

El interesar, de que no debe ocurrir.

Fijar por favor los resultados de los 2 comandos siguientes:

Code:
php -v


Code:
php -m


Cerciorarte de que tu servidor del mysql est
Back to top
juannabis



Joined: 08 Jun 2006
Posts: 18

PostPosted: Thu Mar 29, 2007 1:22 pm    Post subject: Reply with quote

Aqui tienes la salida por pantalla.


php.JPG
 Description:
 Filesize:  48.21 KB
 Viewed:  3263 Time(s)

php.JPG


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group