proftp stopped cannot restart

Winta

Verified User
Joined
Dec 2, 2003
Messages
25
I can not restart pro ftpd the process stopped after reboort and can not restart i am using red hat 7.3
Apache 1.3.29 Running
DirectAdmin 1.21.0 Running
Exim 4.24 Running
MySQL 4.0.14 Running
Named 9.2.0 Running
ProFTPd 1.2.9 *** Stopped ***
sshd Running
vm-Pop3d 1.1.6 Running
Does anyone know what the problem might beYesterday i had the same problem after reboot it got backu up but after a view hours it stopped again
Today i cannot seem to get it up anymore
 
Last edited:
From shell

service proftpd status

if it says stopped run:

service proftpd stop
service proftpd start
service proftpd status

output still showing stopped?

also check /var/log/messages

Chris
 
i started it again
But it doesn't run stable because it stops automaically
These are the messages from /var/log

server1 proftpd[7709]: socket() failed in connection initialization: Address family not supported by protocol
server1 proftpd: - error: "ProFTPd" address/port (217.148.168.85:21) already in use by "ProFTPd"

When it stops and i look at the staus i get the message
proftpd dead but subsys locked
 
Last edited:
Ensure you have no duplicate entries in:

/etc/proftpd.passwd
/etc/proftpd.vhosts.conf

If that fails... im unsure.... what version of froftpd? any recent changes? how long has it been happening?

Chris
 
There are no double entries in my passwd file
my conf file sais

<VirtualHost ip.mu.mb.er>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ip.mu.mb.er.bytes WRITE,READ userlog
AuthUserFile /etc/proftpd.passwd

</VirtualHost>
<VirtualHost ip.mu.mb.er>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ip.mu.mb.er.bytes WRITE,READ userlog
AuthUserFile /usr/local/directadmin/data/users/chuchu/ftp.passwd


</VirtualHost>

Yesterday we have upgraded Exim because it dint send any mail we aslo installed a new skin..

The version of prftpd is ProFTPd 1.2.9

It starts and after 15 minutes or so it stops again
 
Hello,

What's in the /var/log/messages file? Also have a look in /var/log/proftpd/*

Are you running any other control panels / services checkers on the server tha may monitor things like proftpd?

John
 
the var/log mesaages sais

18 13:53:14 server1 proftpd: - error: "ProFTPd" address/port (217.148.168.85:21) already in use by "ProFTPd"
Feb 18 13:53:24 server1 proftpd[24470]: socket() failed in connection initialization: Address family not supported by protocol
Feb 18 13:53:24 server1 proftpd: proftpd startup succeeded
Feb 18 13:54:11 server1 proftpd[24498]: socket() failed in connection initialization: Address family not supported by protocol
Feb 18 13:54:11 server1 proftpd: proftpd startup succeeded

What i fiond strange is that in /var/logs/proftpd i see files 217.146.168.85.bytesbut my ip is 148 coud that be the problem if so how does that file get there????

-rw-r--r-- 1 root ftp 4606321 Nov 14 10:13 xferlog.legacy
-rw-r--r-- 1 root root 0 Nov 15 00:10 81.23.227.45.bytes
-rw-r--r-- 1 root ftp 0 Nov 15 02:16 217.146.168.85.bytes
-rw-r--r-- 1 root ftp 4344823 Feb 17 15:54 access.log
-rw-r--r-- 1 root ftp 577536 Feb 17 18:41 auth.log
-rw-r--r-- 1 root root 0 Feb 18 00:11 217.148.168.85.bytes

Both files are empty
 
Hello,

Make sure that the server IP does not have a virtualhost in the /etc/proftpd.vhosts.conf file. If it does, just remove it. The server IP is automatically bound by proftpd when it starts regardless of a virtualhost.. so if there is a virtualhost, it would duplicate the IP, thus generating the error.

John
 
Back
Top