@george1421 Hey George, sorry I didn’t reply yesterday. I did get everything running successfully. Captured an image and deploying image right now! Appreciate all your help! Not sure how to mark this is as solved but its working!
Latest posts made by Edwards07256
-
RE: PHP Fatal Error call to undefined function
-
RE: PHP Fatal Error call to undefined function
@george1421 Hey George sorry for bothering you once again. I ran into issues PXE booting on my device and had to recompile iPXE and that ended up working.
But now, I get to the point where I see the main FOG screen and have the options to register and everything else. But after 5 or so seconds at that screen it tries to connect to a server in my production environment for some reason?? Just as a reminder I am using FOG within a completely isolated environment, and there should be no link to the main production environment. I verified this through the .fogsettings and DHCP config. There is no mention of the IP it is trying to reach anywhere in any of my configs.
With that being said when I first started playing around with FOG I did have it connected to my environment. Could there still be some setting that I haven’t wiped?
The server / device it is trying to reach is http://IPHERE/fog/service/ipxe/bg.png
Have any ideas on this one?
I can paste in my DHCP.conf and .fogsettings but I can tell you 100% there is no mention of this address anywhere I can see.
-
RE: PHP Fatal Error call to undefined function
@george1421 Awesome I see what you mean! I got it up and running now!!
Thanks once again! I will dive into the imaging process and I hope I can get through it with no issues. Appreciate the help!
-
RE: PHP Fatal Error call to undefined function
@george1421 Taking your advice and just reinstalling it. I didn’t go the VM route, still using the same machine. I have my two interfaces setup. One internet facing and on just through my L2 switch. I set static IP and mask on the L2 interface. Internet facing interface has DHCP IP.
When you said: Setup one interface for your imaging network and defined the ip address range. The second interface will be internet facing (needed to install fog only). You will define a default route on this interface (not your imaging network interface).
So for the isolated interface I have it setup. But for the ‘default route’ on the internet facing interface, would that be my default gateway in my environment? Or what do you mean by default route?
Sorry for the questions here I am kind of familiar with networking but not really at an advanced level.
-
RE: PHP Fatal Error call to undefined function
@george1421 I got it up and running in an enterprise environment. I have a new question if you don’t mind.
I want to have it isolated from my production environment. If I were to hook the server up to a L2 switch, set static IP of the server, set up DHCP using FOG, would this work?
I would prefer it isolated just in case someone in my company randomly decides to mess with BIOS and PXE boots
Appreciate the help once again!
-
RE: PHP Fatal Error call to undefined function
@george1421 Thanks for the reply! I will go ahead and re-image with 20.04!
Appreciate the quick support!!!
-
PHP Fatal Error call to undefined function
Hey Everyone,
I just started setting up my FOG server. I am running into an error in the installation process. I am at the point where I need to connect to the dashboard. I type in the correct link, and I get a blank white page. http://IPHERE/fog/management/
I am on Ubuntu 21.10
Using the current dev branch of FOG (Just set it up today)I searched through the apache logs (tail -n 100 /var/log/apache2/error.log) and I see this message:
[Wed Jul 20 14:11:46.678762 2022] [proxy_fcgi:error] [pid 12964] [client 10.17.11.132:49692] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function _() in /var/www/html/fog/commons/init.php:439\nStack trace:\n#0 /var/www/html/fog/commons/init.php(306): Initiator::_extCheck()\n#1 /var/www/html/fog/commons/base.inc.php(46): Initiator::startInit()\n#2 /var/www/html/fog/management/index.php(22): require('...')\n#3 {main}\n thrown in /var/www/html/fog/commons/init.php on line 439'
I saw this on a similar forum post so thought I would share my installed PHP packages as well.
ii libapache2-mod-php8.0 8.0.8-1ubuntu0.4 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-cli 2:8.0+82~0build1 all command-line interpreter for the PHP scripting language (default) ii php-common 2:82~0build1 all Common files for PHP packages ii php-mbstring 2:8.0+82~0build1 all MBSTRING module for PHP [default] ii php-pear 1:1.10.12+submodules+notgz+20210212-1ubuntu1 all PEAR Base System ii php-php-gettext 1.0.12-4 all read gettext MO files directly, without requiring anything other than PHP ii php-xml 2:8.0+82~0build1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] ii php8.0 8.0.8-1ubuntu0.4 all server-side, HTML-embedded scripting language (metapackage) ii php8.0-bcmath 8.0.8-1ubuntu0.4 amd64 Bcmath module for PHP ii php8.0-cli 8.0.8-1ubuntu0.4 amd64 command-line interpreter for the PHP scripting language ii php8.0-common 8.0.8-1ubuntu0.4 amd64 documentation, examples and common module for PHP ii php8.0-curl 8.0.8-1ubuntu0.4 amd64 CURL module for PHP ii php8.0-fpm 8.0.8-1ubuntu0.4 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php8.0-gd 8.0.8-1ubuntu0.4 amd64 GD module for PHP ii php8.0-ldap 8.0.8-1ubuntu0.4 amd64 LDAP module for PHP ii php8.0-mbstring 8.0.8-1ubuntu0.4 amd64 MBSTRING module for PHP ii php8.0-mysql 8.0.8-1ubuntu0.4 amd64 MySQL module for PHP ii php8.0-opcache 8.0.8-1ubuntu0.4 amd64 Zend OpCache module for PHP ii php8.0-readline 8.0.8-1ubuntu0.4 amd64 readline module for PHP ii php8.0-xml 8.0.8-1ubuntu0.4 amd64 DOM, SimpleXML, XML, and XSL module for PHP
Am I doing something incorrectly?
Thanks!!