Updating DataBase Failed
-
@Sebastian-Roth this error
rules iptables maybe ? to cause this error?
Version Fog : 1.4.4
Ubuntu - Server 17 -
Interesting one I haven’t seen I think. Probably we need @Tom-Elliott to have a look.
-
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.
-
rules firewall maybe?
-
@zago123 Do you have the ubuntu firewall enabled?
sudo ufw status
will tell you if its enabled. -
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?
-
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?
-
@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
-
error firewall : this directory no exist
echo “IPTABLES_MODULES=“nf_conntract_tftp nf_conntrack_ftp nf_conntrack_netbios_ns”” >> /etc/sysconfig/iptables-config
-
@zago123 FTP is port 21.
-
thanks guys.
-
@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.