Yeah I just followed the regular guide on https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
If I was to start 100% over, what would be needed to be done here? I am a bit of a Linux nab, so all I know is remove and purge atm.
Yeah I just followed the regular guide on https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
If I was to start 100% over, what would be needed to be done here? I am a bit of a Linux nab, so all I know is remove and purge atm.
To both of you: Yes I realized that the web root had changed from /www/ to /www/html - but as a part of my attempt to fix it all I deleted the /www/fog folder, since trunk apparently uses /www/html/fog.
It seems the log file is showing warning and fatal errors:
[Thu May 19 09:03:52.926480 2016] [:error] [pid 11720] [client 10.0.66.6:51887] PHP Warning: array_shift() expects parameter 1 to be array, string given in /var/www/html/fog/lib/fog/fogcore.class.php on line 83
Which then is:
self::$DB->query(sprintf(“ALTER TABLE %s
.%s
ENGINE=MyISAM”,DATABASE_NAME,array_shift($table)));
[Thu May 19 09:03:52.304044 2016] [:error] [pid 11721] [client 10.0.66.58:54121] PHP Fatal error: Call to a member function fetch() on boolean in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 128
Which then is:
return (int)self::$DB->query($query)->fetch()->get(‘total’);
Obviously the machine IPs are on our local network but is it just clients “popping past” the PXE boot, and therefore engaging with the PHP? Seems a bit weird. I just checked hostname on one of the many IPs on the error list (which is very full, it seems new IPs are popping up on the list with similar errors within minutes) - and they are indeed some of the machines I administrate here.
Hi guys
I just updated my fog to trunk by following the SVN wiki guide. Now my fog is broken/webacces does not work. When I try to reinstall it simply just ends at “Restarting Apache2 for fog vhost… Failed!”. I have tried restarting apache, mysql and tftpd-hpa with no succes. I remember updating via SVN broken my last attempt at FOG on Ubuntu 12 too. As a part of my search to find a solution, I deleted the /var/www/fog folder - as the trunk SVN installer makes a new folder in /var/www/fog/html/fog <-- which I also had purged/removed before installing via SVN.
I honestly do not know what is up here. Just connecting to ip (e.g. http://10.0.0.100) works fine, but shows the apache default page. Before the SVN attempt, I was able to connect via /fog on the URL.
Does anyone know what to do here? Is there a symbolic link that doesn’t work or what.
-Madsmagnus
Okay I will do that but… 1 thing at a time here. I just updated my fog to trunk by following the SVN wiki guide. Now my fog is broken/webacces does not work. When I try to reinstall it simply just ends at “Restarting Apache2 for fog vhost… Failed!”. I have tried restarting apache, mysql and tftpd-hpa with no succes. I remember updating via SVN broken my last attempt at FOG on Ubuntu 12 too.
Strange huh? Somehow I dont think sniffing trafic is very useful atm
No problem. 10.0.1.14 is our redundant DNS/DHCP server. Its a part of the Windows server envoirment we have here.
I think I have explained myself in a wrongful manner. What I mean is: The FOG settings are set up to use DHCP 10.0.1.10
10.0.0.15 is FOG server
@george1421 said in TFTP PXE-T01: File Not Found:
@MadsMagnus Ok great this shows the dhcp server and the target computer are in the same subnet and broadcast domain. (check #1)
Is it safe to assume that 10.0.1.10 IS your windows dhcp server?
The last bit is getting a screen shot of the dhcp settings. You can delete the picture you posted.
FWIW: You can insert pictures directly into this forum too.
Yeah I tried but it only did the thumbnail… rushed it ^^
Yeah I am sure that the DHCP is 10.0.1.10 - I also setup FOG to run DHCP 10.0.1.10. We do however have a redundant DHCP on .14 - but that shouldnt change anything. The settings are setup for .10 and have been for over 24 hours, so the mirror settings should be 100% complete.
@george1421 said in TFTP PXE-T01: File Not Found:
@MadsMagnus Yeah, I really need to SEE the bla bla stuff with real screen shot of your environment and dhcp settings and boot screen to put some context around what you are seeing.
We may (eventually) to run a network capture program to grab the dhcp communications. But for now lets look at the obvious stuff.
Alright then…
IMG DELETED
@george1421 said in TFTP PXE-T01: File Not Found:
First let me start with a comment. If you are intending to use win10, gpt disks, or uefi firmware you will be better served by upgrading the 1.2.0 stable with the 1.2.0 trunk version. 1.2.0 stable doesn’t support what I previously mentioned very well.
With that said, will you capture the error (pxe boot info) from the target computer with a mobile phone and post the picture here?
Also could you post a screen grab of your dhcp option 66 and 67 settings?
We’ll get this worked out. I won’t say your issue is common, but we see it frequently.
Okay I will get to trunk ASAP. Thanks for the headsup.
Option 66: undionly.kpxe
Option 67: IP of my FOG server
Client PXE boot error:
Network boot from Intel E1000e
Copyright 2003-2008 VMware Inc.
Copyright 1997-2000 Intel Corporation
CLIENT MAC DDR: BLA BLA BLA BLA BLA BLA GUID: BLA BLA BLA BLA BLA BLA
CLIENT IP: BLA BLA BLA MASK: BLA BLA BLA DHCP IP: IP of DNSServer1
GATEWAY IP: BLA BLA
TFTP
PXE-T01: File not found
PXE-E3B: TTFTP Error - File Not found
PXE-M0F: Exiting Intel PXE ROM
Hi guys
I realize that this issue is an old one, and many have fixed it before. But for some reason, I cannot? The DHCP is setup correctly on option 66 and 67 (Windows server obviously), and using TFTP client to retrieve undionly.kpxe works fine from my own Windows machine. I know this because I just changed it from pxelinux, because we ran 0.32 before.
The FOG server is running Ubuntu 14.04 completely fresh install, with only FOG 1.2.0 installed. I got the webacces working fine so right now, from what I can see - the TFTP problem is all that stands in my way for now? This is my first FOG install, before this we had a version 0.32. I decided to start from scratch to be sure that W10 imaging would work properly. The Windows server has also just recently been updated/the service was restarted.
Please help :O! I don’t think I have enough background knowledge on PXE and such to work from here… so your inputs would be greatly appreciated.