fog detected a potential need to reinstall php and apache files
-
Hello i am new to fog project so sorry if i’m explaining very badly
i started to install fog and this message appear and it’s really annoing because of that i can’t install fog her is the probleme :
-
Here are the settings FOG will use:
-
Base Linux: Debian
-
Detected Linux Distribution: Ubuntu
-
Interface: eno1
-
Server IP Address: 192.168.210.200
-
Server Subnet Mask: 255.255.255.0
-
Server Hostname: axel
-
Installation Type: Storage Node
-
Node IP Address: 192.168.210.200
-
MySQL Database Host: 192.168.1.2
-
MySQL Database User: axel
-
Are you sure you wish to continue (Y/N) y
-
Installation Started
-
Testing internet connection…There was no interface with an active internet connection found.
-
Adding repository if needed…OK
-
Preparing Package Manager…OK
-
Packages to be installed:
apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g
-
Installing package: apache2…Failed! (Will try later)
-
Skipping package: bc…(Already Installed)
-
Skipping package: build-essential…(Does not exist)
-
Skipping package: cpp…(Already Installed)
-
Installing package: curl…Failed! (Will try later)
-
Installing package: g++…Failed! (Will try later)
-
Skipping package: gawk…(Does not exist)
-
Installing package: gcc…Failed! (Will try later)
-
Skipping package: genisoimage…(Already Installed)
-
Skipping package: gzip…(Already Installed)
-
Skipping package: htmldoc…(Does not exist)
-
Skipping package: isolinux…(Does not exist)
-
Skipping package: lftp…(Does not exist)
-
Skipping package: libapache2-mod-php7.2…(Does not exist)
-
Skipping package: libc6…(Already Installed)
-
Skipping package: libcurl4…(Already Installed)
-
Installing package: liblzma-dev…Failed! (Will try later)
-
Installing package: m4…Failed! (Will try later)
-
Installing package: mysql-client…Failed! (Will try later)
-
Installing package: mysql-server…Failed! (Will try later)
-
Skipping package: net-tools…(Does not exist)
-
Installing package: nfs-kernel-server…Failed! (Will try later)
-
Installing package: openssh-server…Failed! (Will try later)
-
Skipping package: php7.2…(Does not exist)
-
Skipping package: php7.2-bcmath…(Does not exist)
-
Skipping package: php7.2-cli…(Does not exist)
-
Skipping package: php7.2-curl…(Does not exist)
-
Skipping package: php7.2-fpm…(Does not exist)
-
Skipping package: php7.2-gd…(Does not exist)
-
Skipping package: php7.2-json…(Does not exist)
-
Skipping package: php7.2-ldap…(Does not exist)
-
Skipping package: php7.2-mbstring…(Does not exist)
-
Skipping package: php7.2-mysql…(Does not exist)
-
Skipping package: php7.2-mysqlnd…(Does not exist)
-
Skipping package: php-gettext…(Does not exist)
-
Skipping package: sysv-rc-conf…(Does not exist)
-
Skipping package: tar…(Already Installed)
-
Skipping package: tftpd-hpa…(Does not exist)
-
Skipping package: tftp-hpa…(Does not exist)
-
Skipping package: unzip…(Already Installed)
-
Skipping package: vsftpd…(Does not exist)
-
Skipping package: wget…(Already Installed)
-
Skipping package: xinetd…(Does not exist)
-
Skipping package: zlib1g…(Already Installed)
-
Updating packages as needed…OK
-
Installing now everything is updated…Failed!
can someone help me please
-
-
@axou86ch Welcome to the forums. Three obvious things jump at me:
Installation Type: Storage Node
So you have a master node already? You can’t install AS storage node if there is no master.
MySQL Database User: axel
Again, do you have an existing master node with the database setup properly? Usually the username to connect a storage node to the master DB is fogstorage. Sure can be changed but I doubt you should do it as a beginner.
Testing internet connection…There was no interface with an active internet connection found.
You don’t seem to have a connection to the internet which the FOG installer needs to be able to install the Linux packages used.
-
@sebastian-roth i forgot to precise that i’m in LAN
and second question waht is node -
@axou86ch said in fog detected a potential need to reinstall php and apache files:
i forgot to precise that i’m in LAN
Does you LAN have access to the internet? If no, then you can’t install or update FOG, sorry.
and second question waht is node
FOG can be installed in two different “modes”. Master or storage. Read about the details in the wiki: https://wiki.fogproject.org/wiki/index.php?title=Managing_FOG#Storage_Management and if you find reading annoying then check out the picture from that same article. If you start with FOG you only need that single one named “Main FOG Server” in the picture and this one needs to be installed as “master node”. The FOG installer asks you about this and defaults to master (instead of storage).
-
This post is deleted! -
@sebastian-roth hello so now i’ts ok i passed this step so now the problem is :
is the MySQL blank ?
what did i have to answer ???
-
@axou86ch Answer yes to set a proper MySQL root passwort and make sure you note it down.