LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-11-2008, 12:16 PM   #1
chuck_cts
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
vsftpd problem: 500 OOPS: vsf_sysutil_bind


everything was working till few days ago, but I can't find what could mess up vsftpd since I was only recompiling php to use gd libraries (instaled libpng, libjpeg and recompiled php).

I can login both locally (localhost or ip adrese) and remotely to ftp server but I can only use ftp locally
when I login remotely after LIST command there's error: 500 OOPS: vsf_sysutil_bind and ftp client reports it's disconnected


I've looked at logs but nothing
Code:
Oct 11 18:20:29 filolog vsftpd[27431]: Sat Oct 11 18:20:29 2008 [pid 27431] [chuck] OK LOGIN: Client "89.216.204.100"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "230 Login successful."
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP command: Client "89.216.204.100", "SYST"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "215 UNIX Type: L8"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP command: Client "89.216.204.100", "FEAT"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "211-Features:"
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " EPRT
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " EPSV
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " MDTM
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " PASV
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " REST STREAM
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " SIZE
 "t 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", " TVFS
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "211 End"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP command: Client "89.216.204.100", "PWD"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "257 "/""
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP command: Client "89.216.204.100", "TYPE A"
Oct 11 18:20:29 filolog vsftpd[27450]: Sat Oct 11 18:20:29 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "200 Switching to ASCII mode."
Oct 11 18:20:30 filolog vsftpd[27450]: Sat Oct 11 18:20:30 2008 [pid 27450] [chuck] FTP command: Client "89.216.204.100", "PORT 89,216,204,100,18,162"
Oct 11 18:20:30 filolog vsftpd[27450]: Sat Oct 11 18:20:30 2008 [pid 27450] [chuck] FTP response: Client "89.216.204.100", "200 PORT command successful. Consider using PASV."
Oct 11 18:20:30 filolog vsftpd[27450]: Sat Oct 11 18:20:30 2008 [pid 27450] [chuck] FTP command: Client "89.216.204.100", "LIST"


vsftpd.conf

Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
log_ftp_protocol=YES
syslog_enable=YES
connect_from_port_20=YES
idle_session_timeout=300
data_connection_timeout=60
listen=YES
pam_service_name=vsftpd
tcp_wrappers=YES
 
Old 10-12-2008, 03:56 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591
The FAQ says Vsftpd-1.2.1 should sort out the "500 OOPS: vsf_sysutil_bind".
 
Old 10-13-2008, 02:25 PM   #3
chuck_cts
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I know that, it was 2.0.0 or 1.2.2 version while it was working, and i've tried latest 2.0.7 but nothing
I've tried just to run 2.0.7 version with default confing after compiling and same error

edit:

some1 did something
port 20 seems to be locked/in use
but i can't figure out what's using it (i see it's sshd but can't find how it's locking it)

lsof -i :20
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 2867 root 3u IPv4 6158 TCP *:ftp-data (LISTEN)

edit2:
finaly remembered to try telnet localhost 20
found problem, some1 (there are 2 more ppl with root access) instaled psyBNC on port 20
just moved it and everything works

Last edited by chuck_cts; 10-13-2008 at 05:36 PM.
 
Old 10-14-2008, 03:13 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591Reputation: 3591
Quote:
Originally Posted by chuck_cts View Post
some1 did something (..) found problem, some1 (there are 2 more ppl with root access) instaled psyBNC on port 20
Good thing you found out what was causing this.
Bad thing somebody with root acount access installed psy.
Revoking permissions would be my first action.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
500 OOPS: vsftpd: must be started as root userbr Linux - Networking 3 06-27-2011 12:44 AM
i got a problem with vsftpd in F7, 500 OOPS: cannot change directory:/home/ftp-docs hosanna Fedora 1 05-25-2007 09:17 PM
500 OOpS error w/ vsftpd 5amYan *BSD 5 11-08-2006 05:59 PM
VSFTPD > 500 OOPS: vsf_sysutil_bind Bobus Linux - Networking 0 07-27-2006 05:36 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration