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

    MTrejo2019

    @MTrejo2019

    0
    Reputation
    4
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    MTrejo2019 Unfollow Follow

    Latest posts made by MTrejo2019

    • RE: Install Debian 10 and Fog getting asked for tftp server.

      that worked, I added the other lines from that section also.

      Thanks, Moe. make as solved please

      use-host-decl-names on;
      ddns-update-style interim;
      ignore client-updates;
      next-server 10.10.2.58;
      authoritative;
      
      posted in FOG Problems
      M
      MTrejo2019
    • RE: Install Debian 10 and Fog getting asked for tftp server.

      yes linux not fog. They are on the same server though.

      posted in FOG Problems
      M
      MTrejo2019
    • Install Debian 10 and Fog getting asked for tftp server.

      Using:
      Intel® Xeon® CPU X5450 @ 3.00GHz, 4 cores
      32gb Memory
      8TB drive space
      Debian 10
      Apache version 2.4.38
      MySQL version 10.4.6-MariaDB
      ISC DHCPd version 4.4.1

      I can enter my Server ip: 10.10.2.58 and it will continue

      here is my dhcpd.conf file(it is not formatting right here)

      # DHCP Server Configuration file.
      # see /usr/share/doc/dhcp*/dhcpd.conf.sample
      # This file was created by FOG
      
      
      # DHCP Server Configuration file.
      # see /usr/share/doc/dhcp*/dhcpd.conf.sample
      # This file was created by FOG
      
      
      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 10.10.2.0 netmask 255.255.255.0 {
      option routers 10.10.2.1;
      option domain-name-servers 10.10.1.140, 10.10.1.141;
      option domain-name "co.merced.ca.us";
      option subnet-mask 255.255.255.0;
      default-lease-time 21600;
      max-lease-time 43200;
      }
      
      
      
      subnet 10.6.254.0 netmask 255.255.255.0 {
      option routers 10.6.254.1;
      range 10.6.254.100 10.6.254.200;
      option domain-name-servers 10.10.1.140, 10.10.1.141;
      option domain-name "co.merced.ca.us";
      option subnet-mask 255.255.255.0;
      default-lease-time 21600;
      max-lease-time 43200;
          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";
          }
      }
      

      [Mod note] added code block for readability -Geo

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      Make as solved please, I can image. Thank you for the help.

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      Ok I will, ya the grant access one worked. this one:

      mysql> GRANT ALL PRIVILEGES ON . TO ‘root’@‘localhost’ IDENTIFIED BY “your-password”;
      mysql> FLUSH PRIVILEGES;

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      Boot to network and get I get asked for TFTP server. I can enter the server ip and it continues. I am using ISC DHCPd version 4.4.1.

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      That command worked. Installed db and can get into interface, will let you know it I can image soon. Thanks for the help, Moe.

      42a0f669-e071-4163-942c-91f95f3eb224-image.png

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      Found this in the apache2 error log:

      [Thu Jul 25 15:02:43.293072 2019] [proxy_fcgi:error] [pid 4063] [client 10.10.2.58:54110] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Exception: Connection to mysql failed with message: SQLSTATE[HY000] [1049] Unknown database ‘fog’ in /var/www/html/fog/lib/db/mysqldump.class.php:282\nStack trace:\n#0 /var/www/html/fog/lib/db/mysqldump.class.php(306): Mysqldump->connect()\n#1 /var/www/html/fog/lib/fog/schema.class.php(200): Mysqldump->start(’/tmp/fog_backup…‘)\n#2 /var/www/html/fog/lib/fog/reportmaker.class.php(269): Schema->exportdb(‘fog_backup_2019…’)\n#3 /var/www/html/fog/maintenance/backup_db.php(23): ReportMaker->outputReport(3, true)\n#4 {main}\n thrown in /var/www/html/fog/lib/db/mysqldump.class.php on line 282’
      [Thu Jul 25 15:06:01.089717 2019] [mpm_prefork:notice] [pid 4060] AH00169: caught SIGTERM, shutting down

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      this error:
      13438aaa-bb8f-41cf-ab23-3ec71d374628-image.png

      posted in FOG Problems
      M
      MTrejo2019
    • RE: Fresh Install Debian 10, Installed fog getting "Database connection unavailable"

      yes it is set there also
      165f7634-7786-424f-9190-a5b79c55b776-image.png

      posted in FOG Problems
      M
      MTrejo2019