Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    [Résolu] Interface mismatch lors de la migration

    Français
    2
    4
    2646
    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.
    • J
      jpierred last edited by

      Bonjour,

      J'ai migré de la version 1.2.3a vers la version 2.0 en utilisant l'interface web.

      Au redémarrage, j'ai une erreur "interface mismatch" et il est impossible de réassigner les interfaces.

      Lors de la réassignation, j'obtiens la sortie suivante :

      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 323
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 324
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 325
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 382
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 383
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 384
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 396
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 398
      
      Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 405
      
      Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 408
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 409
      
      Writing configuration...
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 505
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 508
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 514
      
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 515
      
      Warning: Invalid argument supplied for foreach() in /etc/inc/xmlparse.inc on line 211
      
       ************** WARNING **************
      
       Configuration could not be validated. A previous configuration was restored. 
      
       The failed configuration file has been saved as /conf/config.xml.bad} 
      
      done.
      

      Comment sortir de cette situation ?

      1 Reply Last reply Reply Quote 0
      • C
        cecos47 last edited by

        Salut moi meme j' ai eu ce mama probleme lers de la migration.J' ai fait une nouvelle installation du 1.2.3 sans toucher une configuration et j' ai pu migré sans problème.
        Mais la version final du 2.0 est disponible donc télécharge le Live CD et au boulot.
        Par contre si tu ne veux pas perdre ta config passé, je ne sais quoi faire pour toi!!! ???

        1 Reply Last reply Reply Quote 0
        • J
          jpierred last edited by

          Bonjour,

          Pour la configuration, ça ne me fait rien de la perdre : j'ai un routeur en fonctionnement (j'ai migré celui de secours d'abord). Par contre, j'aimerais autant ne pas être obligé de réinstaller car je suis sur du matériel Alix, sans lecteur CD, et sans USB bootable…

          Pour installer, j'étais passé par VMWare car même en PXE ça ne fonctionnait pas... J'aimerais éviter de tout démonter...

          EDIT 14h56 : il semble que ce soit dû à la compilation du php...

          Voici ce que donne le fichier firmware_update_misc.log

          PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so: Undefined symbol "OnUpdateInt" in Unknown on line 0PHP Warning:  PHP Startup: (null): Unable to initialize module
          Module compiled with module API=20020429, debug=0, thread-safety=0
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          These options need to match
           in Unknown on line 0
          PHP Warning:  PHP Startup: (null): Unable to initialize module
          Module compiled with module API=20020429, debug=0, thread-safety=0
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          These options need to match
           in Unknown on line 0
          PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/curl.so: Undefined symbol "empty_string" in Unknown on line 0
          PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/mbstring.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/mbstring.so: Undefined symbol "OnUpdateInt" in Unknown on line 0
          PHP Warning:  PHP Startup: U<89><e5>S<e8><ce><ff><ff><ff><81><c3>^?+: Unable to initialize module
          firmware_update_misc.log 
           ESCESC[[BB
          Module compiled with module API=20020429, debug=0, thread-safety=0
          :
           ESCESC[[BB
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          :
           ESCESC[[BB
          These options need to match
          :
           ESCESC[[BB
           in Unknown on line 0
          :
           ESCESC[[BB
          PHP Warning:  PHP Startup: U<89><e5><83><ec>^X<8B>E^L<89>]<f8><e8><86><eb><ff>
          :
           ESCESC[[BB
          <ff><81><c3><97>^H: Unable to initialize module
          :
           ESCESC[[BB
          Module compiled with module API=20020429, debug=0, thread-safety=0
          :
           ESCESC[[BB
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          :
           ESCESC[[BB
          These options need to match
          :
           ESCESC[[BB
           in Unknown on line 0
          :
           ESCESC[[BB
          PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/ex:
           ESCESC[[BB
          tensions/no-debug-non-zts-20020429/pcre.so' - /usr/local/lib/php/extensions/no-d:
           ESCESC[[BB
          ebug-non-zts-20020429/pcre.so: Undefined symbol "empty_string" in Unknown on lin:
           ESCESC[[BB
          e 0
          :
           ESCESC[[BB
          PHP Warning:  PHP Startup: <e8><9F>ESC: Unable to initialize module
          :
           ESCESC[[BB
          Module compiled with module API=20020429, debug=0, thread-safety=0
          :
           ESCESC[[BB
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          :
           ESCESC[[BB
          These options need to match
          :
           ESCESC[[BB
           in Unknown on line 0
          :
           ESCESC[[BB
          PHP Warning:  PHP Startup: U<89><e5>VS<e8><ed><e9><ff><ff><81><c3>^f: Unable to :
           ESCESC[[BB
          initialize module
          :
          Module compiled with module API=20020429, debug=0, thread-safety=0
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          These options need to match
           in Unknown on line 0
          PHP Warning:  PHP Startup: U<89><e5>S<e8><ee><ee><ff><ff><81><c3>^K^T: Unable to initialize module
          Module compiled with module API=20020429, debug=0, thread-safety=0
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          These options need to match
           in Unknown on line 0
          PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/session.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/session.so: Undefined symbol "OnUpdateInt" in Unknown on line 0
          PHP Warning:  PHP Startup: U<89><e5>S<e8>N<f9><ff><ff><81><c3><ff>^U: Unable to initialize module
          Module compiled with module API=20020429, debug=0, thread-safety=0
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          These options need to match
           in Unknown on line 0
          PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/tokenizer.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/tokenizer.so: Undefined symbol "empty_string" in Unknown on line 0
          :
          PHP Warning:  PHP Startup: U<89><e5>VS<e8>=<d1><ff><ff><81><c3>^V': Unable to initialize module
          Module compiled with module API=20020429, debug=0, thread-safety=0
          PHP    compiled with module API=20060613, debug=0, thread-safety=0
          These options need to match
           in Unknown on line 0[/code]
          
          Comment puis-je résoudre ça ?</c3></ff></ff></d1></e8></e5></ff></c3></ff></ff></f9></e8></e5></c3></ff></ff></ee></ee></e8></e5></c3></ff></ff></e9></ed></e8></e5></e8></c3></ff></ff></eb></e8></f8></ec></e5></c3></ff></ff></ff></ce></e8></e5>
          
          1 Reply Last reply Reply Quote 0
          • J
            jpierred last edited by

            Problème résolu !

            Il y avait un caractère accentué dans la configuration.

            Pour plus d'informations, voir ici : http://doc.pfsense.org/index.php/Upgrade_Guide#International.2FSpecial_Characters_in_1.2.x_Configs

            1 Reply Last reply Reply Quote 0
            • First post
              Last post