SVN 3125 & Hyper-V 2012 R2
-
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? -
Bingo! Now we’re cookin’ with gas.
Thank you!
We now return to our regularly scheduled thread on Hyper-V 2012 R2 …
Now… what exactly would you like me to do to try and generate some new info on kernels above 3.18.5 not liking Hyper-V 2012 clients?
-
Updating my Development Fog
– svn: [B]3315[/B]
– Kernel: [B]4.0.0[/B]
– iPXE: 1.0.0+ ( [B]a25a[/B] )The problem persists as described at the top of this thread for the Hyper-V 2012 R2 client.
Reverting to [B]Kernel: 3.18.5 .[/B]
-
– svn: 3373
[B]-- Kernel: 4.0.1[/B]
– iPXE: 1.0.0+ (50e7)New msg for Quick Registration!
[CODE]Starting sshd: OK
/bin/fog.auto.reg: line 5: displayBanner: command not found
/bin/fog.auto.reg: line 7: getHardDisk: command not foundhard disk not found!
reboot: Restarting system[/CODE]
New msg for Full Registration!
[CODE]
Starting sshd: OK
/usr/share/fog/lib/funcs.sh: line 457: syntax error near unexpected tokenfi' /usr/share/fog/lib/funcs.sh: line 457:
fi’
/usr/share/fog/lib/funcs.sh: line 457: syntax error near unexpected tokenfi' /usr/share/fog/lib/funcs.sh: line 457:
fi’
/bin/fog.man.reg: line 4: clearScreen: command not found
/bin/fog.man.reg: line 5: displayBanner: command not found
/bin/fog.man.reg: line 7: getHardDisk: command not foundhard disk not found!
reboot: Restarting system
[/CODE]Reverting to [B]Kernel: 3.18.5 .[/B]
[B][/B] -
it’s not the kernel.
Update again.
-
Actually … it looks like the problem may be svn 3373. Reverting to 3.18.5 does not fix the new errors.
-
Hehe … doing that.
-
Okay, we’re back to the original problem.
Reverting to [B]Kernel: 3.18.5 .[/B]
-
Updating my Development Fog
– svn: [B]3385[/B] – Kernel: [B]4.0.2[/B]
– iPXE: 1.0.0+ ( [B]86aa[/B] )The problem persists as described at the top of this thread for the Hyper-V 2012 R2 client.
Reverting to [B]Kernel: 3.18.5 .[/B]