SVN 3125 & Hyper-V 2012 R2
-
Okay, looks like I pulled down 3283 and I have a new option upon installation:
What MySQL connection type would you like?
MYSQLI_STORE_RESULT is normal
MYSQL_ASYNC is what is Defaulted and recommended
Any value not equal to MYSQLI_ASYNC and not blank will use store resultTo answer, what did FOG set up prior to this?
-
It’s been a hoopla of trials. I recommend leaving it blank/MYSQL_ASYNC
-
Continuing the install with MYSQLI_ASYNC …
– svn: 3283
[B]-- Kernel: 4.0.0[/B]
– iPXE: 1.0.0+ (eda1)The problem has reverted to as described at the top of this thread for the Hyper-V 2012 R2 client.
Reverting to [B]Kernel: 3.18.5 .[/B]
-
I’m going to try to network boot a Hyper-V win7 just to see what happens…
I’ll attempt to register and upload an image.
-
Running SVN3283 [B]Quick Host Register[/B] with 4.0.0 in debug elicits:
error: /dev/sda2: no such file or directory
udevd[2240]: inotify_add_watch(6, /dev/sda2, 10) failed: No such file or directory-
Using disk device … /dev/sda
-
Starting host registration…
-
Attempting to register host …
… cr+lf over and over…
Running SVN3283 [B]Full Host Register[/B] with 4.0.0 in debug elicits the same messages as originally indicated.
-
-
Wait a sec …
Hitting save at any time for any reason on the Fog Settings page sends me to:
[url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[I]The website cannot display this page (HTTP 500)[/I]
This did happen when I initially tried to set debug, but thought it a random browser fault, and didn’t check to see if the setting stuck. It isn’t. I’ve tried again with the same result. I even tried just saving the unchanged settings page and get the same error.
-
What is specifying devfog as the rewrite URL?
-
I’m not sure what you’re asking, but that’s the server name.
-
Whether I access the fog server by IP or DNS name the result is the same.
-
If you’re getting a 500 there’s a coding problem somewhere, though I don’t know where. My guess, is it’s in the mcrypt functions. But this only happens when you hit save? Can you get us your error logs when this occurs?
-
Something texty this way pastes (from Apache2 error.log):
[Tue Apr 21 15:57:26.270596 2015] [:error] [pid 2509] [client 172.19.252.91:64306] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 16:09:45.085649 2015] [:error] [pid 6306] [client 172.19.252.91:64807] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 16:10:09.541837 2015] [:error] [pid 2509] [client 172.19.252.91:64820] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 16:11:15.654575 2015] [:error] [pid 10252] [client 172.19.252.91:64855] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 16:11:33.361855 2015] [:error] [pid 10254] [client 172.19.252.91:64869] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 16:14:22.390926 2015] [:error] [pid 6306] [client 172.19.252.91:64966] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 16:14:50.851178 2015] [:error] [pid 2510] [client 172.19.252.91:64987] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://devfog/fog/management/index.php?node=about&sub=settings[/url]
[Tue Apr 21 17:01:59.452108 2015] [:error] [pid 10253] [client 172.19.252.91:52141] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://172.19.244.13/fog/management/index.php?node=about&sub=settings[/url] -
Just so ya know, the Settings/Save error persists in 3291.
-
What OS?
-
Viewing the fog server’s settings page from Windows 8.1u IE11 or Chrome 42.0.2311.90.
The apache2/error.log error continues to be as above:
PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 301, referer: [url]http://172.19.244.13/fog/management/index.php?node=about&sub=settings[/url]
Server OS is Ubuntu 14.04.2 LTS
-
Still gonna mess with Hyper-V
Just haven’t yet…
-
What happens if you run:
[code]sudo apt-get install --reconfigure php5-mcrypt[/code] -
Command line option --reconfigure is not understood
-
I’m not always perfect, sorry.
[code]sudo apt-get install --reinstall php5-mcrypt[/code]
-
Same Apache error … and a reboot later, same error.
-
Can you run php5enmod mcrypt
Then restart Apache?