• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. robertkwild
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 45
    • Posts 183
    • Best 9
    • Controversial 0
    • Groups 0

    Posts made by robertkwild

    • RE: centos 7 kickstart - were to put ks file

      thanks @george1421 i can access the kickstart script via the web gui so all is good

      i can view it but i cant download it

      if i go here

      https://fog-ip/ks.cfg

      i can view it on the web

      but if i go here

      https://fog-ip/

      it re directs me to the fog dashboard, ie

      https://fog-ip//fog/management/index.php?node=home

      i was hoping it would list the dir listing of apache and when i click the file i could download it

      maybe i need to make a dir and put the file in the dir and then i can download it

      many thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: centos 7 kickstart - were to put ks file

      should i chown it apache:apache?

      posted in FOG Problems
      R
      robertkwild
    • RE: centos 7 kickstart - were to put ks file

      ok @george1421 so i put it under the http dir

      /var/www/html/fog/centos7.ks.cfg

      but ${fog-ip} means the above doesnt it?

      posted in FOG Problems
      R
      robertkwild
    • RE: centos 7 kickstart - were to put ks file

      oh no sorry @george1421, im not using ftp im using what you said in the how to, im just wondering where i should put the KS line in -

      kernel tftp://${fog-ip}/os/centos/7/vmlinuz
      initrd tftp://${fog-ip}/os/centos/7/initrd.img
      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}:/images/os/centos/7/LiveOS/squashfs.img ip=dhcp inst.repo=nfs:${fog-ip}:/images/os/centos/7 splash quiet
      KS=
      boot || goto MENU

      posted in FOG Problems
      R
      robertkwild
    • RE: centos 7 kickstart - were to put ks file

      you append it to the last line, found it here

      default menu.c32
      prompt 0
      timeout 30
      menu title Homelab PXE Menu
      label Install CentOS 7 Server
      kernel /networkboot/CentOS7/vmlinuz
      append initrd=/networkboot/CentOS7/initrd.img inst.repo=ftp://10.11.1.20/pub/pxe/CentOS7 ks=ftp://10.11.1.20/pub/pxe/centos7-ks.cfg

      posted in FOG Problems
      R
      robertkwild
    • centos 7 kickstart - were to put ks file

      hi all,

      following this great how to guide by @george1421 about how to make a centos 7 ipxe menu

      https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/28?page=2

      but where do i put my kickstart line in

      kernel tftp://${fog-ip}/os/centos/7/vmlinuz
      initrd tftp://${fog-ip}/os/centos/7/initrd.img
      imgargs vmlinuz initrd=initrd.img root=live:nfs://${fog-ip}:/images/os/centos/7/LiveOS/squashfs.img ip=dhcp inst.repo=nfs:${fog-ip}:/images/os/centos/7 splash quiet
      boot || goto MENU

      do i append it after the “imgargs” and before the “root=”?

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      @jj-fullmer thank you guys so much for all your help in this

      when you say it can capture from a nvme drive, can it deploy an image to an nvme drive that was captured from a standard SATA

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      @sebastian-roth thanks a lot

      but v1.5.9 can handle nvme drives cant it?

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      i will close this case as i should had run “certstat” on the culprit machine and then i could had done more troubleshooting on it

      and also the cmos battery was dead on this machine as it kept on saying the real time clock was out so this would have been another factor why the ipxe didnt work as its using a self signed cert https

      my bad guys but thanks so much for all your input

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      ok, ive found the wiki on this

      https://wiki.fogproject.org/wiki/index.php?title=HTTPS

      where would this location be on my server

      fogproject/bin/error_logs/

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      @sebastian-roth where would i find if i have https enabled on the fog server please?

      do you think instead of using a self signed ssl cert i should use a wildcard public one, as i do have one

      and then put my cert and private key here, replacing the self signed one

      /etc/httpd/conf.d/ssl.conf

      if so where else would i need to change it, so fog uses my fqdn instead of my ip

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      heres a vm that network boots (also laptops hp 840 g3 are good but atm i have no laptops here to show you)

      boot.JPG

      im not using fog for the dhcp, im using windows server 2012 r2, the options are below

      options.JPG

      the desktop in question that gets the error is a hp z640

      posted in FOG Problems
      R
      robertkwild
    • RE: boot php - denied

      i disable UEFI by default everytime i image pcs, i always set bios to legacy and secure boot disabled

      i can log in to the dashboard fine (see pic below) and i havnt changed the self signed cert fog installed on the initial setup

      dashboard.JPG

      but as i said, it works on other pcs i need to image just this one i couldnt and i find it bizare

      posted in FOG Problems
      R
      robertkwild
    • boot php - denied

      hi all,

      got this error, i have no idea why, maybe its because its got an nvme drive in it?

      ps - when i try to network boot on other pcs it works fine

      fog.jpg

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: mysqldump - is marked as crashed and should be repaired

      https://www.stellarinfo.com/article/repair-mysql-database-table.php

      posted in FOG Problems
      R
      robertkwild
    • RE: mysqldump - is marked as crashed and should be repaired

      nice one thanks @Sebastian-Roth

      mysqlcheck -c fog moduleStatusByHost -u root -p
      Enter password:
      fog.moduleStatusByHost OK
      [root@lon-c-fog10 backup]# ls
      17072021.tar 18072021.tar
      [root@lon-c-fog10 backup]# /script/backup.sh
      [root@lon-c-fog10 backup]#

      posted in FOG Problems
      R
      robertkwild
    • RE: mysqldump - is marked as crashed and should be repaired

      can i install php my admin on the fog server or will that mess it up?

      posted in FOG Problems
      R
      robertkwild
    • mysqldump - is marked as crashed and should be repaired

      hi all,

      getting this error when trying to backup the fog database

      mysqldump: Couldn’t execute ‘show create table moduleStatusByHost’: Table ‘./fog/moduleStatusByHost’ is marked as crashed and should be repaired (145)

      this is the command im running in the script

      mysqldump -u root -p’password’ --allow-keywords -x fog > /images/backup/fogall/fogbackup.sql

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • RE: backup of mysql database

      @tom-elliott thank you

      so really, i should run the command shown in the fog backup as its a better way

      posted in FOG Problems
      R
      robertkwild
    • backup of mysql database

      hi all,

      it says to run this command to backup the fog database

      mysqldump --allow-keywords -x -v fog > fogbackup.sql

      but looking elsewhere it says the way you backup databases is like so

      mysqldump -u [username] -p[password] [database_name] > [backup_file_name].sql

      so what do the options mean ie allow keywords and x and v

      thanks,
      rob

      posted in FOG Problems
      R
      robertkwild
    • 1 / 1