• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Chad
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 13
    • Best 2
    • Controversial 0
    • Groups 0

    Chad

    @Chad

    2
    Reputation
    4
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Atlanta

    Chad Unfollow Follow

    Best posts made by Chad

    • WebUI not deleting images in file system

      Hey all,

      I’ve been deleting images in the GUI using the bulk delete method not realizing this isn’t the best approach as the files will still stay in the filesystem. Dug around in the forums and discovered the Delete tab inside individual images. When checking the “Delete files” option, I’m faced with the error:

      Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): Login incorrect., Host: 10.10.60.2, Username: fogproject
      

      I’ve seen a few posts about this and some point to the TFTP password not matching the .fogsettings. I’ve checked this and they do match. I’ve changed the TFTP password and then changed back to what matches in .fogsettings and still no luck.

      On the confirmation screen, I should be entering the fog GUI password, right? When entering any other password I do get an immediate failure, but when entering the GUI password the GUI appears to try and delete the files, but is unable.

      posted in Bug Reports
      C
      Chad
    • RE: Not able to capture Image

      This seems like network issues between your host and your server. Try looking at some articles for SonicWalls, also, try getting a Wireshark pcap of your network.

      My biggest pain point was letting my Check Point firewall handle DHCP. All options were set properly, however the TFTP file name was never passed to the host, so it got an IP, but didn’t know what to do next. I solved this by creating a separate subnet and then letting FOG handle DHCP on that network.

      EDIT: Not saying anyone here would willingly gid through your pcap. Take a look at this first video I found on this, could be of some help.

      posted in General Problems
      C
      Chad

    Latest posts made by Chad

    • RE: FOG Upgrade - DHCP Error

      @sebastian-roth
      4d972d0e-ffc4-4cf6-bf48-73ddcd94b6de-image.png
      You guys are the best. Thank you. Looks like the correction for dhcpd fixed this.

      Thank you! Successful upgrade.

      Also,
      I’m running Ubuntu 20.04.2 LTS, PHP7.4 seems to come pre-installed, though I’m truly unsure. Either way, this has been resolved, server upgraded, and php7.4-fpm.service is loaded active running.

      Thank you, and thank you @george1421

      posted in FOG Problems
      C
      Chad
    • RE: FOG Upgrade - DHCP Error

      @sebastian-roth

      ## Start of FOG Settings
      ## Created by the FOG Installer
      ## Find more information about this file in the FOG Project wiki:
      ##     https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
      ## Version: 1.5.7
      ## Install time: Wed 27 Nov 2019 09:46:55 AM EST
      ipaddress='10.10.60.2'
      copybackold='0'
      interface='eno1'
      submask='255.255.255.0'
      hostname='fogserver'
      routeraddress='10.10.60.1'
      plainrouter=''
      dnsaddress='10.10.60.1'
      username='fogproject'
      password='XXXXXXXXXXX'
      osid='2'
      osname='Debian'
      dodhcp='Y'
      bldhcp='1'
      dhcpd='10.10.60.2'
      blexports='1'
      installtype='N'
      snmysqluser='root'
      snmysqlpass=''
      snmysqlhost='localhost'
      installlang='0'
      storageLocation='/images'
      fogupdateloaded=1
      docroot='/var/www/'
      webroot='/fog/'
      caCreated='yes'
      httpproto='http'
      startrange=''
      endrange=''
      bootfilename='undionly.kpxe'
      packages='apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php-gettext tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g '
      noTftpBuild=''
      notpxedefaultfile=''
      sslpath='/opt/fog/snapins/ssl/'
      backupPath='/home/'
      php_ver='7.2'
      php_verAdds='-7.2'
      sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'
      ## End of FOG Settings
      

      Also, I just noticed PHP v7.2 listed here. When installing 1.5.9, it errors out when trying to start php7.4-fpm.servicve. I’ve only been able to start 7.4 after stopping the php7.2-fpm.service service.

      posted in FOG Problems
      C
      Chad
    • RE: FOG Upgrade - DHCP Error

      @george1421 isc-dhcp-server.service appears to be running fine (this was after a recent reboot)

      root@fogserver:/home/user/Downloads/fogproject-1.5.9/bin# systemctl status isc-dhcp-server.service
      ● isc-dhcp-server.service - ISC DHCP IPv4 server
           Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
           Active: active (running) since Thu 2021-02-11 15:10:16 EST; 1h 52min ago
             Docs: man:dhcpd(8)
         Main PID: 1091 (dhcpd)
            Tasks: 4 (limit: 28690)
           Memory: 17.5M
           CGroup: /system.slice/isc-dhcp-server.service
                   └─1091 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf
      
      Feb 11 15:10:19 fogserver dhcpd[1091]: Listening on LPF/eno1/40:a8:f0:54:18:dd/10.10.60.0/24
      Feb 11 15:10:19 fogserver dhcpd[1091]: Sending on   LPF/eno1/40:a8:f0:54:18:dd/10.10.60.0/24
      Feb 11 15:10:19 fogserver dhcpd[1091]: Sending on   Socket/fallback/fallback-net
      Feb 11 15:10:19 fogserver dhcpd[1091]: Server starting service.
      Feb 11 16:58:07 fogserver dhcpd[1091]: DHCPREQUEST for 10.10.60.128 from b0:6e:bf:1e:58:38 (xafe-jbmsac009019) via eno1
      Feb 11 16:58:07 fogserver dhcpd[1091]: Wrote 0 class decls to leases file.
      Feb 11 16:58:07 fogserver dhcpd[1091]: Wrote 114 leases to leases file.
      Feb 11 16:58:07 fogserver dhcpd[1091]: DHCPACK on 10.10.60.128 to b0:6e:bf:1e:58:38 (xafe-jbmsac009019) via eno1
      Feb 11 17:00:05 fogserver dhcpd[1091]: DHCPREQUEST for 10.10.60.181 from 00:15:5d:3c:03:04 (xxxxx) via eno1
      Feb 11 17:00:05 fogserver dhcpd[1091]: DHCPACK on 10.10.60.181 to 00:15:5d:3c:03:04 (xxxxx) via eno1
      

      Result from systemctl status 10.10.60.2.service

      root@fogserver:/home/user/Downloads/fogproject-1.5.9/bin# systemctl status 10.10.60.2.service
      Unit 10.10.60.2.service could not be found.
      

      netstat -an | grep :67

      root@fogserver:/home/user/Downloads/fogproject-1.5.9/bin# netstat -an | grep :67
      udp        0      0 0.0.0.0:67              0.0.0.0:*
      
      posted in FOG Problems
      C
      Chad
    • FOG Upgrade - DHCP Error

      Hey guys,

      I’m currently upgrading my server from 1.5.7 to 1.5.9. I’ve been okay troubleshooting the changes thus far, but I’m stuck at what I believe to be a DHCP issue. The error seems to occur here:

      renamed '/etc/dhcp/dhcpd.conf' -> '/etc/dhcp/dhcpd.conf.1613055515'
      Failed to enable unit: Unit file 10.10.60.2.service does not exist.
      Failed to stop 10.10.60.2.service: Unit 10.10.60.2.service not loaded.
      Failed to start 10.10.60.2.service: Unit 10.10.60.2.service not found.
      Unit 10.10.60.2.service could not be found.
      

      10.10.60.2 is the static IP of the server, which is present via ifconfig

      eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
              inet 10.10.60.2  netmask 255.255.255.0  broadcast 10.10.60.255
              inet6 fe80::d27b:b7e8:4038:cbd8  prefixlen 64  scopeid 0x20<link>
              ether 40:a8:f0:54:18:dd  txqueuelen 1000  (Ethernet)
              RX packets 12117435  bytes 1559340123 (1.5 GB)
              RX errors 0  dropped 0  overruns 0  frame 0
              TX packets 54786770  bytes 80180012535 (80.1 GB)
              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
              device interrupt 20  memory 0xf7c00000-f7c20000
      

      Also DHCP is running, I’ve tried restarting the service as well:

      user@fogserver:~/Downloads/fogproject-1.5.9/bin/error_logs$ systemctl | grep dhc
        isc-dhcp-server.service                                                                  loaded active running   ISC DHCP IPv4 server
      

      What exactly is the install looking for, or what is the 10.10.60.2.service?
      Let me know if I can pull any more info to help.

      posted in FOG Problems
      C
      Chad
    • RE: Not able to capture Image

      This seems like network issues between your host and your server. Try looking at some articles for SonicWalls, also, try getting a Wireshark pcap of your network.

      My biggest pain point was letting my Check Point firewall handle DHCP. All options were set properly, however the TFTP file name was never passed to the host, so it got an IP, but didn’t know what to do next. I solved this by creating a separate subnet and then letting FOG handle DHCP on that network.

      EDIT: Not saying anyone here would willingly gid through your pcap. Take a look at this first video I found on this, could be of some help.

      posted in General Problems
      C
      Chad
    • RE: Not able to capture Image

      @Vrogers Press enter. I’m showing posts from 2016 once you scroll down…
      d34d745d-962e-4253-9680-2d2a3e5cce70-image.png

      posted in General Problems
      C
      Chad
    • RE: WebUI not deleting images in file system

      v1.5.7
      bzImage Version: 4.19.48

      posted in Bug Reports
      C
      Chad
    • WebUI not deleting images in file system

      Hey all,

      I’ve been deleting images in the GUI using the bulk delete method not realizing this isn’t the best approach as the files will still stay in the filesystem. Dug around in the forums and discovered the Delete tab inside individual images. When checking the “Delete files” option, I’m faced with the error:

      Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): Login incorrect., Host: 10.10.60.2, Username: fogproject
      

      I’ve seen a few posts about this and some point to the TFTP password not matching the .fogsettings. I’ve checked this and they do match. I’ve changed the TFTP password and then changed back to what matches in .fogsettings and still no luck.

      On the confirmation screen, I should be entering the fog GUI password, right? When entering any other password I do get an immediate failure, but when entering the GUI password the GUI appears to try and delete the files, but is unable.

      posted in Bug Reports
      C
      Chad
    • RE: Client Stops Loading After refind_x64.efi

      Would just like to add to this - I recently ran into this same issue again. Racked my brain trying to figure out what I did wrong or what setting could have possibly changed. Here’s what I found out.

      I was using the above PC again after cleaning and prepping to capture another image. This PC was already registered in FOG. I deleted the host and attempted to PXE boot again and everything went smooth as butter. Looks like there’s an issue booting if the device is already registered. I’m not sure what the issue is, but deleting the host and re-registering solved it.

      posted in FOG Problems
      C
      Chad
    • RE: Client Stops Loading After refind_x64.efi

      @Sebastian-Roth Sounds good to me.

      Thank you for your help here, I appreciate it a ton! Off to tackle AD joining so I’ll catch ya around.

      Also, to the powers that be - I’m not sure how to mark this as solved.

      posted in FOG Problems
      C
      Chad