SVN 3125 & Hyper-V 2012 R2
-
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? -
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]