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

Can't upload new snapins - FTP issue

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
579
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.
  • A
    anthonyhull
    last edited by anthonyhull Oct 4, 2018, 4:11 AM Sep 28, 2018, 10:39 AM

    Hi Team,
    I’ve got FOG installed in SUSE 12 SP3 but I can’t add a snap in.

    Type: 8, File: /srv/www/htdocs/fog/lib/fog/fogcontroller.class.php, Line: 975, Message: Undefined offset: 3, Host: xx.xx.xx.81, Username: fog
    

    That error pops up when I click add.
    The password for the fog local user should be correct and configured correctly in the web panel settings.

    We had to change the location of a few of the config files in the install script and account for the user and group of the apache2 user being different.

    I’ve attached the logs of the installer.

    0_1538130753521_fog php and apache modules.txt

    0_1538131033913_fog_error_1.5.4.log
    0_1538131002516_foginstall.log

    1 Reply Last reply Reply Quote 0
    • A
      anthonyhull
      last edited by anthonyhull Oct 4, 2018, 3:36 AM Oct 4, 2018, 9:33 AM

      I’ve found the issue and the resolution:
      https://bugzilla.redhat.com/show_bug.cgi?id=1582672
      support for TCP wrappers isn’t compiled in vsftp binaries found in SLES and Redhat.

      The installer must be modified to not output tcp_wrappers into the vsftpd.conf
      This has resolved this issue in SLES.
      I’m guessing ntcp_wrappers=$tcpwrappers\n$seccompsand is configured to output disabled if certain versions redhat? but that didn’t trigger for SLES

      Thanks very much for your help @Sebastian-Roth

      1 Reply Last reply Reply Quote 1
      • S
        Sebastian Roth Moderator
        last edited by Sep 29, 2018, 10:52 PM

        @anthonyhull Most issues we see with this kind of error message are due to SElinux interfering (don’t think this is enabled by default on SUSE?!) or firewall rules. Make sure to allow all traffic on the loopback interface!!

        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
          anthonyhull
          last edited by Oct 2, 2018, 12:44 PM

          Thanks for replying.

          I can’t see any evidence Selinux is running:
          0_1538478111320_processesWithoutSelinux.txt

          also I’ve not configured any firewall at this time:
          12030053:~> sudo /usr/sbin/iptables -L
          Chain INPUT (policy ACCEPT)
          target prot opt source destination

          Chain FORWARD (policy ACCEPT)
          target prot opt source destination

          Chain OUTPUT (policy ACCEPT)
          target prot opt source destination

          At this moment of adding the snap in, what network services is is trying to use?

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Oct 2, 2018, 4:08 PM

            @anthonyhull said in Can't upload new snapins:

            At this moment of adding the snap in, what network services is is trying to use?

            FTP, here are instructions on how to test if it is working properly: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

            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
              anthonyhull
              last edited by anthonyhull Oct 4, 2018, 3:36 AM Oct 4, 2018, 9:33 AM

              I’ve found the issue and the resolution:
              https://bugzilla.redhat.com/show_bug.cgi?id=1582672
              support for TCP wrappers isn’t compiled in vsftp binaries found in SLES and Redhat.

              The installer must be modified to not output tcp_wrappers into the vsftpd.conf
              This has resolved this issue in SLES.
              I’m guessing ntcp_wrappers=$tcpwrappers\n$seccompsand is configured to output disabled if certain versions redhat? but that didn’t trigger for SLES

              Thanks very much for your help @Sebastian-Roth

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              1 / 1
              • First post
                4/5
                Last post

              172

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project