Installation de FOG

Bonjour
je n’arrive pas as installer FOG

[code]This script should be run by the root user on Fedora, or with sudo on Ubuntu.

Here are the settings FOG will use:
Distro: Ubuntu
Installation Type: Normal Server
Server IP Address: 192.168.1.203
DHCP router Address:
DHCP DNS Address:
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0

Are you sure you wish to continue (Y/N) y

Installation Started…

Installing required packages, if this fails
make sure you have an active internet connection.

  • Preparing apt-get

  • Installing package: apache2

  • Installing package: php5

  • Installing package: php5-gd

  • Installing package: php5-cli

  • Installing package: php5-mysql

  • Installing package: php5-curl

  • Installing package: mysql-server

    We are about to install MySQL Server on
    this server, if MySQL isn’t installed already
    you will be prompted for a root password. If
    you don’t leave it blank you will need to change
    it in the config.php file located at:

    /var/www/fog/commons/config.php

    Press enter to acknowledge this message.

Lecture des listes de paquetsâ¦
Construction de l’arbre des dépendancesâ¦
Lecture des informations d’étatâ¦
mysql-server est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
apache2-mpm-prefork apache2.2-bin libdb5.1 libgd2-xpm libjpeg62 libt1-5 ttf-dejavu-core
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.

  • Installing package: mysql-client
  • Installing package: isc-dhcp-server
  • Installing package: tftpd-hpa
  • Installing package: tftp-hpa
  • Installing package: nfs-kernel-server
  • Installing package: vsftpd
  • Installing package: net-tools
  • Installing package: wget
  • Installing package: xinetd
  • Installing package: sysv-rc-conf
  • Installing package: tar
  • Installing package: gzip
  • Installing package: build-essential
  • Installing package: cpp
  • Installing package: gcc
  • Installing package: g++
  • Installing package: m4
  • Installing package: htmldoc
  • Installing package: perl
  • Installing package: libcrypt-passwdmd5-perl
  • Installing package: lftp
  • Installing package: openssh-server
  • Installing package: php-gettext
  • Installing package: clamav-freshclam

Confirming package installation.

  • Checking package: apache2…OK
  • Checking package: php5…OK
  • Checking package: php5-gd…OK
  • Checking package: php5-cli…OK
  • Checking package: php5-mysql…OK
  • Checking package: php5-curl…OK
  • Checking package: mysql-server…OK
  • Checking package: mysql-client…OK
  • Checking package: isc-dhcp-server…OK
  • Checking package: tftpd-hpa…OK
  • Checking package: tftp-hpa…OK
  • Checking package: nfs-kernel-server…OK
  • Checking package: vsftpd…OK
  • Checking package: net-tools…OK
  • Checking package: wget…OK
  • Checking package: xinetd…OK
  • Checking package: sysv-rc-conf…OK
  • Checking package: tar…OK
  • Checking package: gzip…OK
  • Checking package: build-essential…OK
  • Checking package: cpp…OK
  • Checking package: gcc…OK
  • Checking package: g++…OK
  • Checking package: m4…OK
  • Checking package: htmldoc…OK
  • Checking package: perl…OK
  • Checking package: libcrypt-passwdmd5-perl…OK
  • Checking package: lftp…OK
  • Checking package: openssh-server…OK
  • Checking package: php-gettext…OK
  • Checking package: clamav-freshclam…OK

Configuring services.

  • Setting up fog user…Exists
  • Setting up and starting MySql…Failed!
    root@Host-456:/opt/fog_0.31/bin#[/code]

[code] * Setting up and starting MySql…Failed!

root@SRV-FOG:~# uname -a
Linux SRV-FOG 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:42:40 UTC 2014 i686 i686 i386 GNU/Linux
root@SRV-FOG:~#
[/code]

Bonjour.

Peut être un problème de droit sur les fichier de Mysql.
fait un chmod root 755 sur le dossier mysql dont j’oublie l’emplacement :slightly_smiling:

Regarde dans les logs MySQL.

parfait , Merci . je vais testé

[code]Configuring services.

  • Setting up fog user…OK

  • Setting up and starting MySql…OK

  • Backing up user reports…OK

  • Setting up and starting Apache Web Server…OK

  • Restoring user reports…OK

  • Configuring Fresh Clam…OK

  • Setting up storage…OK

  • Setting up and starting NFS Server…OK

  • Setting up and starting DHCP Server…OK

  • Setting up and starting TFTP and PXE Servers…OK

  • Setting up and starting VSFTP Server…Failed![/code]

problème Mysql résolu ; j’ai un autre message :

Idem, va voir les logs

de ce fait , suis allé sur un forum anglais , et je vous donne la solution

[quote]trenchboyz said: ↑
Same issue as fabiene … guest OS Ubuntu 14.04 LTS on a ESX 5.5 VM, fog will not install tried kubuntu as well same issue.

  • Setting up and starting VSFTP Server…Failed!
    You’re trying to install FOG 0.32 on Ubuntu 14.04? chances are possibly because 0.32 uses init.d scripts to restart the service, and 14.04 uses upstart.

Find the functions dealing with this in FOG 0.32 in the install directory (maybe /opt/fog_0.32?) lib/ubuntu/functions.sh

Change the lines 142 and 143 to read as:
Code:
service vsftpd stop >/dev/null 2>&1;
service vsftpd start >/dev/null 2>&1;
Fabiene said: ↑
Hello I appear Fabienne, I am French, I speak not at all English, I am helped by friends and quote internet.
I work in a school in Marseille, I am computing technicians.
Here we are, I contact you by hoping to have your help(assistant), I do not any more manage to install(settle) FOG V0.32.
That blocks(surrounds) on FTPD.
You would have a solution
Thank you beforehand
Cordially
Fabienne

What OS are you using? Ubuntu 14.04? If so try the steps above.

This may also be the case with Ubuntu 13.10. Ubuntu 12.04 should be fine.
[/quote]

en clair il me dit :
Ceci peut aussi être le cas avec Ubuntu 13.10. Ubuntu 12.04 devrait être bon.

parfait

mais je comprends rien moi au fichier de LOG, pouvez-vous m’expliquer, car c’est la base pour diagnostiquer une panne, surtout sous Linux

En général, quand tu as une erreur, elle est affichée dans les logs de l’application. Souvent dans /var/log.

Si tu ne comprends pas l’erreur, tu peux la poster ici, ou la recopier dans un moteur de recherche, ça t’amènera à la solution.

OK Merci