@george1421 I changed the option back from ahci to raid on exactly after image has been deployed.
However I laptop is not booting. Is there any easy way to do this without taking too much time or maybe someone to automate it?
@george1421 I changed the option back from ahci to raid on exactly after image has been deployed.
However I laptop is not booting. Is there any easy way to do this without taking too much time or maybe someone to automate it?
@george1421 Managed to get it fixed.
I followed these insturctions and found out that I had the 066 was not selected
https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence
thanks a lot for the help and keep up the good work.
Wishing a great Christmas and New year to all the team, and to your families and loves ones!
@george1421 I am on leave and will be back on wed to try it out.
@george1421 Basically I went into the server room and connected the laptop to the server switch (which gives ip on the same network as the fog server and the vm)
However it is not booting into the fog menu, it is booting into the dell diagnostics
I think the issue is that it is opening the file undionly.kpxe instead of ipxe.efi?
@george1421 first of all thanks for your help :):):)
-The policy on the dhcp is enabled on the dhcp of the pcs
-Booting UEFI with a real computer
I have a dell laptop and after changing from raidon to ahci I managed to boot into the fog menu, registered the machine.
The fog server and the laptops are on a different subnet. However the fog server and the vmware I have issues booting from network are on same subnet
@george1421 first time, I had arch 7 configured (probably was a few years ago when I configured fog but I dont recall I have used uefi up till now) I have now added arch 9
I am getting the error on first start booting from network and also when selecting to boot from
When it starts on boot from network I am getting
If I select to boot from efi network it says start pxe over ipv4 and then goes into the boot menu again
I am trying to create an image on my vmware server
however when I am trying to boot from network so that I can take an aimage to my fog server I am encountering an issue
With bios I could manage to take images however newer laptop dont have legacy options and I am starting to have issues.
I have a vmserver and I store my images on the server so that when I need an updated image I just open it, run the updates or do any modifications needed and then run sysprep and backup it using fog.
I am now trying to take an image with UEFI and when I am trying to boot using network however when I seleft efi network it displays start pxe over ipv4 and then goes back to the boot menu
Any ideas what I need to do to fix my issue
was there a fix for this issue or we still need to change to ahci?
@sebastian-roth you have a point there a good way to learn linux
@george1421 I guess its better to just stop doing the OS updates.
I am a bit OCD about the updates
@george1421 seem that after a couple of hours being left alone it is working again
after ubuntu updates fog server is not loading in the browser. Any ideas how to fix it? I am not sure what version I was running however was updated earlier this year
I tried downloading the latest version to /opt/ and running the ./installfog.sh command. the scrip ran and when finished displayed the ip to login however still didnt load
@tom-elliott I tested on another computer and its working.
on this particular pc its not working. I will try and uninstall fog client from the pc and reinstall it again and will see if it works.
IF it still doesnt work will try to remove from fog server and re add
@sebastian-roth said in Changing hostname from fog broken:
http://fog/fog/management/ - doesnt seem to open
http://192.168.0.58/fog/management - works
however when I ping fog I get a reply
I only got 1 fog server
Command as requested:
root@fog:~# ls -al /var/www/{,html}
/var/www/:
total 16
drwxr-xr-x 4 root root 4096 Jan 29 2019 .
drwxr-xr-x 15 root root 4096 Jan 29 2019 ..
drwxr-xr-x 11 www-data www-data 4096 Jan 29 2019 fog
drwxr-xr-x 3 root root 4096 Mej 26 12:24 html
/var/www/html:
total 28
drwxr-xr-x 3 root root 4096 Mej 26 12:24 .
drwxr-xr-x 4 root root 4096 Jan 29 2019 ..
drwxr-xr-x 10 www-data www-data 4096 Mej 26 12:26 fog
-rw-r--r-- 1 root root 10918 Jan 29 2019 index.html
-rw-r--r-- 1 www-data www-data 52 Ott 8 2020 index.php
root@fog:~#
I downloaded from : https://github.com/FOGProject/fogproject.
Fog server and clients are on different subnets however have been like this for around 2years, I have a sophos utm router, without proxy server
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
6/4/2021 3:24:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:24:23 PM Client-Info Client OS: Windows
6/4/2021 3:24:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:24:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:24:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
6/4/2021 3:24:23 PM Service Sleeping for 60 seconds
6/4/2021 3:25:23 PM Middleware::Communication URL: http://fog/fog/management/index.php?sub=requestClientInfo&configure&newService&json
6/4/2021 3:25:23 PM Middleware::Communication ERROR: Could not contact FOG server
6/4/2021 3:25:23 PM Middleware::Communication ERROR: The remote server returned an error: (502) Bad Gateway.
6/4/2021 3:25:23 PM Middleware::Response Success
6/4/2021 3:25:23 PM Service ERROR: Invalid promptTime, using default
6/4/2021 3:25:23 PM Middleware::Communication URL: http://fog/fog/management/index.php?sub=requestClientInfo&mac=74:D0:2B:35:33:6B&newService&json
6/4/2021 3:25:23 PM Middleware::Communication ERROR: Could not contact FOG server
6/4/2021 3:25:23 PM Middleware::Communication ERROR: The remote server returned an error: (502) Bad Gateway.
6/4/2021 3:25:23 PM Middleware::Response Success
6/4/2021 3:25:23 PM Middleware::Communication URL: http://fog/fog/service/getversion.php?clientver&newService&json
6/4/2021 3:25:23 PM Service ERROR: Unable to get cycle data
6/4/2021 3:25:23 PM Service ERROR: The remote server returned an error: (502) Bad Gateway.
6/4/2021 3:25:23 PM Middleware::Response Success
------------------------------------------------------------------------------
---------------------------------ClientUpdater--------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
----------------------------------TaskReboot----------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
6/4/2021 3:25:23 PM Client-Info Client Version: 0.11.19
6/4/2021 3:25:23 PM Client-Info Client OS: Windows
6/4/2021 3:25:23 PM Client-Info Server Version: 1.5.9
6/4/2021 3:25:23 PM Middleware::Response ERROR: Unable to get subsection
6/4/2021 3:25:23 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
6/4/2021 3:25:23 PM Service Sleeping for 60 seconds
Thanks
I am getting the below number when accessesing the following link: http://192.168.0.58/fog/service/getversion.php?clientver&newService&json
0.12.0
Tried redownloading and installing fog as its pretty easy and straightforward however still same issue.
[Tue May 25 00:00:04.404259 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Tue May 25 00:00:04.404282 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
[Wed May 26 00:00:06.516283 2021] [mpm_prefork:notice] [pid 801] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon May 24 00:00:07.495210 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon May 24 00:00:07.495231 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 25 00:00:03.853271 2021] [mpm_prefork:notice] [pid 801] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Thu May 20 00:00:07.690477 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Thu May 20 00:00:07.690497 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 20 14:46:05.550377 2021] [proxy:error] [pid 901639] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu May 20 14:46:05.556623 2021] [proxy_fcgi:error] [pid 901639] [client 192.168.0.254:49042] AH01079: failed to make connection to backend: 127.0.0.1
[Thu May 20 14:46:05.575487 2021] [proxy:error] [pid 901622] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu May 20 14:46:05.575640 2021] [proxy_fcgi:error] [pid 901622] [client 192.168.0.254:49043] AH01079: failed to make connection to backend: 127.0.0.1
[Thu May 20 14:46:07.616286 2021] [proxy:error] [pid 901620] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu May 20 14:46:07.616353 2021] [proxy_fcgi:error] [pid 901620] [client 192.168.0.254:49065] AH01079: failed to make connection to backend: 127.0.0.1
[Thu May 20 14:46:08.280219 2021] [mpm_prefork:notice] [pid 801] AH00169: caught SIGTERM, shutting down
[Thu May 20 14:46:42.725606 2021] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Thu May 20 14:46:42.760133 2021] [core:notice] [pid 801] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 20 15:49:43.614999 2021] [proxy_fcgi:error] [pid 1133] [client 192.168.0.93:49784] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:305\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(1832): Host->save()\n#1 /var/www/html/fog/lib/client/fogclient.class.php(179): FOGBase->sendData()\n#2 /var/www/html/fog/service/register.php(32): FOGClient->__construct()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/host.class.php on line 305'
[Thu May 20 15:56:04.356205 2021] [proxy_fcgi:error] [pid 1896] [client 192.168.0.95:49766] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/html/fog/lib/fog/host.class.php:305\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(1832): Host->save()\n#1 /var/www/html/fog/lib/client/fogclient.class.php(179): FOGBase->sendData()\n#2 /var/www/html/fog/service/register.php(32): FOGClient->__construct()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/host.class.php on line 305'
[Fri May 21 00:00:10.688815 2021] [mpm_prefork:notice] [pid 801] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
I found some other files that were compressed please find above.
The php7.4 log is all the same as posted before