Can't upload new snapins - FTP issue
-
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 -
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 SLESThanks very much for your help @Sebastian-Roth
-
@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!!
-
Thanks for replying.
I can’t see any evidence Selinux is running:
0_1538478111320_processesWithoutSelinux.txtalso I’ve not configured any firewall at this time:
12030053:~> sudo /usr/sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destinationChain FORWARD (policy ACCEPT)
target prot opt source destinationChain OUTPUT (policy ACCEPT)
target prot opt source destinationAt this moment of adding the snap in, what network services is is trying to use?
-
@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
-
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 SLESThanks very much for your help @Sebastian-Roth