Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-18-2003, 03:16 PM
|
#1
|
LQ Newbie
Registered: Oct 2003
Location: Denver, CO
Distribution: SuSE 8.2
Posts: 4
Rep:
|
Can't start vsftpd -- OOPS: socket
My distribution is SuSE 8.2, the firewall is disabled.
Everytime I try to start vsftpd as root from the command line I get a kernel OOPS: socket message. I have edited /etd/vsftpd.conf to try various control and data ports, but always get the same message. I have no other instance of vsftpd or other ftp server running.
Does anyone have an idea on this one???
|
|
|
10-20-2003, 10:36 AM
|
#2
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36
Rep:
|
Can you post your vsftpd.conf file?
Also, is your FTP server running in standalone mode or is it being run from xinetd?
You said you are starting it from the command line (so it sounds like you are running in stand alone mode) if so.... you might want to make sure that "listen=YES" is in your vsftpd.conf file.
|
|
|
10-20-2003, 12:13 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Location: Denver, CO
Distribution: SuSE 8.2
Posts: 4
Original Poster
Rep:
|
I am trying (unsuccessfully) to run vsftpd in standalone mode. If (when) I get it to run this way, I will probably set it up to start via xinetd.
Output from "netstat -natu"
--------------------------
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 1 0 10.0.0.2:32858 68.54.159.145:80 CLOSE_WAIT
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
/etc/vsftpd.conf
----------------
dirmessage_enable=YES
anonymous_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ftp_data_port=20
pam_service_name=vsftpd
listen=YES
listen_port=21
|
|
|
10-21-2003, 02:32 PM
|
#4
|
Member
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290
Rep:
|
I was under the impression that you could not run vsftpd from cli. It has to be run from inetd or xinetd. Here's the line from /etc/inetd on my Debian system:
ftp stream tcp nowait root /usr/sbin/vsftpd
|
|
|
10-21-2003, 07:15 PM
|
#5
|
LQ Newbie
Registered: Oct 2003
Location: Denver, CO
Distribution: SuSE 8.2
Posts: 4
Original Poster
Rep:
|
It is my understanding that vsftpd indeed can be run in stand alone mode (not via an inetd). I quote from the man page for vsftpd.conf:
listen If enabled, vsftpd will run in standalone mode.
This means that vsftpd must not be run from an
inetd of some kind. Instead, the vsftpd executable
is run once directly. vsftpd itself will then take
care of listening for and handling incoming connec_
tions.
Default: NO
You will note the LISTEN=YES line in vsftpd.conf posted previously.
|
|
|
10-22-2003, 12:30 PM
|
#6
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36
Rep:
|
Yes, you can run VSFTPD in stand-alone mode.
Your conf file looks good. Are you certian you do not have a vsftpd in your /etc/xinetd.d directory?
I would simplify your conf file at least until you get it running properly. Try this...
connect_from_port_20=YES
pam_service_name=vsftpd
listen=YES
listen_port=21
|
|
|
10-22-2003, 12:53 PM
|
#7
|
LQ Newbie
Registered: Oct 2003
Location: Denver, CO
Distribution: SuSE 8.2
Posts: 4
Original Poster
Rep:
|
I have discovered some additional info about this problem -- it has nothing to do with vsftpd configuration.
If I boot with the kernel originally shipped by SuSE, vsftpd starts and runs perfedtlllly. When I use the kernel that I compiled, the problem occurs.
It is my preference to build a kernel with all modules builtin that are required to get the system up and running (i.e. support for ext3, vfat, cdrom, SOCKETS, etc.). SuSE uses the initrd mechanism to load modules at boot time. Obviously, I have screwed up somewhere. Does anyone have any idea which modules might be involved with this OOPS: socket problem?
|
|
|
10-22-2003, 02:51 PM
|
#8
|
Member
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36
Rep:
|
I couldn't begin to answer your question, but I would suggest you start a new post for it because no one is going to look at this one for a kernel question.
|
|
|
All times are GMT -5. The time now is 08:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|