LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-01-2004, 02:11 PM   #16
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30

Also, the config files are in /etc/vsftpd/ as vsftpd.conf
 
Old 01-01-2004, 02:17 PM   #17
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
The find commend should have reported on where you config where, but it returned nothing. Could you please just hummor me with sending me the output of
ls -l /etc/vsftpd/*;
ls -l /etc/vsftp*;
You are right the config file should be /etc/vsftpd/vsftpd.com.
 
Old 01-01-2004, 02:24 PM   #18
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
[root@ASUSA7V266-E root]# ls -l /etc/vsftpd/*
-rw------- 1 root root 3893 Jan 1 12:21 /etc/vsftpd/vsftpd.conf

root@ASUSA7V266-E root]# ls -l /etc/vsftp*
-rw------- 1 root root 125 Feb 28 2003 /etc/vsftpd.ftpusers
-rw------- 1 root root 361 Feb 28 2003 /etc/vsftpd.user_list

/etc/vsftpd:
total 4
-rw------- 1 root root 3893 Jan 1 12:21 vsftpd.conf
 
Old 01-01-2004, 02:29 PM   #19
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
OK. I type the find command wrote. Stupid typo. But that doesn't matter anymore.

Let's try starting vsftp manually.
/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf;
It should just hang there.
Try to ftp from another terminal window.
 
Old 01-01-2004, 02:30 PM   #20
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
[root@ASUSA7V266-E root]# /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
500 OOPS: unrecognised variable in config file


[root@ASUSA7V266-E root]# ftp
ftp> open 10.0.0.20
ftp: connect: Connection refused
ftp>
 
Old 01-01-2004, 02:34 PM   #21
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
There we have it. I assume you vsftd.conf is still them same as what you posted before. Can you post the vsftpd.user_list and vsftpd.ftpuser?
 
Old 01-01-2004, 02:37 PM   #22
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
"vsftpd.ftpusers" 15L, 125C
# Users that are not allowed to login via ftp
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

-------------------------------------
vsftpd.user_list" 20L, 361C
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd.ftpusers
# for users that are denied.
root
bin
daemon
adm
lp
sync
shutdown
halt
mailmail
news
uucp
operator
games
nobody
 
Old 01-01-2004, 03:03 PM   #23
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
I can't believe I missed this one. It was right there in front of my face. You can't have blank lines in the config. Make the blank lines start with #.
Then run
/usr/sbin/vsftpd /etc/vsftpd.conf
If it hangs then you are good control-c.
Then run /etc/init.d/vsftpd restart;
Then try to ftp.
 
Old 01-01-2004, 03:09 PM   #24
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
i too have a problem connecting to my remote machine.
Here is the message a have:
[root@dhcppc1 mp3]# ftp 192.168.0.3
Connected to 192.168.0.3.
220 dhcppc2 FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: No credentials cache found
GSSAPI error: initializing context
GSSAPI authentication failed
334 Using authentication type KERBEROS_V4; ADAT must follow
KERBEROS_V4 accepted as authentication type
Kerberos V4 krb_mk_req failed: You have no tickets cached
Name (192.168.0.3:root): root
530 Must perform authentication before identifying USER.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 221 Goodbye.
 
Old 01-01-2004, 03:14 PM   #25
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Doomhammer,
Open another post or email me ggouteve@optonline.net. You issue looks to be different. I need to know what distrobution you are runnig and what ftp server you are using.
Gerard
 
Old 01-01-2004, 06:13 PM   #26
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
Gerard,

I took out the blank lines and did everything you mentioned. This is what happens:

Apparently, it just won't shut down and I don't know why and obviously, it doesn't run. I don't know what the f---ing problem is and I'm so pissed (not at you) at this situation. I had it working fine less than a week ago and now I cannot get any FTP to work at all.

[root@ASUSA7V266-E vsftpd]# /etc/init.d/vsftpd restart
Shutting down vsftpd: [FAILED]
Starting vsftpd for vsftpd: [ OK ]
[root@ASUSA7V266-E vsftpd]# /etc/init.d/vsftpd restart
Shutting down vsftpd: [FAILED]
Starting vsftpd for vsftpd: [ OK ]
[root@ASUSA7V266-E vsftpd]#
 
Old 01-01-2004, 06:20 PM   #27
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Scott,
vsftp is very tempermental. I don't think it is actually starting. What happens when you try to start it manually.
/usr/sbin/vsftpd /etc/vsftp/vsftpd.conf.
Does it give you an error or does to just hang there? Hanging there is good that means it is waiting for a connection.
It can be very fustrating to get things to work, but that is part of learning. We'll get this to work.
Gerard
 
Old 01-02-2004, 01:43 AM   #28
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
[root@ASUSA7V266-E root]# /usr/sbin/vsftpd /etc/vsftp/vsftpd.conf
500 OOPS: vsftpd: cannot open specified config file
 
Old 01-02-2004, 08:14 AM   #29
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Crap I mad another stupid typo
/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf;
not
/usr/sbin/vsftpd /etc/vsftp/vsftpd.conf;
I do stupid stuff like that sorry.
 
Old 01-02-2004, 08:24 AM   #30
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 10 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
[root@ASUSA7V266-E root]# /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
500 OOPS: unrecognised variable in config file
 
  


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
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
FTP won't login ne21 Slackware 1 12-10-2004 05:48 AM
suddenly having ftp login problems since i downgraded libsafe so i could add sites Amaris4GOW Linux - General 2 04-09-2004 01:07 PM
ftp login only tuxguy Linux - General 3 03-19-2004 09:37 PM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 AM.

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
Open Source Consulting | Domain Registration