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

    REFInd-Initializing - hangs

    Scheduled Pinned Locked Moved
    FOG Problems
    7
    42
    9.5k
    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.
    • T
      Trev-lchs @george1421
      last edited by

      @george1421 Thanks George that’s very helpful.

      1 Reply Last reply Reply Quote 0
      • T
        Trev-lchs @george1421
        last edited by

        @george1421 Hi George,Ii have extracted the zip renamed the old one on fog, about to copy over but the filenames in the extracted zip does not contain refind.efi however is does contain
        Refind_ia32.efi
        refind_aa64.efi
        refind_x64.efi
        I suppose that’s 32 bit, arm64 and X64, I thought about changing Refind_x64 to refind.efi, however I have no idea how fog makes this decision so don’t want to do the wrong thing, could you please advise?

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @Trev-lchs Right, unfortunately we didn’t use the original name. Rename refind_x64.efi to refind.efi and give it a try.

          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

          T 2 Replies Last reply Reply Quote 0
          • T
            Trev-lchs @Sebastian Roth
            last edited by

            @sebastian-roth Thanks Sebastian

            1 Reply Last reply Reply Quote 0
            • T
              Trev-lchs @Sebastian Roth
              last edited by

              @sebastian-roth Hi Sebastian, , Permission denied.
              Error code: 3
              Error message from server: Permission denied

              this when attempting to copy from local PC to server using winscp
              I am obviously doing something wrong, any advice would be truly welcome.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @Trev-lchs Which Linux OS do you use?

                Run chown apache:apache /var/www/html/fog/service/ipxe/refind.efi for RedHat/CentOS systems or chown www-data:www-data /var/www/html/fog/service/ipxe/refind.efi on Debian/Ubuntu Linux.

                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

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @Trev-lchs Ahhh, I miss-read your message. You get the error when trying to upload the file to the server?! Which user do you use to upload the file? Maybe just upload the file to /tmp and then run the following commands on the console:

                  sudo -i
                  mv /var/www/html/fog/service/ipxe/refind.efi /var/www/html/fog/service/ipxe/refind.efi.orig
                  mv /tmp/refind.efi /var/www/html/fog/service/ipxe/
                  chown www-data:www-data /var/www/html/fog/service/ipxe/refind.efi
                  

                  (For Debian/Ubuntu - if you have CentOS/RHEL, then use the other chown ... command posted a minute ago.

                  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

                  T 6 Replies Last reply Reply Quote 0
                  • T
                    Trev-lchs @Sebastian Roth
                    last edited by Sebastian Roth

                    @sebastian-rothHi Sebastian I thought id take your advise and upgrade to the latest version of fog, I think the gods are against me today any advice on the below would be most welcome

                      The current *fogstorage* database password does not meet high
                       security standards. We will generate a new password and update
                       all the settings on this FOG server for you. Please take note
                       of the following credentials that you need to manually update
                       on all your storage nodes' /opt/fog/.fogsettings configuration
                       files and re-run (!) the FOG installer:
                       
                       Press [Enter] to proceed after you noted down the credentials.
                    
                    OK
                     * Backing up user reports.....................................Done
                     * Stopping web service........................................OK
                     * Setting up Apache and PHP files.............................Failed
                       ###########################################
                       #                                         #
                       #      PHP Failed to install properly     #
                       #                                         #
                       ###########################################
                    
                       Could not find /etc/php/7.1/fpm/php.ini!
                    
                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Trev-lchs @Trev-lchs
                      last edited by

                      @trev-lchs rerunning the installer in a vain hope, pray for me

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @Trev-lchs Which Linux OS and version do you have? Kind of looks like Ubuntu 16.04?!?!?!

                        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

                        T 2 Replies Last reply Reply Quote 0
                        • T
                          Trev-lchs @Sebastian Roth
                          last edited by Trev-lchs

                          @sebastian-roth Yes I do believe that’s correct Sabastian
                          NAME=“Ubuntu”
                          VERSION=“16.04.7 LTS (Xenial Xerus)”
                          ID=ubuntu
                          ID_LIKE=debian
                          PRETTY_NAME=“Ubuntu 16.04.7 LTS”
                          VERSION_ID=“16.04”
                          HOME_URL=“http://www.ubuntu.com/”
                          SUPPORT_URL=“http://help.ubuntu.com/”
                          BUG_REPORT_URL=“http://bugs.launchpad.net/ubuntu/”
                          VERSION_CODENAME=xenial
                          UBUNTU_CODENAME=xenial

                          1 Reply Last reply Reply Quote 0
                          • T
                            Trev-lchs @Sebastian Roth
                            last edited by

                            @sebastian-roth Hi Sabastian, installer fails at the same place. fog a bit dead now

                            1 Reply Last reply Reply Quote 0
                            • T
                              Trev-lchs @Sebastian Roth
                              last edited by

                              @sebastian-roth Hi Sabastian, thank you so much for the save with fog, it is now back up and I am happy to say we still have the refind issue, happy I can be at that point. On testing it is just saying Chainloading failed , hit S. Should I still rename the file refind_x64.efi to refind.efi and copy that over. I am using the user I would normal use to log into the server with, then I run sudo -s to allow me to do things, the Winscp has the user details that I would normally log into the server with but I guess without sudo -s bit, it wont be able to do anything?

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                Trev-lchs @Trev-lchs
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • T
                                  Trev-lchs @Sebastian Roth
                                  last edited by Trev-lchs

                                  @sebastian-roth I have now carried out everything you have listed and still have the same error with refind Chain loading failed hit s. As this is a new version of fog I will check all the other exit types, you never know!

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Trev-lchs @Sebastian Roth
                                    last edited by

                                    @sebastian-roth Not sure if you get any of the donations but if you do, have a beer on me

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Trev-lchs @Sebastian Roth
                                      last edited by Trev-lchs

                                      @sebastian-roth having now tried all the various options of exit in the latest version of FOG I have had no luck, this is with the rEFInd.efi renamed and the latest X64 REFInd file copied over it (0132) and named rEFInd.efi. Should I now revert everything back to standard? Any advice as always gratefully accepted. To note, once it was using the REFInd exit version (the 0132 one) it still hung at initializing

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Trev-lchs @Sebastian Roth
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by

                                          @trev-lchs said in REFInd-Initializing - hangs:

                                          having now tried all the various options of exit in the latest version of FOG I have had no luck, this is with the rEFInd.efi renamed and the latest X64 REFInd file copied over it (0132) and named rEFInd.efi.

                                          The case of the filenames do actually matter on Linux systems!! Not sure but that could be the problem now.

                                          Beside that it’s very hard to help without knowing what exactly has been done. Maybe run the following commands and post output here so we know what it looks like at the moment:

                                          ls -al /var/www/
                                          ls -al /var/www/html/
                                          ls -al /var/www/html/fog/service/ipxe/
                                          

                                          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

                                          T 2 Replies Last reply Reply Quote 0
                                          • T
                                            Trev-lchs @Sebastian Roth
                                            last edited by Sebastian Roth

                                            @sebastian-roth HI Sabastian
                                            please see below

                                            root@fog-03:~# ls -al /var/www/
                                            total 20
                                            drwxr-xr-x  4 root     root     4096 Jul 23 14:23 .
                                            drwxr-xr-x 16 root     root     4096 Dec  1  2016 ..
                                            drwxr-xr-x 10 www-data www-data 4096 Jul 23 14:25 fog
                                            drwxr-xr-x  2 root     root     4096 Jul 23 10:00 html
                                            -rw-r--r--  1 www-data www-data   52 Jul 23 14:23 index.php
                                            
                                            root@fog-03:~# ls -al /var/www/html/
                                            total 20
                                            drwxr-xr-x 2 root root  4096 Jul 23 10:00 .
                                            drwxr-xr-x 4 root root  4096 Jul 23 14:23 ..
                                            lrwxrwxrwx 1 root root    13 Dec  1  2016 fog -> /var/www/fog/
                                            -rw-r--r-- 1 root root 11321 Jul 23 10:00 index.html
                                            
                                            root@fog-03:~# ls -al /var/www/html//fog/service/ipxe/
                                            total 59412
                                            drwxr-xr-x 3 fogproject www-data       4096 Jul 23 16:09 .
                                            drwxr-xr-x 3 www-data   www-data       4096 Jul 23 14:23 ..
                                            -rw-r--r-- 1 fogproject www-data       1966 Jul 23 14:23 advanced.php
                                            drwxr-xr-x 2 fogproject fogproject     4096 Jul 23 16:09 backup
                                            -rw-r--r-- 1 fogproject www-data      16272 Jul 23 14:23 bgdark.png
                                            -rw-r--r-- 1 fogproject www-data      21280 Jul 23 14:23 bg.png
                                            -rw-r--r-- 1 fogproject www-data       1139 Jul 23 14:23 boot.php
                                            -rwxr-xr-x 1 fogproject fogproject  8950400 Jul 23 16:09 bzImage
                                            -rw-r--r-- 1 fogproject www-data    8398784 Jul 23 14:24 bzImage32
                                            -rw-r--r-- 1 fogproject www-data     234697 Jul 23 14:23 grub.exe
                                            -rw-r--r-- 1 fogproject www-data        592 Jul 23 14:23 index.php
                                            -rw-r--r-- 1 fogproject www-data   20591048 Jul 23 14:24 init_32.xz
                                            -rw-r--r-- 1 fogproject www-data   21178512 Jul 23 14:24 init.xz
                                            -rw-r--r-- 1 fogproject www-data      25340 Jul 23 14:23 memdisk
                                            -rw-r--r-- 1 fogproject www-data    1839104 Jul 23 14:23 memtest.bin
                                            -rw-rw-r-- 1 www-data   www-data     254216 Jul 23 07:46 refind2.efi
                                            -rw-r--r-- 1 fogproject www-data     202624 Jul 23 14:23 refind_aa64.efi
                                            -rw-r--r-- 1 fogproject www-data      29719 Jul 23 14:23 refind.conf
                                            -rw-r--r-- 1 fogproject www-data     262592 Jul 23 14:23 refind.efi
                                            -rw-r--r-- 1 fogproject www-data     201600 Jul 23 14:23 refind_ia32.efi
                                            -rw-r--r-- 1 fogproject www-data     208776 Jul 23 14:23 refind_x64.efi
                                            

                                            Hope this is what you wanted, as always thanks for your help.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post

                                            166

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project