Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    0.9.9 - Importfehler - Typ CMDB

    Scheduled Pinned Locked Moved Entwicklung
    5 Posts 2 Posters 1.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      crispp
      last edited by

      Beim Versuch einen Export (aus einer 0.9.9, die schon diverse Updates hinter sich hatte) in eine frisch eingerichtete 0.9.9-Datenbank einzulesen, erscheint die unten zu sehende Fehlermeldung:

      • Found Object Berker Turkey - Istanbul (3032) of type Building
        …..

        • Found Object IT_TR_000032 - Common UPS (3789) of type Power object
        • –----------------------------------------------
        • Export Information:
        • Mandator: Database 1 (EN)
        • i-doit Version: 0.9.9
        • Exported at: 2010-01-25 13:41:44
        • Export-Type: isys_export_type_xml
        • –----------------------------------------------
        • Importing..
        • –----------------------------------------------
          • Mandator - Istanbul (Building), New Object (2)
        • isys_exception_database : Query error: 'SELECT isys_catg_nagios_list__id FROM isys_catg_nagios_list WHERE (isys_catg_nagios_list__isys_obj__id = '2') LIMIT 1;':
          Unknown column 'isys_catg_nagios_list__isys_obj__id' in 'where clause'

        Da das auf Nagios hindeutet in der Modulverwaltung geschaut, ob Nagios aktiv ist; ist aber gar nicht vorhanden. Also Versuch über Update das Nagiosmodul zu installieren:

        Im ersten Teil des Update-Laufes:
        isys_exception_database : Query error: 'UPDATE isys_catg_nagios_list SET isys_catg_nagios_list__isys_obj__id = ( SELECT isys_catg_distributor__isys_obj__id FROM isys_catg_distributor WHERE isys_catg_distributor__isys_catg_nagios__id = isys_catg_nagios_list__isys_catg_nagios__id)': Unknown column 'isys_catg_nagios_list__isys_catg_nagios__id' in 'where clause'

        Anschließend (nach einem Reload) kommt der Update-Overview (log) - alles grün –-> Weiter

        Erneuter Import-Versuch:

        • Found Object Berker Turkey - Istanbul (3032) of type Building
          …..
        • Found Object IT_TR_000032 - Common UPS (3789) of type Power object
        • –----------------------------------------------
        • Export Information:
        • Mandator: Database 1 (EN)
        • i-doit Version: 0.9.9
        • Exported at: 2010-01-25 13:41:44
        • Export-Type: isys_export_type_xml
        • –----------------------------------------------
        • Importing..
        • –----------------------------------------------
          • Mandator - Istanbul (Building)
            [+] |- General.. done
            [+] |- Location.. done
            [+] |- Logbook.. done

        Es wurde nur ein Objekt (das Gebäude) importiert - Apache-Error-Log:

        [Mon Jan 25 14:25:34 2010] [error] [client 172.17.99.1] PHP Warning:  isys_library_xml::get_attributes(): Node no longer exists in i-doit/src/classes/libraries/isys_library_xml.class.php on line 91, referer: http://cmdb.berker.office/index.php?moduleID=50&mNavID=10
        [Mon Jan 25 14:25:34 2010] [error] [client 172.17.99.1] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 92 bytes) in i-doit/src/classes/cmdb/dao/category/specific/isys_cmdb_dao_category_s_net.class.php on line 333, referer: http://cmdb.berker.office/index.php?moduleID=50&mNavID=10

        Nachtrag: PHP Memory-Limit steht bei 512M

      1 Reply Last reply Reply Quote 0
      • creissC Offline
        creiss i-doit Kenner
        last edited by

        Verwunderlich, dass der Apache nur 32M (33554432 bytes) als memory limit angibt.

        Hast du nach dem Ändern vom "memory-limit" auch den Apache neugestartet bzw den Wert danach nochmal überprüft?

        NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/@donamic_de
        Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
        i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

        1 Reply Last reply Reply Quote 0
        • C Offline
          crispp
          last edited by

          Google einfach mal nach "Allowed memory size of 33554432 bytes exhausted" (ja, es gab einen Apache-Restart; ja, memory-limit wird in phpinfo korrekt angezeigt).

          1 Reply Last reply Reply Quote 0
          • C Offline
            crispp
            last edited by

            controller.php :-(((

            /**

            • i-doit
            • System Controller
            • @package i-doit
            • @subpackage General
            • @author Dennis St�cken dstuecken@i-doit.de* @version 0.9
            • @copyright Copyright 2004, 2005 - synetics GmbH
            • @license http://dev.perl.org/perl6/rfc/346.html Artistic License 2.0
              */

            /* Controller version */
            define("VERSION", "0.9.8-2");

            /* Set error reporting */
            error_reporting(E_ALL & ~E_NOTICE);

            /* Set maximal execution time */
            set_time_limit(0);

            /* Reserve 32MB as maximal memory usage for this PHP session */
            ini_set("memory_limit", "32M");/dstuecken@i-doit.de

            1 Reply Last reply Reply Quote 0
            • C Offline
              crispp
              last edited by

              in der irm/index.php ist auch noch so eine tolle Zeile:

              ini_set("memory_limit", "32M");

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post