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

    Latest git fails during install on arch linux

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    4
    19
    3.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.
    • S
      Sebastian Roth Moderator
      last edited by

      @ttjrm1 Which shell are you using on arch? echo $SHELL Usually people have zsh on arch but zsh should be able to handle the += syntax. Or maybe I am sitting on my eyes and don’t really see where the error lies.

      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

      Tom ElliottT T 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Sebastian Roth
        last edited by

        @Sebastian-Roth I don’t think that’d matter as I’m forcing all scripts with #!/bin/bash

        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

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

          @Tom-Elliott Well if /bin/bash is just linking to e.g. /bin/dash (don’t laugh!! This is/was true in Ubuntu!)

          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

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • T
            ttjrm1
            last edited by

            Hi Tom, yes I am using FOG as the DHCP server

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

              @Sebastian-Roth Oh I do understand, but in either case, it would be causing issues anyway.

              That all said, the OP’s issue is related to the new function written by @Wayne-Workman . I haven’t adjusted the installer to add to the addresses properly yet but I will now.

              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

              1 Reply Last reply Reply Quote 1
              • T
                ttjrm1 @Sebastian Roth
                last edited by

                @Sebastian-Roth echo $SHELL returns /bin/bash

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

                  Seams like Tom has found an issue. He knows the code heaps better than I do! But you can still see if /bin/bash is really a binary or just a link file /bin/bash and ls -al /bin/bash…

                  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

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

                    @Sebastian-Roth the function can easily be re-written to not use +=

                    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/

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      ttjrm1 @Wayne Workman
                      last edited by

                      Thank you all for assistance. I have downloaded the latest git (6068) but unfortunately I am unable to get passed the setting up the DHCP server:

                      0_1453552201286_dhcp.png

                      The error_log does not state any issues. dhcp.conf does exist in /etc/

                      0_1453552424006_etc.png

                      Thank you in advance

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

                        @ttjrm1 Can you please re-update and try again? I think I found the issue and hopefully we can get somewhere now.

                        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

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          ttjrm1 @Tom Elliott
                          last edited by

                          @Tom-Elliott Just updated as requested. I also removed all dhcp files in etc. Unfortunately install fails at the same place. It would appear that the install script moves the dhcp.conf file instead of copying/backing up the old file before trying to make changes.

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

                            @ttjrm1 Thanks for the info. I see that was indeed what was happening and am now just copying the file, not moving it. Maybe now it will work?

                            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

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              ttjrm1 @Tom Elliott
                              last edited by

                              @Tom-Elliott Your welcome. I see your script is trying to start dhcpd.service. On Arch linux the correct service would be dhcpd4.service, they have split IPv4 & v6 into 2 different service files.

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

                                @ttjrm1 Updated config to allow for dhcpd4. Thanks again.

                                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

                                T 1 Reply Last reply Reply Quote 1
                                • T
                                  ttjrm1 @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Thank you again Tom. The installer script successfully completes. All appears to be running, now to test.

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

                                  191

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.4k

                                  Posts
                                  Copyright © 2012-2024 FOG Project