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

    Fog on Fedora 20

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    22
    9.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.
    • K
      Kronkras
      last edited by

      I just checked SElinux, Although I’m setting SELINUX=disable in /etc/selinux/config, when I run [I]$ /usr/sbin/sestatus[/I] it says that is enable, any toughs?

      [SIZE=6]From /etc/selinux/config folder:[/SIZE]

      [I]# This file controls the state of SELinux on the system.[/I]
      [I]# SELINUXTYPE= can take one of these two values:[/I]
      [I]# targeted - Targeted processes are protected,[/I]
      [I]# minimum - Modification of targeted policy. Only selected processes are protected. [/I]
      [I]# mls - Multi Level Security protection.[/I]
      [I]SELINUXTYPE=targeted[/I]

      [SIZE=6][B]From terminal:[/B][/SIZE]

      [root@10-21-0-110-ccca-internal Admin]# /usr/sbin/sestatus
      SELinux status: enabled
      SELinuxfs mount: /sys/fs/selinux
      SELinux root directory: /etc/selinux
      Loaded policy name: targeted
      Current mode: enforcing
      Mode from config file: error (Success)
      Policy MLS status: enabled
      Policy deny_unknown status: allowed
      Max kernel policy version: 28
      [root@10-21-0-110-ccca-internal Admin]#

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

        [code]/etc/selinux/config[/code]

        Disable the line in there.

        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
        • K
          Kronkras
          last edited by

          It is disabled but I still getting an enable status

          This file controls the state of SELinux on the system.

          SELINUX= can take one of these three values:

          enforcing - SELinux security policy is enforced.

          permissive - SELinux prints warnings instead of enforcing.

          disabled - No SELinux policy is loaded.

          SELINUX=disable

          SELINUXTYPE= can take one of these two values:

          targeted - Targeted processes are protected,

          minimum - Modification of targeted policy. Only selected processes are protected.

          mls - Multi Level Security protection.

          SELINUXTYPE=targeted

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

            Did you reboot?

            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
            • K
              Kronkras
              last edited by

              [quote=“Tom Elliott, post: 34551, member: 7271”]Did you reboot?[/quote]

              Yes

              1 Reply Last reply Reply Quote 0
              • K
                Kronkras
                last edited by

                Ok, so I figured out why I was not able to disable selinux, I was missing a D (disable[B]d[/B]). Now is disabled but I’m still unable to reach the website.
                Thasnks

                1 Reply Last reply Reply Quote 0
                • M
                  madskillz23
                  last edited by

                  [quote=“Kronkras, post: 34554, member: 25243”]Ok, so I figured out why I was not able to disable selinux, I was missing a D (disable[B]d[/B]). Now is disabled but I’m still unable to reach the website.
                  Thasnks[/quote]

                  Firewall issue. systemctl stop firewalld.service && systemctl disable firewalld.service

                  That should do it.

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kronkras
                    last edited by

                    [quote=“madskillz23, post: 34557, member: 8206”]Firewall issue. systemctl stop firewalld.service && systemctl disable firewalld.service

                    That should do it.[/quote]

                    That did the trick.

                    I’ll still to test the system, register, upload an image, and deploy unicasts and multicast. I’ll update with the results.

                    Thanks guys!

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wolfbane8653 Developer
                      last edited by

                      [url]http://fogproject.org/wiki/index.php/Tftp_timeout[/url]…

                      Added Fedora 20 section and added the suggested line of “systemctl stop firewalld.service && systemctl disable firewalld.service”

                      1 Reply Last reply Reply Quote 0
                      • M
                        madskillz23
                        last edited by

                        [quote=“Kronkras, post: 34559, member: 25243”]That did the trick.

                        I’ll still to test the system, register, upload an image, and deploy unicasts and multicast. I’ll update with the results.

                        Thanks guys![/quote]

                        I’m on CentOS 7 (similar architecture to Fedora 20) and haven’t been able to get image upload working properly yet. Best of luck.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kronkras
                          last edited by

                          [quote=“madskillz23, post: 34563, member: 8206”]I’m on CentOS 7 (similar architecture to Fedora 20) and haven’t been able to get image upload working properly yet. Best of luck.[/quote]

                          Oh well, as you predicted, is not working.

                          • Mounting File System …mount: mounting 10.##.#.###:/images/dev/ on /images failed: Operation not supported

                          Any toughs?

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kronkras
                            last edited by

                            [quote=“Tom Elliott, post: 34544, member: 7271”]If you got an error, how did everything install “just fine”?

                            I realize it didn’t fall out of the installer, but are you also aware we’ve stopped official support for Fedora specifically because we can’t keep up with all of the change’s?[/quote]

                            What OS would you suggest?

                            1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer
                              last edited by

                              Ubuntu 10.04, 12.04, 13.10
                              CentOS 6.4,6.5 (assumed RHEL of same versions)
                              Earlier than Fedora 19
                              Debian 7.4, 7.5

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              1 Reply Last reply Reply Quote 0
                              • A
                                a1adam12
                                last edited by

                                I have (technically had since I’ve now upgraded) FOG up and running on Fedora 20 without any issues. Took some customizing, but figured it out. I posted a help guide on this thread:

                                [url]http://fogproject.org/forum/threads/using-0-32-with-fedora-20.10141/[/url]

                                Hopefully it can help you out.

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kronkras
                                  last edited by

                                  [quote=“a1adam12, post: 35043, member: 22878”]I have (technically had since I’ve now upgraded) FOG up and running on Fedora 20 without any issues. Took some customizing, but figured it out. I posted a help guide on this thread:

                                  [url]http://fogproject.org/forum/threads/using-0-32-with-fedora-20.10141/[/url]

                                  Hopefully it can help you out.[/quote]

                                  Hello a1adam12,

                                  Thanks for your replied, I was able to pass the error message stated before and able to almost upload an image. The only problem is that when it finish to upload the image FOGFTP failed to connect. I verified TFTP and node have the same username and password as well as the IP.

                                  Thank you

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

                                    [quote=“Kronkras, post: 35064, member: 25243”]Hello a1adam12,

                                    Thanks for your replied, I was able to pass the error message stated before and able to almost upload an image. The only problem is that when it finish to upload the image FOGFTP failed to connect. I verified TFTP and node have the same username and password as well as the IP.

                                    Thank you[/quote]

                                    What version of vsftpd do you have? If it’s > 3.1 (i think that’s it) then try adding:
                                    [code]seccomp_sandbox=NO[/code] To the /etc/vsftpd.conf file and restart with:[code]service vsftpd restart[/code]

                                    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
                                    • A
                                      a1adam12
                                      last edited by

                                      Checking my server, I’m running vsftp version 3.0.2-6.

                                      Here’s what my vsftp.conf file looks like:

                                      anonymous_enable=NO
                                      local_enable=YES
                                      write_enable=YES
                                      local_umask=022
                                      dirmessage_enable=YES
                                      xferlog_enable=YES
                                      connect_from_port_20=YES
                                      xferlog_std_format=YES
                                      listen=YES
                                      pam_service_name=vsftpd
                                      userlist_enable=NO
                                      tcp_wrappers=YES


                                      The only other things I can think of are:
                                      [LIST]
                                      []to make sure the vsftp service is enabled, not just running, so that when you reboot your server it starts automatically
                                      [
                                      ]make sure the username and password are correct, not only under the FOG settings of the web interface, but also under Storage Management and in the your …/fog/comons/config.php file
                                      [LIST]
                                      []in the config.php file, make sure the TFTP and STORAGE FTP username and password (the password may be encrypted) are set to your values
                                      [/LIST]
                                      [
                                      ]if your firewall is on, make the appropriate exceptions for vsftp, or you can disable it completely
                                      [/LIST]
                                      Hope that helps.

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

                                      232

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project