• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Storage nodes failing at creating ssl certificate SVN 6505 and 6507

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    16
    4.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott @Hanz
      last edited by

      @Hanz I only ask because I see bcs on the screen.

      I do try to ensure sudo is running during install, however sudo does not mean you can automatically run all commands.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      H 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Can you get say the last 10-15 lines of the current error file for install?

        The create ssl certificate function hasn’t changed so if it worked before it should work now.

        Is it also possible the disk space is full and simply can’t create the csr?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        H 2 Replies Last reply Reply Quote 0
        • H
          Hanz @Tom Elliott
          last edited by Hanz

          @Tom-Elliott it’s a scripted install with sudo ./installfog.sh -y so I can know every node is done the same, and with all fedora updates first

          1 Reply Last reply Reply Quote 0
          • H
            Hanz @Tom Elliott
            last edited by Hanz

            @Tom-Elliott

            /bin/lsb_release
            /bin/systemctl
            /bin/dnf
            ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysql.service’: File exists
            ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysqld.service’: File exists
            ln: failed to create symbolic link ‘/etc/systemd/system/mysql.service’: File exists
            ln: failed to create symbolic link ‘/etc/systemd/system/mysqld.service’: File exists
            /opt/fog/.fogsettings
            Last metadata expiration check performed 0:08:35 ago on Mon Feb 29 18:33:09 2016.
            No package epel-release available.
            Error: Unable to find a match.
            package http://rpms.remirepo.net/fedora/remi-release-22.rpm is not installed
            Last metadata expiration check performed 0:08:36 ago on Mon Feb 29 18:33:09 2016.
            Package remi-release-22-3.fc22.remi.noarch is already installed, skipping.
            Dependencies resolved.
            Nothing to do.
            Complete!
            Last metadata expiration check performed 0:08:37 ago on Mon Feb 29 18:33:09 2016.
            Last metadata expiration check performed 0:08:38 ago on Mon Feb 29 18:33:09 2016.
            Dependencies resolved.
            Nothing to do.
            Complete!
            /opt/fog/snapins/ssl//fog.csr: No such file or directory
            

            This is actually from 6509 now, but same as 6505 & 6507

            H 1 Reply Last reply Reply Quote 0
            • H
              Hanz @Tom Elliott
              last edited by

              @Tom-Elliott space is plenty

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by Wayne Workman

                Double forward slashes?

                /opt/fog/snapins/ssl//fog.csr: No such file or directory
                

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                H 1 Reply Last reply Reply Quote 0
                • H
                  Hanz @Wayne Workman
                  last edited by

                  @Wayne-Workman lol I’ve tried removing that ssl path line from .fogsettings too @Wayne-Workman

                  1 Reply Last reply Reply Quote 0
                  • H
                    Hanz @Hanz
                    last edited by

                    @Hanz This can be closed…I removed /var/www/fog, and /opt/fog, and userdel fog…Re-ran installer and it went through on 6511.

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Hanz
                      last edited by

                      @Hanz If possible, can you try to re-replicate the issue so we may maybe make a more proper fix for the issue?

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Hanz @Tom Elliott
                        last edited by

                        @Tom-Elliott apart from doing the update to 6505 I’m not sure what could’ve happened. I did the exact same procedure to other nodes that failed, and they created the CA just fine. I honestly wouldn’t really know how to re-create this, but if you give me some suggestions I will try them.

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          Hanz @Hanz
                          last edited by

                          @Tom-Elliott After looking at my .fogsettings file I’ve noticed that all the " have been replaced with ’ and without any “;” at the end of the lines.

                          ## Start of FOG Settings
                          ## Created by the FOG Installer
                          ## Version: 6513
                          ## Install time: Tue 01 Mar 2016 08:12:13 AM EST
                          ipaddress='10.72.216.50'
                          interface='enp0s25'
                          submask='255.255.252.0'
                          routeraddress=''
                          plainrouter=''
                          dnsaddress=''
                          dnsbootimage=''
                          password='5N9FeRCq5ySs'
                          osid='1'
                          osname='Redhat'
                          dodhcp=''
                          bldhcp=''
                          blexports='1'
                          installtype='S'
                          snmysqluser='fogstorage'
                          snmysqlpass='fs9694191133'
                          snmysqlhost='10.72.3.50'
                          installlang=''
                          donate=''
                          storageLocation='/images'
                          fogupdateloaded=1
                          storageftpuser='fog'
                          storageftppass='5N9FeRCq5ySs'
                          docroot='/var/www/html/'
                          webroot='fog/'
                          caCreated='yes'
                          startrange=''
                          endrange=''
                          
                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @Hanz
                            last edited by

                            @Hanz The ; has nothing to do with it. I had it there from old times only because it was familiarity between switching different languages. Bash scripts (as this is kind of related) don’t require a ; to end the line.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              Hanz @Tom Elliott
                              last edited by Hanz

                              @Tom-Elliott Installation worked, but I’m getting

                              Type: 2, File:/var/www/html/fog/lib/fog/fogftp.class.php, Line:104, Message: ftp_login():Login incorrect.
                              

                              This is what I see for both nodes when going into log viewer.

                              I checked the .fogsettings file and password in GUI under storage mgmt with no luck.

                              UPDATE– Nevermind I forgot to change the password for the fog user as well.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              • First post
                                Last post

                              217

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project