• 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.2k
    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 See here: http://stackoverflow.com/questions/20408943/fatal-error-call-to-undefined-function

      You need the gettext PHP module. See how you can install and activate this in arch 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 1
      • T
        ttjrm1
        last edited by

        Thank you Sebastian. I was able to activate gettext for php by uncommenting the appropriate line in /etc/php/php.ini. This now allows me to view the web pages.

        Unfortunately I post schema update the install appears to fail again with the following:

        0_1453414499156_new.png

        I have dhcpd installed through the install script but I am a bit stumped how to rectify this. dhcpd.conf exists in /etc/.

        Thank you

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

          @ttjrm1 this is the new function of the dhcp server. I’m guessing you are using FOG as the DHCP server?

          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

            @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

                                        168

                                        Online

                                        12.2k

                                        Users

                                        17.3k

                                        Topics

                                        155.5k

                                        Posts
                                        Copyright © 2012-2024 FOG Project