• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. krokodeilakias
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 1
    • Controversial 0
    • Groups 0

    krokodeilakias

    @krokodeilakias

    1
    Reputation
    263
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Greece

    krokodeilakias Unfollow Follow

    Best posts made by krokodeilakias

    • RE: invalid integer value and chainloading failed

      @george1421
      Finally the problem lies within the next lines of the script:

      choose --timeout ${menu-timeout} --default ${menu-default} selected
      set menu-timeout 0

      Or to be more precise, the problem is their order. ${menu-timeout} is used before it is defined and therefore, the choose command fails since it received an empty string instead of an integer.
      Thanks a lot @george1421 for your support, I really appreciate it.

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias

    Latest posts made by krokodeilakias

    • RE: invalid integer value and chainloading failed

      @george1421
      Finally the problem lies within the next lines of the script:

      choose --timeout ${menu-timeout} --default ${menu-default} selected
      set menu-timeout 0

      Or to be more precise, the problem is their order. ${menu-timeout} is used before it is defined and therefore, the choose command fails since it received an empty string instead of an integer.
      Thanks a lot @george1421 for your support, I really appreciate it.

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • RE: invalid integer value and chainloading failed

      @george1421 Still no luck.
      In one of my attempts in order to avoid such kind of discrepancies, I had transferred the database in the first place and then run the installer. Still the same error.
      Anyway, now I rerun the installer but the error persists.
      Maybe the problem is in my script. I’ ll try to strip it down in case I hit on a conflicting command.

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • RE: invalid integer value and chainloading failed

      The variable ${fog-ip} doesn’t seem to be set in the advanced.php output. So this might cause an invalid URL. I don’t know if the values fall forward from boot.php or not. If no, then this seems to be an uninitialized variable.

      It seems that ${fog-ip} is passed through boot.php where it is initially defined. That’s why it successfully loads bg.png. The error comes right after.
      However, I explicitly replaced ${fog-ip} with the real IP, but the error remains.

      I also noted two invocation lines #!ipxe in the output. That shouldn’t cause a problem because it just resets everything a second time.

      Indeed, it doesn’t cause problem. I removed it and the error is still there.

      I don’t want to play it smart, but something similar I saw in another post, gives me the hint that an integer valued variable in globalSettings table is wrongly empty. This might have been caused due to the transfer of DB from the old server, which could be more forgiving or even missing that key at all. Has any relevant change since 1.5.7 taken place, that could justify this?

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • RE: invalid integer value and chainloading failed

      Thanks a lot for your prompt answer @george1421
      Below is what I get after visiting https://192.168.61.38/fog/service/ipxe/advanced.php
      The only difference compared to the old functional server is the “s” following “http”

      ###################################################################

      #!ipxe
      #!ipxe
      cpuid --ext 29 && set arch x86_64 || set arch i386
      colour --rgb 0xff6600 2
      cpair --foreground 7 --background 2 2
      console --picture https://${fog-ip}/fog/service/ipxe/bg.png --left 180 --right 80
      isset ${menu-default} || set menu-default exit
      :MENU
      menu Advanced Menu
      colour --rgb 0xff0000 0
      cpair --foreground 0 3
      item --gap -- -------------------------------------
      item --key 0 fog.local 0) Boot from hard disk
      item --key 1 recoverysub 1) Recovery Tools
      item --key 2 clonesub 2) Cloning Tools
      item --key 3 diagsub 3) Diagnostic Tools
      item --key 4 centossub 4) Linux Installers
      item --key 5 winsub 5) Windows Installers
      item --key 6 esxi 6) VMWare ESXi 6.7 Installer
      item --key s shell s) Start iPXE shell
      item
      item --key 0x08 return Return to previous Menu
      #choose target && goto ${target}
      choose --timeout ${menu-timeout} --default ${menu-default} selected
      set menu-timeout 0
      set submenu-timeout 0
      set menu-default return
      goto ${selected}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :sysrescue
      set root-path systemrescuecd
      kernel ${root-path}/rescue${arch} scandelay=1 docache netboot=${boot-url}/service/ipxe/${root-path}/sysrcd.dat setkmap=us dostartx
      initrd ${root-path}/initram.igz
      boot || goto MENU
      #:sysrescue32
      #set root-path sysrcd-4.4.1_x86
      #kernel ${root-path}/rescue32 scandelay=1 docache #netboot=https://${fog-ip}/fog/service/ipxe/sysrcd-4.4.1_x86/sysrcd.dat
      #initrd ${root-path}/initram.igz
      #boot || goto MENU
      #:clonezillaiso
      #set root-path clonezilla
      #initrd ${base-url}/fog/service/ipxe/${root-path}/clonezilla.iso
      #chain memdisk
      :clonezillalive
      set root-path clonezilla/live
      kernel ${root-path}/vmlinuz-${arch} boot=live union=overlay username=user config components quiet noswap edd=on nomodeset noeject locales=en_US.UTF-8 keyboard-layouts=us ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 fetch=${boot-url}/service/ipxe/${root-path}/filesystem-${arch}.squashfs
      initrd ${root-path}/initrd-${arch}.img
      boot || goto MENU
      :gpartedlive
      set root-path gparted/live
      kernel ${root-path}/vmlinuz-${arch} boot=live union=overlay username=user config components quiet noswap locales=en_US.UTF-8 keyboard-layouts=us gl_batch fetch=${boot-url}/service/ipxe/${root-path}/filesystem-${arch}.squashfs
      initrd ${root-path}/initrd-${arch}.img
      boot || goto MENU
      #:acronisiso
      #set root-path acronis/build8072
      #kernel memdisk iso raw
      #initrd ${root-path}/acronis_media.iso
      #boot || goto MENU
      :acronis2018
      set root-path acronis/2018b9202
      kernel ${root-path}/kernel64.dat quiet vga=791 ramdisk_size=32768 acpi=off noapic
      initrd ${root-path}/ramdisk_merged64.dat
      boot || goto MENU
      :acronis201832
      set root-path acronis/2018b9202
      kernel ${root-path}/kernel.dat quiet vga=791 ramdisk_size=32768 acpi=off noapic
      initrd ${root-path}/ramdisk_merged.dat
      boot || goto MENU
      :acronis38573
      set root-path acronis/build38573
      kernel ${root-path}/kernel64.dat quiet vga=791 ramdisk_size=32768 acpi=off noapic
      initrd ${root-path}/agent_ramdisk64.dat
      boot || goto MENU
      :acronis
      set root-path acronis/build8072
      kernel ${root-path}/kernel.dat quiet vga=791 ramdisk_size=32768 acpi=off noapic
      initrd ${root-path}/ramdisk.dat
      boot || goto MENU
      :acronis2010
      set root-path acronis/home2010
      kernel ${root-path}/kernel.dat quiet vga=791 ramdisk_size=32768 acpi=off noapic
      initrd ${root-path}/ramdisk.dat
      boot || goto MENU
      :macrium
      set root-path macrium
      sanboot --no-describe ${root-path}/macrium.iso
      boot || goto MENU
      :aomei
      set root-path aomei
      sanboot --no-describe ${root-path}/aomei.iso
      boot || goto MENU
      :ghost10
      set root-path ghost
      initrd ${root-path}/nortonghost10.iso
      boot memdisk iso raw || goto MENU
      :clonesub
      menu Cloning Tools
      item --gap -- ================== Cloning Tools ==================
      item
      #item clonezillaiso Clonezilla Live iso
      item --key 1 clonezillalive 1) Clonezilla Live (${arch})
      item --key 2 aomei 2) AOMEI Backupper 4.1
      item --key 3 macrium 3) Macrium Reflect Server Plus 7.1.3480 (64bit)
      item --key 4 acronis2018 4) Acronis True Image 2018 (b.9202)
      item --key 5 acronis201832 5) Acronis True Image 2018 32bit (b.9202)
      item --key 6 acronis38573 6) Acronis Wkstn 11.5 64bit (b.38573)
      item --key 7 acronis 7) Acronis True Image Wkstn (build 8,072)
      item --key 8 acronis2010 8) Acronis True Img Home 2010 (build 7,046)
      item --key 9 ghost10 9) Norton Ghost 10.0
      item
      item --key 0x08 back Back to previous menu...
      iseq ${menu-default} menu-tools || choose --timeout ${submenu-timeout} --default clonezillalive selected && goto ${selected} || goto MENU
      :recoverysub
      menu Recovery Tools
      item --gap -- ================== Recovery Tools ==================
      item
      item --key 1 sysrescue 1) Run SystemRescue (${arch})
      item --key 2 macrium 2) Macrium Reflect Server Plus 7.1.3480 (64bit)
      item --key 3 win7pe 3) Windows 7 PE
      item --key 4 gpartedlive 4) GParted Live (${arch})
      item --key 5 fedora8rescue 5) Fedora 8 Rescue (${arch})
      item --key 6 centos7rescue 6) CentOS 7.7.1908 Rescue (${arch})
      item --key 7 rocky8rescue 7) Rocky Linux 8.6 Rescue (${arch})
      item --key 8 alma9rescue 8) Alma Linux 9.0 Rescue (${arch})
      item --key 9 rocky9rescue 9) Rocky Linux 9.2 Rescue (${arch})
      item
      item --key 0x08 back Back to previous menu...
      iseq ${menu-default} menu-tools || choose --timeout ${submenu-timeout} --default sysrescue selected && goto ${selected} || goto MENU
      :winsub
      menu Windows Installers
      item --gap -- ================== Windows Installers ==================
      item
      item --key 1 win7x64 1) Windows 7 (64 bit) Install
      item --key 2 win10aio 2) Windows 10 AIO Install
      item --key 3 win2008R2 3) Windows 2008R2
      item --key 4 win2012R2 4) Windows 2012R2
      item --key 5 win7pe 5) Windows 7 PE
      item --key 6 hirenspe 6) Hirens BootCD PE
      item
      item --key 0x08 back Back to previous menu...
      iseq ${menu-default} menu-tools || choose --timeout ${submenu-timeout} --default win10aio selected && goto ${selected} || goto MENU
      :diagsub
      menu Diagnostic Tools
      item --gap -- ==================== Diagnostic Tools ===================
      item
      item --key 1 erd7 1) ERD Commander Win7 (${arch})
      item --key 2 erdvista 2) ERD Commander Vista SP2 (${arch})
      item --key 3 erdxp 3) ERD Commander WinXP SP3
      item --key 4 hirens 4) Hirens BootCD 15.2
      item --key 5 hirenspe 5) Hirens BootCD PE
      item --key 6 dell 6) Dell Support Live Image (DSLI)
      item
      item --key 0x08 back Back to previous menu...
      iseq ${menu-default} menu-tools || choose --timeout ${submenu-timeout} --default hirenspe selected && goto ${selected} || goto MENU
      :centossub
      menu CentOS Linux
      item --gap -- ==================== Linux installers ===================
      item
      item --key 1 centos7auto 1) CentOS 7.7.1908 (${arch}) Install (kickstart)
      item --key 2 centos7wiz 2) CentOS 7.7.1908 (${arch}) Install (wizard)
      item --key 3 centos7live 3) CentOS 7.7.1908 Live (needs >=3GB RAM)
      item --key 4 centos7rescue 4) CentOS 7.7.1908 Rescue (${arch})
      item --key 5 rocky8auto 5) Rocky Linux 8.6 (${arch}) Install (kickstart)
      item --key 6 rocky8wiz 6) Rocky Linux 8.6 (${arch}) Install (wizard)
      item --key 7 rocky8live 7) Rocky Linux 8.6 Live (needs >=3GB RAM)
      item --key 8 rocky8rescue 8) Rocky Linux 8.6 Rescue (${arch})
      item --key 9 rocky9auto 9) Rocky Linux 9.2 (${arch}) Install (kickstart)
      item --key a rocky9wiz a) Rocky Linux 9.2 (${arch}) Install (wizard)
      item --key b rocky9live b) Rocky Linux 9.2 Gnome Live (needs >=3GB RAM)
      item --key c rocky9rescue c) Rocky Linux 9.2 Rescue (${arch})
      item --key d alma9auto d) Alma Linux 9.0 (${arch}) Install (kickstart)
      item --key e alma9wiz e) Alma Linux 9.0 (${arch}) Install (wizard)
      item --key f alma9live f) Alma Linux 9.0 Gnome Live (needs >=3GB RAM)
      item --key g alma9rescue g) Alma Linux 9.0 Rescue (${arch})
      item
      item --key 0x08 back Back to previous menu...
      iseq ${menu-default} menu-tools || choose --timeout ${submenu-timeout} --default centos8wiz selected && goto ${selected} || goto MENU
      :centos7auto
      set root-path centos/7/${arch}/images/pxeboot
      set ksftppath ${boot-url}/service/ipxe/${root-path}
      kernel ${root-path}/vmlinuz ks=${ksftppath}/centos7${arch}.ks ksdevice=bootif ramdisk_size=100000
      initrd ${root-path}/initrd.img
      boot || goto MENU
      :centos7wiz
      set root-path centos/7/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 method=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :centos7rescue
      set root-path centos/7/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 rescue method=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :centos7live
      set root-path centos/7/live
      kernel ${root-path}/vmlinuz0 rootflags=loop root=live:/CentOS-7-x86_64-LiveGNOME-1908.iso rootfstype=auto ro rd.live.image quiet vga=791 rhgb rd.luks=0 rd.md=0 rd.dm=0 nomodeset
      initrd ${root-path}/initrd0.img
      boot || goto MENU
      :fedora8rescue
      set root-path fedora/8/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 rescue method=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :rocky8auto
      set root-path rocky/8/${arch}
      set pxe-path ${root-path}/images/pxeboot
      set ksftppath ${boot-url}/service/ipxe/${root-path}
      kernel ${pxe-path}/vmlinuz inst.ks=${ksftppath}/rocky8${arch}.ks ksdevice=bootif ramdisk_size=100000
      initrd ${pxe-path}/initrd.img
      boot || goto MENU
      :rocky8wiz
      set root-path rocky/8/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 inst.repo=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :rocky8live
      set root-path rocky/8/live
      kernel ${root-path}/vmlinuz rootflags=loop root=live:/Rocky-Workstation-Lite-8-x86_64-20220515.1.iso rootfstype=auto ro rd.live.image quiet vga=791 rhgb rd.luks=0 rd.md=0 rd.dm=0 nomodeset
      initrd ${root-path}/initrd.img
      boot || goto MENU
      :rocky8rescue
      set root-path rocky/8/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 inst.rescue inst.repo=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :rocky9auto
      set root-path rocky/9/${arch}
      set pxe-path ${root-path}/images/pxeboot
      set ksftppath ${boot-url}/service/ipxe/${root-path}
      kernel ${pxe-path}/vmlinuz inst.ks=${ksftppath}/rocky9${arch}.ks ksdevice=bootif ramdisk_size=100000
      initrd ${pxe-path}/initrd.img
      boot || goto MENU
      :rocky9wiz
      set root-path rocky/9/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 inst.repo=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :rocky9live
      set root-path rocky/9/live
      kernel ${root-path}/vmlinuz rootflags=loop root=live:/Rocky-9.2-Workstation-Lite-x86_64-20230513.0.iso rootfstype=auto ro rd.live.image quiet vga=791 rhgb rd.luks=0 rd.md=0 rd.dm=0 nomodeset
      initrd ${root-path}/initrd.img
      boot || goto MENU
      :rocky9rescue
      set root-path rocky/9/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 inst.rescue inst.repo=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :alma9auto
      set root-path alma/9/${arch}
      set pxe-path ${root-path}/images/pxeboot
      set ksftppath ${boot-url}/service/ipxe/${root-path}
      kernel ${pxe-path}/vmlinuz inst.ks=${ksftppath}/alma9${arch}.ks ksdevice=bootif ramdisk_size=100000
      initrd ${pxe-path}/initrd.img
      boot || goto MENU
      :alma9wiz
      set root-path alma/9/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 inst.repo=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :alma9live
      set root-path alma/9/live
      kernel ${root-path}/vmlinuz rootflags=loop root=live:/AlmaLinux-9.0-x86_64-Live-GNOME.iso rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 nomodeset
      initrd ${root-path}/initrd.img
      boot || goto MENU
      :alma9rescue
      set root-path alma/9/${arch}
      kernel ${root-path}/isolinux/vmlinuz ramdisk_size=100000 inst.rescue inst.repo=${boot-url}/service/ipxe/${root-path}
      initrd ${root-path}/isolinux/initrd.img
      boot || goto MENU
      :win7pe
      set root-path windows/7/PE
      #imgfetch ${root-path}/Windows_7_PE.iso
      imgfetch ${root-path}/7pe_x86_M.iso
      boot memdisk iso raw || goto MENU
      :win7x64
      set root-path windows/7/install/${arch}
      kernel ${root-path}/wimboot
      initrd ${root-path}/BCD BCD
      initrd ${root-path}/boot.sdi boot.sdi
      initrd ${root-path}/winpe.wim boot.wim
      #imgstat
      #prompt
      boot || goto MENU
      :win10aio
      set root-path windows/10
      #sanboot --no-describe --drive 0x81 ${root-path}/win10aio.iso
      #boot || goto MENU
      initrd ${root-path}/win10aio.iso
      chain memdisk iso || goto MENU
      :win2008R2
      set root-path windows/2008R2/install
      kernel ${root-path}/wimboot
      initrd ${root-path}/BCD BCD
      initrd ${root-path}/boot.sdi boot.sdi
      initrd ${root-path}/boot.wim boot.wim
      boot || goto MENU
      :win2012R2
      set root-path windows/2012R2/install
      kernel ${root-path}/wimboot
      initrd ${root-path}/BCD BCD
      initrd ${root-path}/boot.sdi boot.sdi
      initrd ${root-path}/boot.wim boot.wim
      boot || goto MENU
      :erd7
      set root-path erd/7/${arch}
      kernel ${root-path}/wimboot
      initrd ${root-path}/bootmgr bootmgr
      initrd ${root-path}/boot/bcd BCD
      initrd ${root-path}/boot/fonts/wgl4_boot.ttf wgl4_boot.ttf
      initrd ${root-path}/boot/boot.sdi boot.sdi
      initrd ${root-path}/sources/boot.wim boot.wim
      #imgstat
      #prompt
      boot || goto MENU
      :erdvista
      set root-path erd/Vista/${arch}
      kernel ${root-path}/wimboot
      initrd ${root-path}/bootmgr bootmgr
      initrd ${root-path}/boot/bcd BCD
      initrd ${root-path}/boot/fonts/wgl4_boot.ttf wgl4_boot.ttf
      initrd ${root-path}/boot/boot.sdi boot.sdi
      initrd ${root-path}/sources/boot.wim boot.wim
      #imgstat
      #prompt
      boot || goto MENU
      :erdxp
      set root-path erd
      initrd ${root-path}/ERD50_x86_WinXP_SP3_blueforce.iso
      boot memdisk iso raw || goto MENU
      #:hirens
      #set root-path hirens/15.2
      #initrd ${root-path}/Hirens.BootCD.15.2.iso
      #boot memdisk iso raw || goto MENU
      :hirens
      set root-path hirens/15.2
      initrd ${root-path}/Hirens.BootCD.15.2.iso
      kernel memdisk iso raw|| goto MENU
      boot || goto MENU
      :hirenspe
      set root-path https://${fog-ip}/fog/service/ipxe/hirens/15.2/HBCDPE
      kernel ${root-path}/wimboot gui
      imgfetch --name bootmgr.exe ${root-path}/bootmgr.exe bootmgr.exe
      imgfetch --name bootx64.efi ${root-path}/bootx64.efi bootx64.efi
      imgfetch --name BCD ${root-path}/bcd BCD
      imgfetch --name boot.sdi ${root-path}/boot.sdi boot.sdi
      imgfetch --name boot.wim ${root-path}/boot.wim boot.wim
      boot || goto MENU
      :esxi
      set root-path vmware
      initrd ${root-path}/ESXi.iso
      chain memdisk iso || goto MENU
      :dell
      set root-path dell/sli
      kernel ${root-path}/vmlinuz0 rootflags=loop initrd=initrd0.img root=live:/SLI_3.0.0_A00.iso rootfstype=auto ro rd.live.image quiet rhgb vga=791 rd.luks=0 rd.md=0 rd.dm=0 nomodeset
      initrd ${root-path}/initrd0.img
      boot || goto MENU
      #initrd ${root-path}/DSLI.iso
      #chain ${root-path}/memdisk iso || goto MENU
      :shell
      echo Type 'exit' to get the back to the menu
      shell ||
      goto MENU
      :return
      chain ${boot-url}/service/ipxe/boot.php?mac=${net0/mac} || prompt
      goto MENU
      autoboot
      
      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • invalid integer value and chainloading failed

      Hi all,
      I am trying to migrate from fog 1.5.7 (running on CentOS 7) to the latest stable 1.5.10 on another hardware running Rocky 9.2 with the same IP. What differs from the old server is that during the fresh installation I chose to use HTTPS support. At the end I transfered the database to the new server.
      Image deployment works as expected, but I can’t access Advanced Menu (not hidden) which after successfully loading advanced.php and bg.png returns an error:

      "" :invalid integer value
      Could not boot: Invalid argument (https://ipxe.org/1c162102)
      Chainloading failed,...
      

      Find below what I receive when I visit
      https://${fog-ip}/fog/service/ipxe/boot.php?mac=00:50:56:92:c7:c5

      Any suggestions on what I might be missing?
      Thanks in advance.

      ###################################################################

      #!ipxe
      set fog-ip 192.168.61.38
      set fog-webroot fog
      set boot-url https://${fog-ip}/${fog-webroot}
      set storage-ip 192.168.61.38
      set keymap us
      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 https://192.168.61.38/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0xff0000 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is NOT registered!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      item fog.advanced Advanced Menu
      choose --default fog.local --timeout 3000 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.reginput
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://192.168.61.38/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.61
      .38:/images/ storageip=192.168.61.38 nvme_core.default_ps_max_latency_us=0 loglevel=4 mode=manreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reg
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://192.168.61.38/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.61
      .38:/images/ storageip=192.168.61.38 nvme_core.default_ps_max_latency_us=0 loglevel=4 mode=autoreg
      imgfetch init_32.xz
      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=275000 web=https://192.168.61.38/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.61
      .38:/images/ storageip=192.168.61.38 nvme_core.default_ps_max_latency_us=0 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :fog.advanced
      chain -ar https://192.168.61.38/fog/service/ipxe/advanced.php || goto MENU
      :bootme
      chain -ar https://192.168.61.38/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      
      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • RE: Multicast doesn't work after update from 1.2 to 1.4.4

      @tom-elliott

      [root@ianos ~]# ls -lhat /var/www
      total 4.0K
      drwxr-xr-x   4 root root   47 Feb  4 21:54 html
      drwxr-xr-x   4 root root   41 Feb  3 23:26 .
      lrwxrwxrwx   1 root root   18 Feb  3 23:26 fog -> /var/www/html/fog/
      drwxr-xr-x   2 root root    6 Oct 19 23:39 cgi-bin
      drwxr-xr-x. 22 root root 4.0K Aug 21 21:29 ..
      [root@ianos ~]# ls -lhat /var/www/html
      total 12K
      drwxr-xr-x 13 apache apache 4.0K Feb  4 22:31 fog
      drwxr-xr-x  4 root   root     47 Feb  4 21:54 .
      drwxr-xr-x  4 root   root     41 Feb  3 23:26 ..
      -rw-r--r--  1 root   root     45 Jan 29  2015 index.php
      

      Although the above don’t seem erroneous to me, I followed your advice and deleted
      /var/www/fog and /var/www/html/fog. After re-running the installer multicasting works as it should. Apparently it was a right guess 😉
      Thanks a lot for your nice work!

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • RE: Multicast doesn't work after update from 1.2 to 1.4.4

      @wayne-workman Had already tried this:

      [root@ianos ~]# tail /etc/httpd/logs/access_log
      FOGServerIP - - [05/Feb/2018:01:23:21 +0200] "GET /fog/status/bandwidth.php?dev=eth0 HTTP/1.1" 200 46 "-" "-"
      FOGServerIP - - [05/Feb/2018:01:23:21 +0200] "POST /fog/status/logtoview.php HTTP/1.1" 200 663 "-" "-"
      FOGServerIP - - [05/Feb/2018:01:23:22 +0200] "GET /fog/status/bandwidth.php?dev=eth0 HTTP/1.1" 200 46 "-" "-"
      client-1_IP - - [05/Feb/2018:01:23:22 +0200] "POST /fog/service/progress.php HTTP/1.1" 200 - "-" "curl/7.53.0"
      client-2_IP - - [05/Feb/2018:01:23:22 +0200] "POST /fog/service/progress.php HTTP/1.1" 200 - "-" "curl/7.53.0"
      FOGServerIP - - [05/Feb/2018:01:23:24 +0200] "GET /fog/status/bandwidth.php?dev=eth0 HTTP/1.1" 200 46 "-" "-"
      [...]
      

      In /opt/fog/log/multicast.log nothing appears.

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • Multicast doesn't work after update from 1.2 to 1.4.4

      I recently updated from 1.2 to 1.4.4 (SVN 6077) having used “-P -T -F -o” options in my CentOS 7.4 box. During my post update tests, I realized that unlike unicast, multicast is not working any more. Actions taken so far:

      • Successfully tested multicast with 1 and 2 clients according to https://wiki.fogproject.org/wiki/index.php?title=Multicast#Troubleshooting
      • Removed /opt/fog/service and rerun the installer. No luck.
      [root@ianos ~]# systemctl status -l FOGMulticastManager
      ● FOGMulticastManager.service - FOGMulticastManager
         Loaded: loaded (/usr/lib/systemd/system/FOGMulticastManager.service; enabled; vendor preset: disabled)
         Active: active (running) since Mon 2018-02-05 00:22:37 EET; 2min 28s ago
       Main PID: 1669 (FOGMulticastMan)
         CGroup: /system.slice/FOGMulticastManager.service
                 └─1669 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
      
      Feb 05 00:22:37 ianos.my.domain systemd[1]: Started FOGMulticastManager.
      Feb 05 00:22:37 ianos.my.domain systemd[1]: Starting FOGMulticastManager...
      Feb 05 00:22:40 ianos.my.domain FOGMulticastManager[1669]: PHP Strict Standards:  Non-static method MulticastManager::outall() should not be called statically in /opt/fog/service/FOGMulticastManager/FOGMulticastManager on line 30
      Feb 05 00:22:40 ianos.my.domain FOGMulticastManager[1669]: PHP Fatal error:  Using $this when not in object context in /var/www/html/fog/lib/fog/multicastmanager.class.php on line 9
      
      • truncated multicastSessions and multicastSessionsAssoc from DB
      • udp-receiver is not running (how should it?)
      • /opt/fog/log/multicast.log reports nothing

      So, is there anything else to try?

      posted in FOG Problems
      krokodeilakiasK
      krokodeilakias
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“vinyard, post: 39767, member: 27465”]To get multicast working on CentOS7 you’ll need to modify the following line in function getIPAddress in /var/www/html/fog/lib/fog/FOGCore.class.php

      from:
      [CODE]exec(“/sbin/ifconfig | grep ‘[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}’| cut -d’:’ -f 2 | cut -d’ ’ -f1”, $arR, $retVal);[/CODE]

      to:
      [CODE]exec(“/sbin/ip addr | grep -o ‘[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}/[0-9]{1,2}’ | cut -d/ -f1”, $arR, $retVal);[/CODE]

      […][/quote]

      Thanks a lot vinyard, it works smoothly now 😉

      posted in Feature Request
      krokodeilakiasK
      krokodeilakias
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      Any update with CentOS 7 and Multicast issue? I managed to have a functional fog server (as far as tested) except Multicasting (“StorageNode Not found on this system”).

      posted in Feature Request
      krokodeilakiasK
      krokodeilakias