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;
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;
yes linux not fog. They are on the same server though.
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
Make as solved please, I can image. Thank you for the help.
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;
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.
That command worked. Installed db and can get into interface, will let you know it I can image soon. Thanks for the help, Moe.
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
I have a password set already in MariaDB but tried it and got this error, had to type my password not hit enter only as advised:
the password is set in /opt/fog/fogsettings:
Let me know what you need and I’ll try to get it. Thanks again.
Looked at all the others links on this but none have worked for me.
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
Have a password for MariaDB and it is in /opt/fog/.fogsettings from what I can tell it is not creating the db in MariaDB.
I have used Fog for many years and it works great. This started when Ubuntu updated their files last week and I tried to fix before looking here… I saw the “Ubuntu is FOG’s enemy” link and moved to Debain and MariaDB as suggested but just cannot get it to run.
Get this on fog page:
It Fog Server does not fail on install.
Let me know what you need and how to get it please. I can do basic stuff but not anywhere near an expert.
Thank you, Moe.