Précédent   Forum des professionnels en informatique > Systèmes > Linux > Réseau
Réseau Vos questions autour des réseaux et télécoms sous Linux
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 13/12/2007, 11h12   #1
Futur Membre du Club
 
Inscription : septembre 2007
Messages : 40
Détails du profil
Informations forums :
Inscription : septembre 2007
Messages : 40
Points : 15
Points : 15
Par défaut [CACTI]Pas de configuration apres installation

Salut a tous,


Je viens d'installer cacti sur un serveur sous Red Hat, pour cela j'ai suivi un des tutorials que l'on trouve sur le net (voir plusieurs), j'ai donc configure mysql, installe RRDtool, configure le serveur apache et php, tout a l'air de s'installer par contre quand je lance cacti dans un navigateur, je n'ai pas du tout la page de configuration comme indique partout (la : http://www.openmaniak.com/cacti_tuto...-cacti-browser ou la : http://forums.linuxwebadmin.info/ind...pic,153.0.html)
mais directement une page qui m'affiche ca:

Code :
1
2
3
4
You are now logged into Cacti. You can follow these basic steps to get started. 
Create devices for network 
Create graphs for your new devices 
View your new graphs
avec un lien sur Create et View, et si je clique sur l'un de ces liens, j'ai du code bizarre qui s'affiche:

Code php :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"Delete", 2 => "Enable", 3 => "Disable", 4 => "Change SNMP Options", 5 => "Clear Statistics", 6 => "Change Availability Options" ); 
/* set default action */ 
if (!isset($_REQUEST["action"])) { $_REQUEST["action"] = ""; } 
switch ($_REQUEST["action"]) { 
case 'save': form_save(); break; 
case 'actions': form_actions(); break; 
case 'gt_remove': host_remove_gt(); header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; 
case 'query_remove': host_remove_query(); header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; 
case 'query_reload': host_reload_query(); header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; 
case 'query_verbose': host_reload_query(); header("Location: host.php?action=edit&id=" . $_GET["host_id"] . "&display_dq_details=true"); break; 
case 'edit': include_once("./include/top_header.php"); host_edit(); include_once("./include/bottom_footer.php"); break; 
default: include_once("./include/top_header.php"); host(); include_once("./include/bottom_footer.php"); break; 
} 
 
/* -------------------------- Global Form Functions -------------------------- */ 
function add_tree_names_to_actions_array() { 
global $device_actions; 
/* add a list of tree names to the actions dropdown */ 
$trees = db_fetch_assoc("select id,name from graph_tree order by name"); 
if (sizeof($trees) > 0) { 
foreach ($trees as $tree) { 
$device_actions{"tr_" . $tree["id"]} = "Place on a Tree (" . $tree["name"] . ")"; } 
}
 } 
/* -------------------------- The Save Function -------------------------- */ 
function form_save() { 
if ((!empty($_POST["add_dq_y"])) && (!empty($_POST["snmp_query_id"]))) {
 /* ================= input validation ================= */ 
input_validate_input_number(get_request_var_post("id")); 
input_validate_input_number(get_request_var_post("snmp_query_id")); 
input_validate_input_number(get_request_var_post("reindex_method")); 
/* ==================================================== */

quelqu'un aurait une idee? Ca me sauverait la vie!
D'avance, merci
flb-iori est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 14/12/2007, 03h43   #2
Futur Membre du Club
 
Inscription : septembre 2007
Messages : 40
Détails du profil
Informations forums :
Inscription : septembre 2007
Messages : 40
Points : 15
Points : 15
En repassant a la version 4 de php dans le httpd, ca donne moultes messages d'erreurs surla premiere page, et plus aucun lien:
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
 
Warning: mb_ereg_replace(): mbregex compile err: premature end of regular expression in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 86
 
Warning: mb_ereg_replace(): mbregex compile err: premature end of regular expression in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 87
 
Warning: Cannot modify header information - headers already sent by (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 111
 
Warning: Cannot modify header information - headers already sent by (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 112
 
Warning: Cannot modify header information - headers already sent by (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 113
 
Warning: Cannot modify header information - headers already sent by (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 114
 
Warning: Cannot modify header information - headers already sent by (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 115
 
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 119
 
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /opt/home/netadmin/src/cacti-0.8.7a/include/global.php:86) in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 119
 
Warning: main(/adodb/adodb.inc.php): failed to open stream: No such file or directory in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 173
 
Warning: main(): Failed opening '/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/pear') in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 173
 
Warning: main(/database.php): failed to open stream: No such file or directory in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 174
 
Warning: main(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear') in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 174
 
Warning: main(/functions.php): failed to open stream: No such file or directory in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 175
 
Warning: main(): Failed opening '/functions.php' for inclusion (include_path='.:/usr/share/pear') in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 175
 
Fatal error: Call to undefined function: db_connect_real() in /opt/home/netadmin/src/cacti-0.8.7a/include/global.php on line 181
visiblement, il ne peut pas ouvrir global.php, pourtant les permissions sont a 755, quelqu'un aurait-il une idee?
Merci d'avance!
flb-iori est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 14/12/2007, 09h01   #3
Futur Membre du Club
 
Inscription : septembre 2007
Messages : 40
Détails du profil
Informations forums :
Inscription : septembre 2007
Messages : 40
Points : 15
Points : 15
Bon, je ne sais pas vraiment par quel mysticisme mais le probleme est resolu, tous les parametres avaient l'air bon mais c'est en modifiant la conf du http et de php que le probleme c'est regle (on dirait bien que tout n'etait pas si "ok")..
Desole du derangement pour ceux qui m'ont lu
flb-iori est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 02h28.


 
 
 
 
Partenaires

Hébergement Web