Comments (6)
Solved - I unknowingly had nftables also running.
from proftpd.
Hmm. This does not, at first glance, look to be a code issue. The startup sequence (initd, systemd, whatever) is outside of the scope of this project. @hpreusse does this issue look familiar to you at all?
from proftpd.
Well, thank you - I had to Configure SYSTEMD:
created missing /etc/systemd/system/proftpd.service - copied from in /lib/systemd/system/proftpd.service
[Unit]
Description=ProFTPD FTP Server
Wants=network-online.target
After=network-online.target nss-lookup.target local-fs.target remote-fs.target
[Service]
Type=forking
Environment=OPTIONS= CONFIG_FILE=/etc/proftpd/proftpd.conf
EnvironmentFile=-/etc/default/proftpd
ExecStartPre=/usr/sbin/proftpd --configtest -c $CONFIG_FILE
ExecStart=/usr/sbin/proftpd -c $CONFIG_FILE $OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/proftpd.pid
[Install]
WantedBy=multi-user.target
then, systemctl daemon-reload
then reloaded proftpd.service
Observed same error in startup status message
Removed PIDFile=/run/proftpd.pid line in etc/systemd/system/proftpd.service
'Can't open PID file' error now gone.
Tried this as well: (Still can't connect to ProFTPd from net)
[Unit]
Description=ProFTPD FTP Server in standalone/socket mode
OnFailure=proftpd.socket
OnSuccess=proftpd.service
[Service]
Type=oneshot
Environment=CONFIG_FILE=/etc/proftpd/proftpd.conf
EnvironmentFile=-/etc/default/proftpd
ExecStart=/usr/bin/grep -iqE '^[[:space:]]*ServerType[[:space:]]+standalone$' $CONFIG_FILE
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
from proftpd.
Still can't connect to ProFTPd from net - only localhost. Seems like a firewall issue.
Disabled SELINUX
I flushed the Iptables and re-entered UFW entries:
ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
80/tcp ALLOW IN Anywhere
443 ALLOW IN Anywhere
20/tcp ALLOW IN Anywhere
21/tcp ALLOW IN Anywhere
40000:50000/tcp ALLOW IN Anywhere
990/tcp ALLOW IN Anywhere # FTPS
80/tcp (v6) ALLOW IN Anywhere (v6)
443 (v6) ALLOW IN Anywhere (v6)
20/tcp (v6) ALLOW IN Anywhere (v6)
21/tcp (v6) ALLOW IN Anywhere (v6)
40000:50000/tcp (v6) ALLOW IN Anywhere (v6)
990/tcp (v6) ALLOW IN Anywhere (v6) # FTPS
I can tail /var/log/messages and see the incoming requests - so firewall is passing port 21?
from proftpd.
I'm glad you were able to get things working.
from proftpd.
Castaglia, Thanks for your suggestion!
I've now learned to issue: sudo service --status-all
to be aware of potentially competing services.
from proftpd.
Related Issues (20)
- ProFTPD upload fails (empty files), signal 15 in log HOT 1
- ProFTPD mod_auth_pam broken while using new glibc (starting from 4.33) HOT 1
- mod_sftp is affected by "Terrapin" Prefix Truncation Attacks in SSH Specification (CVE-2023-48795) HOT 10
- <IfModule>: skipping 'mod_sftp.c' section at line 9 HOT 3
- Symlinks for files, wrongly shown as folder over ftps HOT 1
- Using mod_quotatab hard limits in combination with mod_vroot causes inaccessible files HOT 13
- Aborting WinSCP FTPS downloads via TLS 1.3 results in disconnects HOT 5
- pam_unix(proftpd:auth): authentication failure when no PAM is used HOT 5
- forums.proftpd.org still active? ERR_SSL_VERSION_OR_CIPHER_MISMATCH HOT 3
- Add crosscompiling support for ./configure.in HOT 1
- Using FTPS after upgrading from 1.3.8a to 1.3.8b leads to crash HOT 4
- SFTP Too many bad authentication attempts - Terminal is working HOT 3
- Client timeout after sending client version string after upgrading from 1.3.7e to 1.3.8b, but not reproducible for me HOT 2
- proftpd not using source port 20 for ftp active HOT 5
- Add support for logging SFTP ciphers/algorithms in SQL databases HOT 6
- Jot API gives the wrong timestamp in mod_exec HOT 6
- Impossible to connect to data port using implicit FTPS HOT 2
- Using mod_facl and mod_vroot at same time causes unexpected permissions issues HOT 16
- Ban on RootLogin does not seem to be working HOT 2
- proftpd in docker - not optimal configurable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proftpd.