Some times we may encounter few issues with cloned virtual machines at start up .
After cloning a linux Guest I tried to increase memory and started it but it is failed with an error message
Failed to open a session for the virtual machine
VT-x is not available.(VERR_VMX_NO_VMX).
I just changed RAM size back and started it then increased RAM (We need to shut down virtual machine to change it).
I think this issue can be fixed by also changing entries in vbox settings file , this file can be found in Virtualbox directory on host machine. We can open it with a text editor and make changes .
Cloned machine may not be able to start network interface at startup.My guest OS was showing just loopback interface after startup .
I just changed mac address of new cloned device to match with it’s own macadderss in file /etc/sysconfig/network-scripts/ifcfg-eth0 .
Network interface settings file location is different in other Linux distro for example ubuntu,debian will have network settings in /etc/network/interfaces file. I also changed mac address in /etc/udev/rules.d/70-persistent-net.rules ( we can find the macaddress from virtual machine settings—>Network) .
We may need to adjust maximum allowed file size in my.cnf file to avoid erros such as ” ERROR at line xxx: MySQL server has gone away”.
adding an entry “max_allowed_packet = 100M” to my.cnf has fixed the issue
Session “default” started at 2013-04-20T12:31:45+0000
#1 ERROR: Error: mail() [<a href=’function.mail’>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in ‘C:\wamp\www\public\projects\library\swift\lib\classes\Swift\Transport\SimpleMailInvoker.php’ on line 50 (error code: 2)
Time since start: 1.4565789699554 seconds
Session “default” started at 2013-04-20T12:37:42+0000
#1 ERROR: Error: fsockopen() [<a href=’function.fsockopen’>function.fsockopen</a>]: unable to connect to ssl://pop.gmail.com:995 (Unable to find the socket transport "ssl" – did you forget to enable it when you configured PHP?) in ‘C:\wamp\www\public\projects\library\PEAR\Net\Socket.php’ on line 136 (error code: 2)
Time since start: 0.4566478729248 seconds
1.enable extension=php_openssl.dll in php.ini
2.Check if include path pointed to correct PEAR directory
3. find out which php.ini is using by webserver by creating a test file with content <?php phpinfo(); ?>
4. open the correct php.ini found in step 3 e and search for
; Windows: “\path1;\path2”
include_path = “.;c:\PEAR”
if it is linux you may need to change back-slash to forward-slash(/).
PHP Error :
Fatal error: session_start() [
.session-start]: Failed to initialize storage module: files (path: )
Uncomment session.save_path = line and define the tmp folder for example “C:\tmp” , so the line looks like
session.save_path = “C:\tmp”
Also make sure that tmp directory is writable by IIS user
Error: failed to push some refs to 'firstname.lastname@example.org' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Merge the remote changes (e.g. 'git pull') hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
I used force switch when I got above error while pushing the code
#git push -f myproject master
myproject is the repository name