bodminman Posted October 19, 2010 Posted October 19, 2010 Hi there, does anyone use FOG within a virtual XenServer environment? If so what version of Linux did you use? Basically I can't get any vitual Linux machines to boot up at all! Thanks
Soulfish Posted October 19, 2010 Posted October 19, 2010 I used to run FOG on CentOS 5.3 (which was then upgraded to 5.4) ontop of Citrix XenServer. 1
computer_expert Posted October 19, 2010 Posted October 19, 2010 Sounds like you may not have installed the linux guest support pack for xenserver. 2nd download button here: Citrix XenServer Downloads 1
bodminman Posted October 19, 2010 Author Posted October 19, 2010 Sounds like you may not have installed the linux guest support pack for xenserver. 2nd download button here: Citrix XenServer Downloads Hi, Just double checked and the Linux guest pack is installed. I've downloaded the CentOS DVD iso and tried installing this. This gets further than the Ubuntu install but after selecting the language, I'm then propted to where I want to update the modules from? What modules, I'm installing from a DVD!?!?!
morganw Posted October 20, 2010 Posted October 20, 2010 I'm running FOG, on Debian Lenny, on XenServer and i've had no issues so far. I downloaded the Debian install disc from here: Debian Lenny » XenServer - Citrix Community 1
bodminman Posted October 22, 2010 Author Posted October 22, 2010 I'm running FOG, on Debian Lenny, on XenServer and i've had no issues so far. I downloaded the Debian install disc from here: Debian Lenny » XenServer - Citrix Community Hi Mate, I'm getting this error after running ./installfog.sh: Confirming package installation * Checking package: httpd . . . . Failed! Any ideas?
computer_expert Posted October 22, 2010 Posted October 22, 2010 Do you have a proxy? If you do, have you set the settings as mentioned in this post. Run apt-get update as root (to update the package lists) then try installing fog again. Are you executing installfog.sh as root? 1
morganw Posted October 22, 2010 Posted October 22, 2010 (edited) Have you defintely got internet access to download the packages and if you made the VM behind a proxy you'll have to check the that you have the correct repositories as the installer doesn't like the lack of internet access. To let apt access the internet I normally give the proxy settings directly by making a file called /etc/apt/apt.conf which contains: Acquire { Retries "0"; HTTP { Proxy "http://proxy:proxyport"; }; }; Edited October 22, 2010 by morganw 1
morganw Posted October 22, 2010 Posted October 22, 2010 Thats proxy -colon- proxyport e.g. myproxy:8080. Not a smiley face.
computer_expert Posted October 22, 2010 Posted October 22, 2010 to execute stuff as root on debian, you can either log in as root or configure sudo (and another link here) Thats proxy -colon- proxyport e.g. myproxy:8080. Not a smiley face. You can stop that happening by ticking the 'Disable smilies in text' option under additional post options 1
morganw Posted October 22, 2010 Posted October 22, 2010 Or you can type su, then when prompted enter the root password, then run the installer. 2
bodminman Posted October 22, 2010 Author Posted October 22, 2010 Do you have a proxy? If you do, have you set the settings as mentioned in this post. Run apt-get update as root (to update the package lists) then try installing fog again. Are you executing installfog.sh as root? Hi, I have set the Debian box to bypass the proxy to get out to the web. There are 2 options at the start of the FOG install and they are to select either Fedora/CentOS or Unbuntu and something else. I have selected Fedora/Centos. Is this correct? I am executing installfog.sh as root. Thanks
bodminman Posted October 22, 2010 Author Posted October 22, 2010 UPDATE: Now reinstalled Debian and ensured Web Server was selected as an install option and now when running installfog.sh things are looking more prommissing. Now it is sitting at : Installing package: php5 and has been for about 30 minutes.
computer_expert Posted October 22, 2010 Posted October 22, 2010 You need to select the Ubuntu option (Debian is what ubuntu is based on) in the fog setup. I've successfully installed fog on a debian box using the ubuntu selection in the installer. Centos/fedora uses the Yum package manager whereas debian/ubuntu use apt-get. If you choose the fedora/centos option (on a debian based system) in fog then the reason why it hangs while trying to download the packages is because the YUM package manager doesn't exist on debian based distros. 1
bodminman Posted October 22, 2010 Author Posted October 22, 2010 Hi, I have restarted the installation of FOG using Ubuntu as the main selection. I defo hve internet access as I'm responding to this post whilst logged onto the Debian box.
computer_expert Posted October 22, 2010 Posted October 22, 2010 What happens if you open another terminal window and type 'apt-get install php5' (as su/root) for example Does it download & install php5 or throw up an error? 1
bodminman Posted October 22, 2010 Author Posted October 22, 2010 What happens if you open another terminal window and type 'apt-get install php5' (as su/root) for example Does it download & install php5 or throw up an error? Hiya mate, Ran the 'apt-get install php5' and it installed, Rerun the ./installfog.sh and all now seems good. Thanks for your time on this one.
bodminman Posted October 22, 2010 Author Posted October 22, 2010 Feck! Now getting: Checking package: mysql-server failed
glennda Posted October 22, 2010 Posted October 22, 2010 (edited) is mysql installed/running? /etc/init.d/mysql status what does it then say? if it cant find it run (either with sudo or as su) apt-get install mysql-server Edited October 22, 2010 by glennda 1
bodminman Posted October 23, 2010 Author Posted October 23, 2010 is mysql installed/running? /etc/init.d/mysql status what does it then say? No such file or directory. if it cant find it run (either with sudo or as su) apt-get install mysql-server After running sudo apt-get install mysql-server I get the following error: The following packages have unmet dependencies. mysql-server: Depends: mysql-server-5.0 but it is not going to be installed. E: Broken packages
computer_expert Posted October 23, 2010 Posted October 23, 2010 try apt-get install -f to fix broken packages from apt-get -h (help): -f Attempt to correct a system with broken dependencies in place You can also do it via the GUI by going to System > Administration > Synaptic Package Manager > Edit > Fix Broken Packages. I can't remember if debian has synaptic installed as default or not (if not, apt-get install synaptic should do it). 1
bodminman Posted October 23, 2010 Author Posted October 23, 2010 Still no joy. Attached is the latest offering! FOGerror1.doc
computer_expert Posted October 23, 2010 Posted October 23, 2010 (edited) First off, try updating the package lists (apt-get update) then try the following commands: apt-get remove mysql-server then apt-get install libhtml-template-perl libdbi-perl mysql-server5.0 mysql-client-5.0 and try reinstalling fog Edited October 23, 2010 by computer_expert 1
bodminman Posted October 23, 2010 Author Posted October 23, 2010 Cheers mate for the response but this just doesn't appear to want to play ball at all! Here is the result of your latest info: FOG-Server:/home/khcom/Desktop/fog_0.29/bin# apt-get remove mysql-server Reading package lists... Done Building dependency tree Reading state information... Done Package mysql-server is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. FOG-Server:/home/khcom/Desktop/fog_0.29/bin# apt-get install libhtml-template-perl libdbi-perl mysql-server5.0 mysql-client-5.0 Reading package lists... Done Building dependency tree Reading state information... Done Package libhtml-template-perl is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package libhtml-template-perl has no installation candidate FOG-Server:/home/khcom/Desktop/fog_0.29/bin# I done the apt-get update in a separate Terminal session.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now