No Mariah Database on Fedora 23/Trunk.



  • Followed these instructions exactly, but no luck so far.
    https://wiki.fogproject.org/wiki/index.php?title=Fedora_23_Server
    Fresh install of Fedora 23 Server with all updates. I installed Fedora 24 first, came to same issue, dropped back to 23.

    When installing Fog with either git or svn, it tells me I need to update my database schema. I cannot access a webpage at x.x.x.x/fog/management to do the update. The installer doesn’t give any other error messages. If I do a mysqlcheck, the fog database is unknown. Apache Service is running.

    [Thu Jul 28 16:21:08.408078 2016] [lbmethod_heartbeat:notice] [pid 983] AH02282: No slotmem from mod_heartmonitor
    [Thu Jul 28 16:21:08.609556 2016] [mpm_prefork:notice] [pid 983] AH00163: Apache/2.4.23 (Fedora) OpenSSL/1.0.2h-fips PHP/5.6.24 SVN/1.9.4 configured – resuming normal operations
    [Thu Jul 28 16:21:08.609717 2016] [core:notice] [pid 983] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
    [Thu Jul 28 16:22:51.996749 2016] [mpm_prefork:notice] [pid 983] AH00170: caught SIGWINCH, shutting down gracefully
    [Thu Jul 28 16:23:09.855402 2016] [core:notice] [pid 2111] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Thu Jul 28 16:23:09.858840 2016] [suexec:notice] [pid 2111] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Jul 28 16:23:09.904307 2016] [auth_digest:notice] [pid 2111] AH01757: generating secret for digest authentication …
    [Thu Jul 28 16:23:09.906334 2016] [lbmethod_heartbeat:notice] [pid 2111] AH02282: No slotmem from mod_heartmonitor
    [Thu Jul 28 16:23:09.935315 2016] [mpm_prefork:notice] [pid 2111] AH00163: Apache/2.4.23 (Fedora) OpenSSL/1.0.2h-fips PHP/5.6.24 SVN/1.9.4 configured – resuming normal operations
    [Thu Jul 28 16:23:09.935502 2016] [core:notice] [pid 2111] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’


  • Moderator

    @kentucky_smith I think I helped you with this via TV today. It was firewalld again.

    I know I disabled it from last time - I’m not one to make a mistake with this. Something or someone must have turned it back on.



  • After a reboot I’m back to the same problem. Firewall is disabled, but can’t get to the web manager.


  • Moderator

    The firewall was blocking http for some reason. I don’t know why, http was opened up, I did it myself and it still wouldn’t allow it. We just disabled it. Not good practice but @kentucky_smith said he didn’t need it. SELinux was also in permissive mode.



  • @Wayne-Workman responded back, the install told me I needed to update database schema again.


  • Moderator

    @kentucky_smith Hey I sent you a message. Top right, the talk bubble.



  • I don’ t see a Fog database and I can’t browse to the webserver.


  • Moderator

    @kentucky_smith Yes, but does fog work now?



  • [root@fogtrunk error_logs]# vi fog_error_1.3.0-RC-4.log
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Installing  : php-json-7.0.9-1.fc23.remi.x86_64                           1/4
    
    WARNING : These php-* RPMs are not official Fedora / Red Hat build and
    overrides the official ones. Don't file bugs on Fedora Project nor Red Hat.
    
    Use dedicated forum at http://forum.remirepo.net/
    st metadata expiration check: 0:00:01 ago on Thu Jul 28 19:18:23 2016.
    No package epel-release available.
    Error: Unable to find a match.
    remi-release-23-4.fc23.remi.noarch
    Last metadata expiration check: 0:00:05 ago on Thu Jul 28 19:18:23 2016.
    curl-7.43.0-7.fc23.x86_64
    gcc-5.3.1-6.fc23.x86_64
    gcc-c++-5.3.1-6.fc23.x86_64
    gzip-1.6-9.fc23.x86_64
    httpd-2.4.23-4.fc23.x86_64
    lftp-4.6.1-6.fc23.x86_64
    m4-1.4.17-8.fc23.x86_64
    make-4.0-5.1.fc23.x86_64
    mariadb-10.0.25-1.fc23.x86_64
    mariadb-server-10.0.25-1.fc23.x86_64
    mod_ssl-2.4.23-4.fc23.x86_64
    net-tools-2.0-0.35.20150915git.fc23.x86_64
    nfs-utils-1.3.3-8.rc5.fc23.x86_64
    package php is not installed
    Last metadata expiration check: 0:00:06 ago on Thu Jul 28 19:18:23 2016.
    Available Packages
    php.x86_64                     7.0.9-1.fc23.remi                      remi-php70
    Last metadata expiration check: 0:00:07 ago on Thu Jul 28 19:18:23 2016.
    Dependencies resolved.
    ================================================================================
     Package          Arch         Version                   Repository        Size
    ================================================================================
    Installing:
     php              x86_64       7.0.9-1.fc23.remi         remi-php70       2.6 M
     php-cli          x86_64       7.0.9-1.fc23.remi         remi-php70       4.0 M
     php-common       x86_64       7.0.9-1.fc23.remi         remi-php70       1.0 M
     php-json         x86_64       7.0.9-1.fc23.remi         remi-php70        58 k
    
    Transaction Summary
    ================================================================================
    Install  4 Packages
    
    Total download size: 7.6 M
    Installed size: 29 M
    Downloading Packages:
    --------------------------------------------------------------------------------
    Total                                           5.4 MB/s | 7.6 MB     00:01
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Installing  : php-json-7.0.9-1.fc23.remi.x86_64                           1/4
    
    WARNING : These php-* RPMs are not official Fedora / Red Hat build and
    overrides the official ones. Don't file bugs on Fedora Project nor Red Hat.
    
    Use dedicated forum at http:
    

    Mod edited to use code box.


  • Moderator

    @kentucky_smith said in No Mariah Database on Fedora 23/Trunk.:

    r: Unknown repo: 'remi’
    package remi-release-23 is not installed

    Exactly what I thought.

    We need the remi repo.

    Fedora 23:

    dnf remove php* -y
    dnf clean all
    dnf install http://rpms.remirepo.net/fedora/remi-release-23.rpm
    dnf config-manager --set-enabled remi-php70
    dnf update -y
    

    Then reinstall fog.

    Fedora 24:

    dnf remove php* -y
    dnf clean all
    dnf install http://rpms.remirepo.net/fedora/remi-release-24.rpm
    dnf config-manager --set-enabled remi-php70
    dnf update -y
    

    Then reinstall fog.

    FYI, you can get these yourself with remi’s configuration wizard:
    http://rpms.remirepo.net/wizard/



  • [root@fogtrunk error_logs]# vi fog_error_1.3.0-RC-4.log
    /usr/bin/dnr
    r: Unknown repo: 'remi'
    package remi-release-23 is not installed
    warning: /var/tmp/rpm-tmp.LXiXIg: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
    Retrieving http://rpms.remirepo.net/fedora/remi-release-23.rpm
    Preparing...                          ########################################
    Updating / installing...
    remi-release-23-4.fc23.remi           ########################################
    Last metadata expiration check: 0:00:01 ago on Thu Jul 28 14:58:37 2016.
    curl-7.43.0-7.fc23.x86_64
    package gcc is not installed
    Last metadata expiration check: 0:00:05 ago on Thu Jul 28 14:58:37 2016.
    Available Packages
    gcc.i686                           5.3.1-6.fc23                          updates
    gcc.x86_64                         5.3.1-6.fc23                          updates
    Last metadata expiration check: 0:00:06 ago on Thu Jul 28 14:58:37 2016.
    Dependencies resolved.
    ================================================================================
     Package               Arch          Version               Repository      Size
    ================================================================================
    Installing:
     cpp                   x86_64        5.3.1-6.fc23          updates        8.3 M
     gcc                   x86_64        5.3.1-6.fc23          updates         19 M
     glibc-devel           x86_64        2.22-17.fc23          updates        913 k
     glibc-headers         x86_64        2.22-17.fc23          updates        496 k
     isl                   x86_64        0.14-4.fc23           fedora         490 k
     kernel-headers        x86_64        4.6.4-201.fc23        updates        1.0 M
     libmpc                x86_64        1.0.2-4.fc23          fedora          55 k
     mpfr                  x86_64        3.1.3-2.fc23          updates        214 k
    
    Transaction Summary
    

    Mod edited to use code box.


  • Moderator

    @kentucky_smith I think the remi repo may be failing to install. What’s inside of /root/git/fogproject/bin/error_log ? Should be a file in there, we would need that. Please copy/paste. We especially need the last part of the file.




  • Moderator

    are you trying to set a db password?


Log in to reply
 

350
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.