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.
I am very much a NooB when it comes to linux, i have only just got a box up and running recently, with lots of help LOL.
I am using Suse8 btw.
problems
I am trying to get vsFTP up and running on my system, however, i dont seem to be getting very far. I "think" it is installed as i can try and run it, but it says, this has to be called from inetd. Okay i think i add it into that.
Like this? Dunno if this is right for a start
Code:
case "$1" in
start)
echo -n "Starting inetd"
## Start daemon with startproc(8). If this fails
## the echo return value is set appropriate.
# startproc should return 0, even if service is
# already running to match LSB spec.
startproc $INETD_BIN
# Remember status and be verbose
rc_status -v
vsftp
;;
I then read that i need to restart it. I can do this either by rebooting the machine or finding the PID of inetd and calling
kill -1 PID... However, when i do a ps -x there is no process of inetd.. Have i broken it already? LOL So i resort to rebooting the machine.
Yet this still isn't working and i cant get any FTP access to the machine..
If anyone knows what i may have done wrong then i would be very grateful of some help
that really doesn't sound like much of a newbie question... where was "how do i turn my monitor on?"
you need to use xinetd and not inetd, which was superceded about 3 years ago in the main. you should have a config file in /etc/xinetd.d/ if that is how it's meant to be started.
I can't help too much with the vsFTP part. If it's run by xinetd, then there will be an entry in /etc/xinetd.d . These are just text files. RedHat uses xinetd, so I don't know where inetd would be off-hand... Somewhere in /etc , most likely.
Onto services... inetd and xinetd are services / daemons. You can use the service command on them...
To see the status of all the services... service --status-all It will tell you which are stopped, which are running, and their PID.
To control an individual service... service service_name command Use the correct service_name. Command can be start, stop, restart, status, etc. Restart is useful anytime you've changed a service's config file. service smb restart to restart Samba.
As for not finding it in the ps -x, I usuallly use ps -ax | grep inet . You can replace the inet with any partial process_name. The grep searches the list for the ps and returns only those lines with an inet in it. It won't return anything if it doesn't find a match. That would happen if the service wasn't running.
xinetd is for girls, if this is not a real server just something your planning on letting couple of friends steal some files off you via ftp configure the server to standalone bypassing inetd, not sure where the vsFTP config files are, /etc/ most likely
well cheers peeps i will try again at getting this working.. but i think i really messed it all up last night by trying to install mysql LOL so probs going to re-install suse and start a fresh.. Then start again at trying to get vsFTP installed again
Cheers peeps you may well be hearing from me again soon
Laters
Jon
i managed to sort the mysql thing, i think i have 2 versions of it installed so have started it using the later version and all seems to be working well..
also FTP seems to be working as well, i dont know if it is vsFTP or a default one though, however, when i ftp into the site i get a default directory of /pub Upon trying to find this location on my server i dont seem to be able to find a directory called /pub
Also is there any way i can find out which FTP service it is using so i can add users to it etc.
Cheers in advance
Jon
*edit actually none of that is right as i just realised i was ftp'in into a different site.. Doh! LOL.. Goes off to try vsFTP Again
Last edited by LaughingJon; 02-16-2003 at 10:33 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.