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

    FOG with ubuntu server 14.04 - my experience

    Scheduled Pinned Locked Moved
    General
    5
    12
    4.0k
    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.
    • R
      robin-masters
      last edited by robin-masters

      Greetings,

      at first fog is a create bunch of tools and many thanks to the developers and supporters.

      For testing i use a dell power edge r710 with a hardware certified ubuntu 14.04 Edition… 😉
      I use dnsmasq for pxe delivery no dhcp, dns and so on.
      My first problem was the Installation script of the fog 1.2.0 . It seems not install mysql-server correctly because after every reboot of the system the mysql server is down or it dont running correct (dont listen on the internal port) and when i try to login to SQL with mysql -u root -p the message “ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)” appears.
      Web-Interface of Fog don`t work too.

      I found the solution here:
      http://ubuntuforums.org/showthread.php?t=804021

      It helps to reinstall mysql-server with apt-get:
      sudo apt-get remove mysql-server libapache2-mod-auth-mysql php5-mysql
      sudo apt-get autoremove
      sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

      A next Problem was the symlink for the undionly.kpxe
      https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server

      It dont work for me but with cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it`s okay…

      Now it works generally… ^^

      improvement suggestions:

      • german translation is gruesome 😉 (but my english too - but the webinterface is better to understand in english then in german)
      • possibility to delete more marked Hosts in the host list.
        (as a workaround and for more comfort i have phpmyadmin installed)
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Ubuntu and mysql is a well known problem.

        I even have an issue and a potential solution for fixing it sitting here:

        https://github.com/fogproject/fogproject/issues/1

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          As you’re using DNSMASQ in a Proxy setup ( I imagine ) you’re absolutely correct that you need to either make a copy or link to undionly.0 (or whatever filename you’ve specified in the dnsmasq.conf file.)

          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

          R 1 Reply Last reply Reply Quote 0
          • R
            robin-masters @Tom Elliott
            last edited by

            @Tom-Elliott Yes it`s correct i use dnsmasq only with a proxy setup. Like i said a symlink to undionly.0 seems dont work … but a copy… seems illogical, eventually i have misspelled but i copy the line from the manual 😉
            ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
            After that a PXE boot was not possible it cant find the file. With cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it works…

            Wayne WorkmanW ch3iC 2 Replies Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @robin-masters
              last edited by

              @robin-masters Symbolic links have never worked for me in Fedora. I’ve always had to make a copy.

              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/

              1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @robin-masters
                last edited by

                @robin-masters said:

                @Tom-Elliott Yes it`s correct i use dnsmasq only with a proxy setup. Like i said a symlink to undionly.0 seems dont work … but a copy… seems illogical, eventually i have misspelled but i copy the line from the manual 😉
                ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
                After that a PXE boot was not possible it cant find the file. With cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it works…

                Hi, try relative link instead absolute.

                ln -s undionly.kpxe undionly.0
                
                R 1 Reply Last reply Reply Quote 0
                • R
                  robin-masters @ch3i
                  last edited by

                  @ch3i

                  Hey lol it works… tried before again with ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0 and it definitively dont work.

                  ln -s undionly.kpxe undionly.0 works now… oO

                  Tried pxe boot from Dell Optiplex 790 and 7010

                  ch3iC 1 Reply Last reply Reply Quote 2
                  • ch3iC
                    ch3i Moderator @robin-masters
                    last edited by

                    @robin-masters said:

                    @ch3i

                    Hey lol it works… tried before again with ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0 and it definitively dont work.

                    ln -s undionly.kpxe undionly.0 works now… oO

                    Tried pxe boot from Dell Optiplex 790 and 7010

                    👏

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      robin-masters @ch3i
                      last edited by

                      @ch3i

                      Thx…for this.

                      Who maintained this page?https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverundefined

                      Under the text: "Make a symlink for the undionly.kpxe file so dnsmasq can find it. " eventually it`s better to use here the relative link it should work for all systems?

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @robin-masters
                        last edited by

                        @robin-masters said:

                        @ch3i

                        Thx…for this.

                        Who maintained this page?https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverundefined

                        Under the text: "Make a symlink for the undionly.kpxe file so dnsmasq can find it. " eventually it`s better to use here the relative link it should work for all systems?

                        @Wayne-Workman , it’s for you.

                        It’s work for all system, I think it’s a tftpd server limitation.

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

                          @ch3i fixed.

                          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/

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

                            @ch3i said:

                            I think it’s a tftpd server limitation.

                            I guess this is for security reasons. tftpd is not allowed to leave the “cage” of /tftpboot … not even to follow a symlink back into the cage. “Keep it local”.

                            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
                            • 1 / 1
                            • First post
                              Last post

                            156

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project