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

    Updating DataBase Failed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    14
    2.4k
    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.
    • Z
      zago123
      last edited by zago123

      0_1508923489519_35c03dde-3dbb-4dd7-b456-0124da634dde.jpg

      @Sebastian-Roth this error

      rules iptables maybe ? to cause this error?

      Version Fog : 1.4.4
      Ubuntu - Server 17

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

        Interesting one I haven’t seen I think. Probably we need @Tom-Elliott to have a look.

        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

          Please get us the apache error logs and access logs while this error is happening. Last time this happened, it was because somebody had forgotten to turn of SELinux. This time, however, it’s ubuntu so I don’t know.

          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

          Z 1 Reply Last reply Reply Quote 0
          • Z
            zago123 @Tom Elliott
            last edited by

            @tom-elliott

            rules firewall maybe?

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @zago123
              last edited by

              @zago123 Do you have the ubuntu firewall enabled? sudo ufw status will tell you if its enabled.

              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!

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zago123 @george1421
                last edited by

                @george1421

                I was able to resolve it by disabling my firewall, which port does the fog ftp use for me to be able to free on my firewall?

                george1421G 1 Reply Last reply Reply Quote 0
                • Z
                  zago123
                  last edited by

                  guys,

                  I was able to resolve it by disabling my firewall, which port does the fog ftp use for me to be able to free on my firewall?

                  1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @zago123
                    last edited by

                    @zago123 Managing firewall rules are going to be a bit trick especially since NFS is not really firewall friendly. But to answer your question one of the developers worked on a thread a while ago. This thread has the answers you seed: https://forums.fogproject.org/topic/6162/firewall-configuration

                    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!

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      zago123 @george1421
                      last edited by zago123

                      @george1421

                      error firewall : this directory no exist

                      echo “IPTABLES_MODULES=“nf_conntract_tftp nf_conntrack_ftp nf_conntrack_netbios_ns”” >> /etc/sysconfig/iptables-config

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

                        @zago123 FTP is port 21.

                        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

                        george1421G 1 Reply Last reply Reply Quote 0
                        • Z
                          zago123
                          last edited by

                          thanks guys.

                          1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @Tom Elliott
                            last edited by

                            @tom-elliott said in Updating DataBase Failed:

                            @zago123 FTP is port 21.

                            To add to what Tom posted, FTP actually uses 2 communications ports. From the fog server to the target (command channel) and then from the target back to the fog server (data channel). So ports 20 and 21 are used for a fully ftp connection.

                            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!

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

                            263

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project