Announcement

Collapse
No announcement yet.

(RESOLU) erreur première connexion oreon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • (RESOLU) erreur première connexion oreon

    Bonjour à tous,

    J'ai installé nagios 1.3 via le script fourni sur le site oreon, pareil pour la version 1.2.3RC4 de oreon. lorsque je me connecte sur http://monserveur/oreon/ j'ai une erreur 500:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 Server at 192.168.1.x Port 80

    Dans les log apache2, j'ai :

    [Fri Jun 09 15:44:40 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 configured -- resuming normal operations
    [Fri Jun 09 15:55:37 2006] [notice] caught SIGTERM, shutting down
    PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_pconnect in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_close in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_select_db in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_query in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_unbuffered_query in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_db_query in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_dbs in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_tables in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_fields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_processes in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_error in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_errno in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_affected_rows in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_insert_id in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_result in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_num_rows in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_num_fields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_row in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_array in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_assoc in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_object in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_data_seek in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_lengths in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_field in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_seek in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_free_result in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_name in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_table in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_len in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_type in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_flags in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_escape_string in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_real_escape_string in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_stat in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_thread_id in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_client_encoding in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_ping in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_client_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_host_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_proto_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_server_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldname in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldtable in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldlen in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldtype in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldflags in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_selectdb in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_freeresult in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_numfields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_numrows in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_listdbs in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_listtables in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_listfields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_db_name in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_dbname in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_tablename in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_table_name in Unknown on line 0
    PHP Warning: mysql: Unable to register functions, unable to load in Unknown on line 0
    [Fri Jun 09 15:55:38 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 configured -- resuming normal operations
    [Fri Jun 09 15:56:01 2006] [error] [client 192.168.1.11] Premature end of script headers: index.php
    [Fri Jun 09 15:56:01 2006] [error] [client 192.168.1.11] Error in suphp.c on line 244: Script is not in document root


    Avez vous une idée ?
    Merci d'avance
    Debian 3.1 kernel 2.6.8-2-386
    Nagios 1.3 + Oreon 1.3.1-1 + Nagios-Plugins 1.4.3 + Perfparse 0.105.6 (marche pô)

  • #2
    Et bien dans un premier temps que ca n'a rien a voir avec Oreon.

    Ensuite j'irais assez vers php-mysql
    Romain Le Merlus
    Centreon Forge
    MERETHIS

    Comment


    • #3
      et dans un 3eme temps
      regarde la doc sur le wiki :wink:
      Ubuntu 8.04
      Nagios 3.2 + nagios-plugins-1.4.14
      ndoutils-1.4b9
      Centreon 2.1.8
      centreon-syslog-frontend-1.2.1 + centreon-syslog-server-1.1

      Comment


      • #4
        Résolu

        Après la suppression de deux doublons dans le php.ini à savoir:
        extension=mysql.so
        extension=gd.so

        et la réinstallation de php-mysql

        tout est ok

        merci beaucoup :P
        Debian 3.1 kernel 2.6.8-2-386
        Nagios 1.3 + Oreon 1.3.1-1 + Nagios-Plugins 1.4.3 + Perfparse 0.105.6 (marche pô)

        Comment

        Working...
        X