Linux - SoftwareThis 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.
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.
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.
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.
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:
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.