Jump to content

Recommended Posts

Posted

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

Posted
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!?!?!

Posted (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 by morganw
  • Thanks 1
Posted
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

Posted

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.

Posted

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.

  • Thanks 1
Posted

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.

Posted
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.

Posted (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 by glennda
  • Thanks 1
Posted
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

Posted

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).

  • Thanks 1
Posted (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 by computer_expert
  • Thanks 1
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...