Fedora Fog Storage Node Fails
-
Hi, please check the error log in bin/error_logs
Look for the most recent version log (will have RC8 in it) and upload/post it here please.
-
/usr/bin/lsb_release
/usr/bin/systemctl
/usr/bin/dnf
Error: Unknown repo: ‘remi,remi-php56’
remi-release-24-2.fc24.remi.noarch
Error: Unknown repo: ‘remi,remi-php56’
curl-7.47.1-6.fc24.x86_64
package dhcp-server is not installed
Error: Unknown repo: ‘remi,remi-php56’
package gcc is not installed
Error: Unknown repo: ‘remi,remi-php56’
package gcc-c++ is not installed
Error: Unknown repo: ‘remi,remi-php56’
gzip-1.6-10.fc24.x86_64
package httpd is not installed
Error: Unknown repo: ‘remi,remi-php56’
package lftp is not installed
Error: Unknown repo: ‘remi,remi-php56’
m4-1.4.17-9.fc24.x86_64
make-4.1-5.fc24.x86_64
package mariadb is not installed
Error: Unknown repo: ‘remi,remi-php56’
package mariadb-server is not installed
“fog_error_1.3.0-RC-8.log” 71L, 2499C -
@Quazz I tried
dnf install http://rpms.remirepo.net/fedora/remi-release-23.rpm
But the install still fails in the same spot. -
@mclapper68 Are you currently on Fedora 23 or 24?
-
@Quazz Fedora 24 server
-
@mclapper68 You need to install the correct rpm for your version. For your version it’s probably http://rpms.remirepo.net/fedora/remi-release-24.rpm
I’m not overly familiar with Fedora, but I think the complete error log might be more useful.
What happens if you do a simple dnf update -y ?
-
@Quazz Sorry my mistake that is the what I have installed.
dnf install http://rpms.remirepo.net/fedora/remi-release-24.rpm
Last metadata expiration check: 2:18:38 ago on Wed Aug 17 06:50:56 2016.
Package remi-release-24-2.fc24.remi.noarch is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!I already did dnf update -y. There is no new updates. I will post my complete error log in a separate reply. Thank you for your help.
-
/usr/bin/lsb_release /usr/bin/systemctl /usr/bin/dnf Error: Unknown repo: 'remi,remi-php56' remi-release-24-2.fc24.remi.noarch Error: Unknown repo: 'remi,remi-php56' curl-7.47.1-6.fc24.x86_64 package dhcp-server is not installed Error: Unknown repo: 'remi,remi-php56' package gcc is not installed Error: Unknown repo: 'remi,remi-php56' package gcc-c++ is not installed Error: Unknown repo: 'remi,remi-php56' gzip-1.6-10.fc24.x86_64 package httpd is not installed Error: Unknown repo: 'remi,remi-php56' package lftp is not installed Error: Unknown repo: 'remi,remi-php56' m4-1.4.17-9.fc24.x86_64 make-4.1-5.fc24.x86_64 package mariadb is not installed Error: Unknown repo: 'remi,remi-php56' package mariadb-server is not installed Error: Unknown repo: 'remi,remi-php56' package mod_ssl is not installed Error: Unknown repo: 'remi,remi-php56' net-tools-2.0-0.37.20160329git.fc24.x86_64 nfs-utils-1.3.4-0.fc24.x86_64 package php is not installed Error: Unknown repo: 'remi,remi-php56' package php-bcmath is not installed Error: Unknown repo: 'remi,remi-php56' package php-cli is not installed Error: Unknown repo: 'remi,remi-php56' package php-common is not installed Error: Unknown repo: 'remi,remi-php56' package php-fpm is not installed Error: Unknown repo: 'remi,remi-php56' package php-gd is not installed Error: Unknown repo: 'remi,remi-php56' package php-mbstring is not installed Error: Unknown repo: 'remi,remi-php56' package php-mcrypt is not installed Error: Unknown repo: 'remi,remi-php56' Error: Unknown repo: 'remi,remi-php56' Error: Unknown repo: 'remi,remi-php56' package php-mysqlnd is not installed Error: Unknown repo: 'remi,remi-php56' package php-process is not installed Error: Unknown repo: 'remi,remi-php56' tar-1.28-7.fc24.x86_64 package tftp-server is not installed Error: Unknown repo: 'remi,remi-php56' package vsftpd is not installed Error: Unknown repo: 'remi,remi-php56' wget-1.18-1.fc24.x86_64 package xinetd is not installed Error: Unknown repo: 'remi,remi-php56' Error: Unknown repo: 'remi,remi-php56' curl-7.47.1-6.fc24.x86_64 gzip-1.6-10.fc24.x86_64 m4-1.4.17-9.fc24.x86_64 make-4.1-5.fc24.x86_64 net-tools-2.0-0.37.20160329git.fc24.x86_64 nfs-utils-1.3.4-0.fc24.x86_64 tar-1.28-7.fc24.x86_64 wget-1.18-1.fc24.x86_64 New password: Retype new password: Changing password for user fog. passwd: all authentication tokens updated successfully. Failed to stop httpd.service: Unit httpd.service not loaded. Failed to stop php-fpm.service: Unit php-fpm.service not loaded.
Mod edited to use code box.
-
@Quazz Here the foginstall.log after I tried installing apache, php and mariadb manually.
Version: 1.3.0-RC-8 Installer/Updater What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [1] Starting Redhat based Installation FOG Server installation modes: * Normal Server: (Choice N) This is the typical installation type and will install all FOG components for you on this machine. Pick this option if you are unsure what to pick. * Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group More information: http://www.fogproject.org/wiki/index.php?title=InstallationModes What type of installation would you like to do? [N/s (Normal/Storage)] What is the IP address or hostname of the FOG server running the fog database? This is typically the server that also runs the web server, dhcp, and tftp. IP or Hostname: What is the username to access the database? This information is storage in the management portal under 'FOG Configuration' -> 'FOG Settings' -> 'FOG Storage Nodes' -> 'FOG_STORAGENODE_MYSQLUSER'. Username [fogstorage]: What is the password to access the database? This information is storage in the management portal under 'FOG Configuration' -> 'FOG Settings' -> 'FOG Storage Nodes' -> 'FOG_STORAGENODE_MYSQLPASS'. Password: ###################################################################### # FOG now has everything it needs for this setup, but please # # understand that this script will overwrite any setting you may # # have setup for services like DHCP, apache, pxe, tftp, and NFS. # ###################################################################### # It is not recommended that you install this on a production system # # as this script modifies many of your system settings. # ###################################################################### # This script should be run by the root user. # # It will prepend the running with sudo if root is not set # ###################################################################### # ** Notice ** FOG is difficult to setup securely # # SELinux and IPTables are usually asked to be disabled # # There have been strides in adding capabilities # # The recommendations would now be more appropriate # # to set SELinux to permissive and to disable firewall for now. # # You can find some methods to enable SELinux and maintain firewall # # settings and ports. If you feel comfortable doing so please do # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Redhat * Detected Linux Distribution: Fedora * Server IP Address: 10.10.2.11 * Server Subnet Mask: 255.255.255.0 * Interface: enp0s3 * Installation Type: Storage Node * Node IP Address: 10.10.2.11 * MySQL Database Host: 10.10.1.11 * MySQL Database User: fogstorage * Are you sure you wish to continue (Y/N) * Installation Started * Installing required packages, if this fails | make sure you have an active internet connection. * Adding needed repository....................................OK * Preparing Package Manager...................................OK * Packages to be installed: curl dhcp-server gcc gcc-c++ gzip httpd lftp m4 make mariadb mariadb-server mod_ssl net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-mbstring php-mcrypt php-mysqlnd php-process tar tftp-server vsftpd wget xinetd * Skipping package: curl......................................(Already Installed) * Skipping package: dhcp-server...............................(Does not exist) * Skipping package: gcc.......................................(Does not exist) * Skipping package: gcc-c++...................................(Does not exist) * Skipping package: gzip......................................(Already Installed) * Skipping package: httpd.....................................(Already Installed) * Skipping package: lftp......................................(Does not exist) * Skipping package: m4........................................(Already Installed) * Skipping package: make......................................(Already Installed) * Skipping package: mariadb...................................(Already Installed) * Skipping package: mariadb-server............................(Already Installed) * Skipping package: mod_ssl...................................(Does not exist) * Skipping package: net-tools.................................(Already Installed) * Skipping package: nfs-utils.................................(Already Installed) * Skipping package: php.......................................(Already Installed) * Skipping package: php-bcmath................................(Does not exist) * Skipping package: php-cli...................................(Already Installed) * Skipping package: php-common................................(Already Installed) * Skipping package: php-fpm...................................(Does not exist) * Skipping package: php-gd....................................(Already Installed) * Skipping package: php-mbstring..............................(Already Installed) * Skipping package: php-mcrypt................................(Does not exist) * Skipping package: php-mysqlnd...............................(Already Installed) * Skipping package: php-process...............................(Does not exist) * Skipping package: tar.......................................(Already Installed) * Skipping package: tftp-server...............................(Does not exist) * Skipping package: vsftpd....................................(Does not exist) * Skipping package: wget......................................(Already Installed) * Skipping package: xinetd....................................(Does not exist) * Updating packages as needed.................................OK * Confirming package installation * Checking package: curl......................................OK * Checking package: gzip......................................OK * Checking package: httpd.....................................OK * Checking package: m4........................................OK * Checking package: make......................................OK * Checking package: mariadb...................................OK * Checking package: mariadb-server............................OK * Checking package: net-tools.................................OK * Checking package: nfs-utils.................................OK * Checking package: php.......................................OK * Checking package: php-cli...................................OK * Checking package: php-common................................OK * Checking package: php-gd....................................OK * Checking package: php-mbstring..............................OK * Checking package: php-mysqlnd...............................OK * Checking package: tar.......................................OK * Checking package: wget......................................OK * Configuring services * Setting up fog user.........................................Already setup * Setting up fog password.....................................OK * Backing up user reports.....................................Done * Stopping web service........................................Failed!
Mod edited to use code box.
-
@mclapper68 Try to uninstall the remi repo, and then re-install it.
-
@Wayne-Workman
I did a uninstall and reinstall of remi, no change. -
@Wayne-Workman
After I ran:
dnf --enablerepo=remi --enablerepo=remi-php70 install php-fpm php-common
The install goes further and stops at- Restarting Apache2 for fog vhost…Failed!
-
@mclapper68 said in Fedora Fog Storage Node Fails:
Restarting Apache2 for fog vhost…Failed!
That’s interesting… apache2 is a Ubuntu/Debian service… in RHEL land, it’s httpd.
-
@Wayne-Workman
I am going to do another fresh install of Fedora 24 Server and run the
dnf --enablerepo=remi --enablerepo=remi-php70 install php-fpm php-common
command then try to do another install of the fog storage node. I will let you know how it goes.Thank you.
-
@mclapper68 If you are going to do another fresh OS install why don’t you just use centos 7, then there is no monkeying around. It just installs. Or use ubuntu 14.04 either will install clean.
-
We have solid tutorials in the wiki for Fedora and CentOS 7.
If you’re not Linux savvy - go with CentOS 7. If you are going to run the server for years and years and years, go with CentOS 7.
Most of our sites at work are using CentOS 7 - with me being the exception. I use Fedora Server at work and home lol.
And I’d recommend Debian over Ubuntu. Debian is more stable - and the developers don’t make radical changes every release. Since Debian is up-stream from Ubuntu, that alone should be reason enough to use Debian instead of Ubuntu. Plus, Debian is regarded by many to be the “most free” of all Linux distributions.
-
While I did try a fresh install again. No luck. I am going to install CentOS 7 now. I will let you know how it goes.
-
All that time wasted with Fedora. CentOS 7 works super smooth no errors no problems. Thank you to everybody. I think Fog should put CentOS as there preferred OS just my humble opinion.
-
@mclapper68 I’m testing Fedora as I type.
-
I had exactly verbatim the same experience with a fresh Fedora 24 VM that you described.
Remi repo for Fedora 24 is broken.
And… I can’t tell them about it because their forums won’t let me register, because they think my IP is associated with spammers lol.