LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2009, 05:09 PM   #31
cowlol
LQ Newbie
 
Registered: Feb 2009
Posts: 21

Rep: Reputation: 17

Quote:
Originally Posted by linus72 View Post
bz@bz-desktop:~$ sudo /etc/init.d/vsftpd restart
There, you restarted the vsftp daemon, with the init script in init.d
Quote:
Originally Posted by linus72 View Post
bz@bz-desktop:~$ sudo vsftpd
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
Your trying to start vsftpd again as a standalone daemon, but if its configured to run multiple daeomns i think it is check ps -e | grep vsftpd and see if its up, else you start it like sudo /etc/init.d/vsftpd start.
 
Old 03-21-2009, 05:11 PM   #32
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
What gives??
What do you mean?
As told before:
Quote:
bz@bz-desktop:~$ sudo vsftpd
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
bz@bz-desktop:~$
The above is not needed to restart the server, just use
Quote:
bz@bz-desktop:~$ sudo /etc/init.d/vsftpd restart
The ftp server works OK, since you an telnet to it
Quote:
bz@bz-desktop:~$ telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.
So now you need to verify if the server is reachable from the outside.
As told before, you need to know if you are allowed to run servers.
If yes verify if there is any firewall in the router, if yes forward the ports to your server.
 
Old 03-21-2009, 05:20 PM   #33
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
You guys are talking chinese to a german- I have no idea what your talking about...?
Output of ps -e | grep vsftpd
Code:
bz@bz-desktop:~$ ps -e | grep vsftpd 
 8734 ?        00:00:00 vsftpd
bz@bz-desktop:~$
It seems the computer is as clueless as me!
How do I forward a port?
Code:
bz@bz-desktop:~$ telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.

530 Please login with USER and PASS.

530 Please login with USER and PASS.
What is the USER and PASS??
What does this mean?
Code:
vsftpd: not configured for standalone, must be started from inetd

Last edited by linus72; 03-21-2009 at 05:22 PM.
 
Old 03-21-2009, 05:31 PM   #34
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Please take a deep breath, calm down and read what is said in the thread.

Quote:
What does this mean?
It means the ftp server is working OK
login and pass are "anonymous" and "your email adress" if the server is configured for anonymous logins.

Quote:
vsftpd: not configured for standalone, must be started from inetd
as said 2 times in previous posts, you need to restart the service from inetd
Quote:
sudo /etc/init.d/vsftpd restart
NOT
Quote:
sudo vsftpd

All this is useless if verizon is blocking ports from servers (mail, ftp, web) so first make sure they are open.
Also, I don't know what your upload is, but 4GB download from a server with 256 upload, may take a long time, and in the meanwhile your connection is going to slow down, so perhaps you should consider other options.

Last edited by repo; 03-21-2009 at 05:36 PM.
 
Old 03-21-2009, 05:42 PM   #35
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK-first I wanna thank all of you for your help-as I need it!
Alright-it seems to be working except for this
Code:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.

530 Please login with USER and PASS.

530 Please login with USER and PASS.
421 Timeout.
Connection closed by foreign host.
bz@bz-desktop:~$ telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.

530 Please login with USER and PASS.
anonymous
530 Please login with USER and PASS.
USER
331 Please specify the password.
gogadget@peoplepc.com                                   
530 Please login with USER and PASS.
Please take a look at the vsftpd.conf and tell me what I need to change-
Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
#listen=NO
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=NO
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
chown_uploads=YES
chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to Megaloth FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories.  See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
#chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
#
# Debian customization
#
# Some of vsftpd's settings don't fit the Debian filesystem layout by
# default.  These settings are more Debian-friendly.
#
# This option should be the name of a directory which is empty.  Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
# This option specifies the location of the RSA key to use for SSL
# encrypted connections.
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
 
Old 03-21-2009, 05:59 PM   #36
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
OK

Code:
telnet 127.0.0.1 21
is only used to see if the port is open.
To connect to the ftp server use
Code:
ftp 127.0.0.1
Here is how it looks at my server:

Code:
repo@cannabis:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.0.7)
Name (127.0.0.1:repo): repo
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> quit
221 Goodbye.
repo@cannabis:~$
If the server is configured for anonymous login use
login anonymous
pass emailaddress

or use a GUI ftp client in gnome or KDE
 
Old 03-21-2009, 06:04 PM   #37
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OUTPUT=
Code:
bz@bz-desktop:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to Megaloth FTP service.
Name (127.0.0.1:bz): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
What does it mean "ftp>"?
Is it setup?
could you download?(not all of it-but does it start?
Ah! Cannabis Man!
Me too baby-straight out of the Appalachian Mountains!
 
Old 03-21-2009, 06:10 PM   #38
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
this is the prompt
so type
Code:
ls
to see the files.
To download a file type
Code:
get filename.
a good start is to type
Code:
help
at the prompt to see all the commands.
Or use a grafical ftp program.
 
Old 03-21-2009, 06:20 PM   #39
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Where do I get the GUI version of vsftpd?
I tried synaptic and it just displays "vsftpd".
OUTPUT of "ls"
Code:
bz@bz-desktop:~$ ls
Desktop                                                            Music
Documents                                                          Pictures
Domination                                                         Public
en_US.UTF-8                                                        Templates
Firefox_wallpaper.png                                              Videos
frank_frazetta_deathdealerVI(www.GalaWallpapers.com)-1024x768.jpg  wwmkr
bz@bz-desktop:~$
The FTP folder is in /home/ftp so I don't see it listed..?
Can I move the ftp folder to Public or should I not?
 
Old 03-21-2009, 06:32 PM   #40
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
The FTP folder is in /home/ftp so I don't see it listed..?
Can I move the ftp folder to Public or should I not?
Are you logged in as anonymous or as user (bz)

Quote:
Where do I get the GUI version of vsftpd?
It is a GUI ftp client like gftp or use your webbrowser > ftp://127.0.0.1

Last edited by repo; 03-21-2009 at 06:35 PM.
 
Old 03-21-2009, 06:40 PM   #41
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Wow, all of this could be avoided if you just created a torrent file. And used public trackers.

I'm not an advocate of anonymous people connecting too my machine for a 4.6 gig file. This will bog down your entire connection. Not too mention from the recent nmap scan your wide open.
 
Old 03-21-2009, 06:41 PM   #42
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK-REPO please stick with me!
Can I login as bz?
It doesn't sem to work with bz?
Code:
bz@bz-desktop:~$  ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to Megaloth FTP service.
Name (127.0.0.1:bz): bz
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>
But with "anonymous"it does-
Code:
bz@bz-desktop:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to Megaloth FTP service.
Name (127.0.0.1:bz): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
Also, according to "ftp://127.0.0.1"
It took me to a webpage-see screenshot-I hit the link and it started downloading-is it working then!??
AND I TRIED ASKING ABOUT TORRENT NOBODY WILL TELL ME HOW TO DO IT.
CAN SOMEONE HIT THE LINK AND SEE IF IT STARTS TO DOWNLOAD?
I GET 190KBS SO NO PROBLEM.
LINK= ( ftp://127.0.0.1 )
WHAT AM I WIDE OPEN TO?
A VIRUS-HA! THIS WHOLE COMPUTER IS A TEST BED FOR LINUX DISTRO'S-IF YOU SEND A VIRUS, ETC I'LL JUST WIPE THE DISK AND START OVER!
I JUST WANNA SHARE THIS WITH NEWBIES' SO THEY DON'T HAVE TO DOWNLOAD AND BURN LOTS OF CD'S.

Last edited by linus72; 04-04-2009 at 08:36 PM.
 
Old 03-21-2009, 06:54 PM   #43
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Make sure
the iso is located in
/home/ftp

to create a torrent, take a look at
http://buffalo.nas-central.org/wiki/...Torrent_Client

yes you can login as bz, with the password from bz (if enabled in the conf file)
Then you will see the home directory from bz


Quote:
bz@bz-desktop:~$ ls
Desktop Music
Documents Pictures
Domination Public
en_US.UTF-8 Templates
Firefox_wallpaper.png Videos
frank_frazetta_deathdealerVI(www.GalaWallpapers.com)-1024x768.jpg wwmkr
bz@bz-desktop:~$
You can't see ftp, because it is located at
/home/ftp

Last edited by repo; 03-21-2009 at 06:56 PM.
 
Old 03-21-2009, 06:55 PM   #44
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
yes-the iso is in /home/ftp
does the link work?
 
Old 03-21-2009, 06:58 PM   #45
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
does the link work?
if the download starts it works.
However, this is from the inside, you still need to make it work from the outside :-)
 
  


Reply



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
How to host website using adsl router zeebala Linux - Networking 3 11-29-2007 09:31 AM
debian 4.0(apache 2.2)host my own website master Linux - Server 9 04-25-2007 01:14 PM
How to host a website? Vodius Linux - Newbie 1 05-15-2005 04:39 PM
Free website host? Cyberian General 14 02-10-2005 12:09 AM
newbie's linux cant find pcmcia network card! LinuxNOOB100 Linux - Newbie 9 03-06-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 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