IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Réseau Discussion :

[CACTI]Pas de configuration apres installation


Sujet :

Réseau

  1. #1
    Nouveau membre du Club
    Inscrit en
    Septembre 2007
    Messages
    40
    Détails du profil
    Informations forums :
    Inscription : Septembre 2007
    Messages : 40
    Points : 35
    Points
    35
    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 : Sélectionner tout - Visualiser dans une fenêtre à part
    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 : Sélectionner tout - Visualiser dans une fenêtre à part
    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

  2. #2
    Nouveau membre du Club
    Inscrit en
    Septembre 2007
    Messages
    40
    Détails du profil
    Informations forums :
    Inscription : Septembre 2007
    Messages : 40
    Points : 35
    Points
    35
    Par défaut
    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 : Sélectionner tout - Visualiser dans une fenêtre à part
    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!

  3. #3
    Nouveau membre du Club
    Inscrit en
    Septembre 2007
    Messages
    40
    Détails du profil
    Informations forums :
    Inscription : Septembre 2007
    Messages : 40
    Points : 35
    Points
    35
    Par défaut
    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

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [2010] Configuration après installation d'office sur un serveur TS
    Par jaskoula1979 dans le forum Microsoft Office
    Réponses: 0
    Dernier message: 14/08/2013, 10h16
  2. pas de bureau après installation de ubuntu 13.04
    Par anizlewan dans le forum Distributions
    Réponses: 1
    Dernier message: 02/07/2013, 14h32
  3. pas de connexion apres installation de Fedora 15 (Huawei EC122 & Inwi)
    Par mechakiss dans le forum RedHat / CentOS / Fedora
    Réponses: 0
    Dernier message: 15/08/2011, 19h48
  4. Extension SharePoint n'apparait pas dans VS aprés installation
    Par Dan1000 dans le forum Développement Sharepoint
    Réponses: 1
    Dernier message: 28/10/2009, 16h23
  5. [1.x] [sf 1.2.x ] Pas d'image après installation réussie
    Par thewind1 dans le forum Symfony
    Réponses: 1
    Dernier message: 26/03/2009, 17h16

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo