• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. plegrand
    3. Posts
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 45
    • Posts 418
    • Best 18
    • Controversial 0
    • Groups 0

    Posts made by plegrand

    • RE: UEFI PXE BOOT

      As you ask sometime to give the result of this command :
      http://192.168.39.243/fog/service/ipxe/boot.php?mac=10:65:30:64:39:54

      It’s the mac address of the problematic computer
      Here is the result

      #!ipxe
      set fog-ip 192.168.39.243
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://192.168.39.243/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0x00567a 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is pending approval!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      item fog.approvehost Approve This Host
      choose --default fog.local --timeout 10000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk initrd=memtest.bin iso raw
      initrd memtest.bin
      boot || goto MENU
      :fog.deployimage
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.multijoin
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap=fr web=http://192.168.39.243/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.39.243:/home/images/ storageip=192.168.39.243 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :fog.approvehost
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param approveHost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :bootme
      chain -ar http://192.168.39.243/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      
      posted in FOG Problems
      P
      plegrand
    • UEFI PXE BOOT

      I’ve got some problems to make works boot PXE UEFI.
      I’ve got this problem with new dell lattitude 5580.

      BIOS configuration :

      Secure Boot - Secure Boot Enable - Disabled
      Advanced Boot Options - Enable Legacy Option ROMs
      System Configuration - Integrated NIC - Enable UEFI Network Stack - Enabled w/PXE
      Boot Sequence -
           Onboard NIC (IPV4)
           Windows Boot Manager
      

      I use FOG 1.5.0 (@IP : 192.168.39.243)
      I dont use the DHCPD server of FOG but my own DHCPD server (isc-dhcp-server).
      Before trying use UEFI PXE boot everything worked fine with only LEGACY .
      I followed this article : https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_1
      And then add to my dhcpd.conf these lines :

      General options

      option space PXE;
      option PXE.mtftp-ip    code 1 = ip-address;
      option PXE.mtftp-cport code 2 = unsigned integer 16;
      option PXE.mtftp-sport code 3 = unsigned integer 16;
      option PXE.mtftp-tmout code 4 = unsigned integer 8;
      option PXE.mtftp-delay code 5 = unsigned integer 8;
      option arch code 93 = unsigned integer 16; # RFC4578
      

      Subnet options :

      next-server 192.168.39.243;
       class "UEFI-32-1" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
          filename "i386-efi/ipxe.efi";
          }
          class "UEFI-32-2" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
           filename "i386-efi/ipxe.efi";
          }
          class "UEFI-64-1" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
           filename "ipxe.efi";
          }
          class "UEFI-64-2" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
          filename "ipxe.efi";
          }
          class "UEFI-64-3" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
           filename "ipxe.efi";
          }
          class "Legacy" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
          #filename "undionly.kkpxe";
          filename "ipxe.pxe"; 
          }
      

      The computer boot PXE correctly and i’ve got the PXE menu.
      But after that when i choose “Boot from hard disk”, i’ve got the
      “chainloading failed…” error message.
      I cant understand what is the problem.
      Does someone could help me ?

      posted in FOG Problems
      P
      plegrand
    • RE: IRC (Internet Relay Chat)

      Does #fogimaging exist ? i try to connect on :

      Cannot join to channel #fogimaging (You must be invited)
      
      posted in Announcements
      P
      plegrand
    • RE: Upgrade to debian 9

      Boot PXE OK
      Capture OK
      Deploy OK

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @wayne-workman i used " your packages line" and it seems to work.
      Then now i have to test pxe boot, capture and deploy !!

      THanks for your help

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @wayne-workman sure. i will use your line

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @wayne-workman i will do that

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @wayne-workman Hmm strange. Why my file (from 1.4.4 version) keep php5 packages instead of php7
      Anyway i will try with this file monday.
      Thanks for your help

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @wayne-workman and could you tell me what version of Fog you use ?

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @wayne-workman may be could you give me a copy of the .fogsettings file from a fresh install on Debian 9 ?
      Thanks

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      This is exactly that i wanted to ask :
      Do i have to modify manually this line then remove php5 packages and replace by php7.0 package .

      https://wiki.fogproject.org/wiki/index.php?title=.fogsettings#packages

      i will try on Monday and will report here the result

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @ch3i the only problem for the moment is for the upgrade

      ./installfog.sh
      
       * Packages to be installed:
      
      	apache2 bc build-essential cpp curl g++ gcc gzip htmldoc lftp libapache2-mod-php5 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php5 php5-cli php5-curl php5-fpm php5-gd php5-json php5-mcrypt php5-mysqlnd php7.0-bcmath php7.0-mbstring php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g 
      
      
       * Skipping package:   apache2.................................(Already Installed)
       * Skipping package:   bc......................................(Already Installed)
       * Skipping package:   build-essential.........................(Already Installed)
       * Skipping package:   cpp.....................................(Already Installed)
       * Skipping package:   curl....................................(Already Installed)
       * Skipping package:   g++.....................................(Already Installed)
       * Skipping package:   gcc.....................................(Already Installed)
       * Skipping package:   gzip....................................(Already Installed)
       * Skipping package:   htmldoc.................................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Skipping package: libapache2-mod-php5.......................(Does not exist)
       * Skipping package:   libc6...................................(Already Installed)
       * Skipping package:   libcurl3................................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   mysql-client............................(Already Installed)
       * Skipping package:   mysql-server............................(Already Installed)
       * Skipping package:   net-tools...............................(Already Installed)
       * Skipping package:   nfs-kernel-server.......................(Already Installed)
       * Skipping package:   openssh-server..........................(Already Installed)
       * Installing package: php5....................................Failed! (Will try later)
       * Skipping package: php5-cli..................................(Does not exist)
       * Skipping package: php5-curl.................................(Does not exist)
       * Skipping package: php5-fpm..................................(Does not exist)
       * Skipping package: php5-gd...................................(Does not exist)
       * Skipping package: php5-json.................................(Does not exist)
       * Skipping package: php5-mcrypt...............................(Does not exist)
       * Skipping package: php5-mysqlnd..............................(Does not exist)
       * Installing package: php7.0-bcmath...........................OK
       * Skipping package:   php7.0-mbstring.........................(Already Installed)
       * Skipping package:   php-gettext.............................(Already Installed)
       * Skipping package:   sysv-rc-conf............................(Already Installed)
       * Skipping package:   tar.....................................(Already Installed)
       * Skipping package:   tftpd-hpa...............................(Already Installed)
       * Skipping package:   tftp-hpa................................(Already Installed)
       * Skipping package:   unzip...................................(Already Installed)
       * Skipping package:   vsftpd..................................(Already Installed)
       * Skipping package:   wget....................................(Already Installed)
       * Skipping package:   xinetd..................................(Already Installed)
       * Skipping package:   zlib1g..................................(Already Installed)
       * Updating packages as needed.................................OK
       * Installing now everything is updated........................Failed!
      

      As said in https://forums.fogproject.org/topic/6285/php-7-0-0-finally-released/15
      i add this lines :

      php_ver="7.0"
      php_verAdds="-7.0"
      repo="php-${php_ver}"
      

      But it doesn’t change anything
      Any idea ?

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      It seems that during upgrade debian remove some php5 packages but doesn’t reinstall them in php7 version.
      After reinstall them it seems to works

      aptitude install php7.0-mysql libapache2-mod-php7 php7.0 php7.0-curl php7.0-curl php7.0-fpm php7.0-gd php7.0-mcrypt
      

      I have now to test pxe boot capture and deploy

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      Argh… after reboot :

      août 25 11:59:59 Fog FOGPingHosts[1786]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGPingHosts[1786]: Stack trace:
      août 25 11:59:59 Fog FOGPingHosts[1786]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGPingHosts[1786]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGPingHosts[1786]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGPingHosts[1786]: #3 /opt/fog/service/FOGPingHosts/FOGPingHosts(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGPingHosts[1786]: #4 {main}
      août 25 11:59:59 Fog FOGPingHosts[1786]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: Stack trace:
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: #3 /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGTaskScheduler[1787]: #4 {main}
      août 25 11:59:59 Fog FOGTaskScheduler[1787]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog FOGSnapinHash[1789]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGSnapinHash[1789]: Stack trace:
      août 25 11:59:59 Fog FOGSnapinHash[1789]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGSnapinHash[1789]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGSnapinHash[1789]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGSnapinHash[1789]: #3 /opt/fog/service/FOGSnapinHash/FOGSnapinHash(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGSnapinHash[1789]: #4 {main}
      août 25 11:59:59 Fog FOGSnapinHash[1789]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog FOGMulticastManager[1790]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGMulticastManager[1790]: Stack trace:
      août 25 11:59:59 Fog FOGMulticastManager[1790]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGMulticastManager[1790]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGMulticastManager[1790]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGMulticastManager[1790]: #3 /opt/fog/service/FOGMulticastManager/FOGMulticastManager(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGMulticastManager[1790]: #4 {main}
      août 25 11:59:59 Fog FOGMulticastManager[1790]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog FOGImageSize[1788]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGImageSize[1788]: Stack trace:
      août 25 11:59:59 Fog FOGImageSize[1788]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGImageSize[1788]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGImageSize[1788]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGImageSize[1788]: #3 /opt/fog/service/FOGImageSize/FOGImageSize(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGImageSize[1788]: #4 {main}
      août 25 11:59:59 Fog FOGImageSize[1788]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog FOGImageReplicator[1785]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGImageReplicator[1785]: Stack trace:
      août 25 11:59:59 Fog FOGImageReplicator[1785]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGImageReplicator[1785]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGImageReplicator[1785]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGImageReplicator[1785]: #3 /opt/fog/service/FOGImageReplicator/FOGImageReplicator(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGImageReplicator[1785]: #4 {main}
      août 25 11:59:59 Fog FOGImageReplicator[1785]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: PHP Fatal error:  Uncaught Exception: Missing one or more extensions. in /var/www/fog/commons/init.php:394
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: Stack trace:
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: #0 /var/www/fog/commons/init.php(265): Initiator::_extCheck()
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: #1 /var/www/fog/commons/base.inc.php(48): Initiator::startInit()
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: #2 /opt/fog/service/lib/service_lib.php(22): require('/var/www/fog/co...')
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: #3 /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator(25): require('/opt/fog/servic...')
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]: #4 {main}
      août 25 11:59:59 Fog FOGSnapinReplicator[1791]:   thrown in /var/www/fog/commons/init.php on line 394
      août 25 11:59:59 Fog systemd[1]: FOGPingHosts.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGPingHosts.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGPingHosts.service: Failed with result 'exit-code'.
      août 25 11:59:59 Fog systemd[1]: FOGScheduler.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGScheduler.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGScheduler.service: Failed with result 'exit-code'.
      août 25 11:59:59 Fog systemd[1]: FOGImageSize.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGImageSize.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGImageSize.service: Failed with result 'exit-code'.
      août 25 11:59:59 Fog systemd[1]: FOGSnapinHash.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGSnapinHash.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGSnapinHash.service: Failed with result 'exit-code'.
      août 25 11:59:59 Fog systemd[1]: FOGMulticastManager.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGMulticastManager.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGMulticastManager.service: Failed with result 'exit-code'.
      août 25 11:59:59 Fog systemd[1]: FOGSnapinReplicator.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGSnapinReplicator.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGSnapinReplicator.service: Failed with result 'exit-code'.
      août 25 11:59:59 Fog systemd[1]: FOGImageReplicator.service: Main process exited, code=exited, status=255/n/a
      août 25 11:59:59 Fog systemd[1]: FOGImageReplicator.service: Unit entered failed state.
      août 25 11:59:59 Fog systemd[1]: FOGImageReplicator.service: Failed with result 'exit-code'.
      
      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      Upgrade done.
      No problem during upgrade
      Log seems to be ok
      I continue to test

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @sebastian-roth Then i try
      i will tell you if everything is OK

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @ch3i anyway i think i’m going to upgrade before backup everything.
      I will tell you

      May be i’ve got to update fog before to the latest stable version : 1.4.4 ?
      Then you use mariadb already ?

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      @ch3i Unfortunately no 😞

      posted in Linux Problems
      P
      plegrand
    • RE: Upgrade to debian 9

      Then it seems that there is no problem with php7 also. But i cant see for which version of fog it’s OK.
      Then you think i can upgrade to debian 9 without probklem ?
      Which version of fog are you using ? and what linux version ?

      Thanks

      posted in Linux Problems
      P
      plegrand
    • Upgrade to debian 9
      Server
      • FOG Version: Running Version 1.4.2
      • OS: Debian 8
      Description

      Hello,
      I actually use Fog 1.4.2 on a clean Debian 8 installation.
      I’m upgrading all my servers to Debian 9 and i was wondering if Fog will works with changes on Debian 9 :
      PHP 7
      mysql => maria db.

      Can i upgrade my saver without risk about php7 and mariadb ?
      Does someone already made it ?

      Many thanks for your hrlp.

      posted in Linux Problems
      P
      plegrand
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 20
    • 21
    • 6 / 21