FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 10th, 2003, 02:11 AM
hedaPrakash hedaPrakash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 hedaPrakash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How to start FTP service on my unix box......

Hi Guys,

I can connect ftp from my unix machine but from other machines when i try to ftp to my machine it fails with message 'connection refuses'

I am new to unix and don't know how to enable FTP service on a fresh installed box. I am having root login to do my job.

Appriciate if anybody point me a link if installation required for FTP, or thwe process to enable??

Thanks in advance..
Prakash

Reply With Quote
  #2  
Old July 10th, 2003, 01:14 PM
nuk nuk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Wenatchee, WA
Posts: 19 nuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to nuk
Depends a lot on what kind of 'unix' box you have, and what software is installed.

Monte

Reply With Quote
  #3  
Old July 11th, 2003, 05:41 AM
hedaPrakash hedaPrakash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 hedaPrakash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It's gnu\linux 8 idon't know but looks like all the folders related to ftp are no there on my system only one folder is there from which i can ftp to other machines...
I read lot of articles where asked to look in various folders but those dosn't exists on my system. It looks like this is something particular installation.......

Reply With Quote
  #4  
Old July 11th, 2003, 05:50 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 10 m 50 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
can you tell us the output of the following command:

uname -a


christo

Reply With Quote
  #5  
Old July 11th, 2003, 05:57 AM
hedaPrakash hedaPrakash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 hedaPrakash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
These are the various command I tried....


run uname -a to find out i am using linux on this machine....

[root@webtrends04 bin]# uname -a
Linux webtrends04.monitoring 2.4.18-27.8.0smp #1 SMP Fri Mar 14 05:47:33 EST 2003 i686 i686 i386 GNU/Linux

from root login I am able to ftp to other machine


fire this command to find out any files having name inetd...only one result....here's the output

[root@webtrends04 bin]# cd /
[root@webtrends04 /]# find -name inetd
./usr/lib/perl5/5.8.0/Net/demos/inetd
[root@webtrends04 /]#


Processes running try to grep processes having 'f'

[root@webtrends04 etc]# ps -e | grep f
5 ? 00:00:00 ksoftirqd_CPU0
6 ? 00:00:00 ksoftirqd_CPU1
8 ? 00:00:00 bdflush
722 ? 00:00:00 xfs




Try to find inetd.conf but not able to find any reasons??
here is the output...


[root@webtrends04 /]# find -name inetd.conf
[root@webtrends04 /]#
[root@webtrends04 /]# find -name inet*
./dev/inet
./proc/sys/net/ipv4/inet_peer_gc_maxtime
./proc/sys/net/ipv4/inet_peer_gc_mintime
./proc/sys/net/ipv4/inet_peer_maxttl
./proc/sys/net/ipv4/inet_peer_minttl
./proc/sys/net/ipv4/inet_peer_threshold
./usr/lib/perl5/5.8.0/Net/demos/inetd
./usr/lib/perl5/5.8.0/i386-linux-thread-multi/linux/inetdevice.ph
./usr/lib/perl5/5.8.0/i386-linux-thread-multi/linux/inet.ph
./usr/sbin/inetdconvert
./usr/share/doc/bash-2.05b/functions/inetaddr
./usr/share/man/man3/inet.3.gz
./usr/share/man/man3/inet_addr.3.gz
./usr/share/man/man3/inet_aton.3.gz
./usr/share/man/man3/inet_lnaof.3.gz
./usr/share/man/man3/inet_makeaddr.3.gz
./usr/share/man/man3/inet_netof.3.gz
./usr/share/man/man3/inet_network.3.gz
./usr/share/man/man3/inet_ntoa.3.gz
./usr/share/man/man3/inet_ntop.3.gz
./usr/share/man/man3/inet_pton.3.gz
./usr/X11R6/lib/X11/xkb/symbols/inet


This is the file contents of shells file...

[root@webtrends04 etc]# cat shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/bash2
/bin/ash
/bin/bsh
/bin/tcsh
/bin/csh
/bin/ksh


File structure of etc....

[root@webtrends04 etc]# ls
a2ps.cfg fam.conf initlog.conf mime-magic printcap services
a2ps-site.cfg fb.modes inittab mime-magic.dat printcap.local sgml
adjtime fdprm inputrc mime.types printcap.old shadow
aep filesystems ioctl.save minicom.users printconf.local shadow-
aep.conf fonts iproute2 modules.conf profile shells
aeplog.conf fstab isdn modules.conf~ profile.d skel
alchemist fstab.REVOKE issue motd protocols slrn.rc
aliases gconf issue.net mtab pwdb.conf smrsh
aliases.db gnome krb5.conf mtools.conf rc snmp
alternatives gnome-vfs-2.0 krb.conf Muttrc rc0.d sound
anacrontab gnome-vfs-mime-magic krb.realms named.custom rc1.d squid
at.deny gpm-root.conf ldap.conf nscd.conf rc2.d ssh
auto.master group ld.so.cache nsswitch.conf rc3.d sudoers
auto.misc group- ld.so.conf nsswitch.conf.rpmnew rc4.d sysconfig
bashrc grub.conf lftp.conf ntp rc5.d sysctl.conf
bonobo-activation gshadow libuser.conf ntp.conf rc6.d syslog.conf
CORBA gshadow- lilo.conf.anaconda oaf rc.d termcap
cron.d gtk locale openldap rc.local tux.mime.types
cron.daily gtk-2.0 localtime opt rc.sysinit updatedb.conf
cron.hourly host.conf log.d pam.d redhat-release updfstab.conf
cron.monthly hosts login.defs pam_smb.conf resolv.conf updfstab.conf.default
crontab hosts.allow logrotate.conf pango resolv.conf.bak vfontcap
cron.weekly hosts.bak logrotate.d paper.config rmt vfs
csh.cshrc hosts.deny lpd.conf passwd rndc.conf warnquota.conf
csh.login hotplug lpd.perms passwd- rndc.key webalizer.conf
default httpd lvmtab pbm2ppa.conf rpc wgetrc
DIR_COLORS im_palette.pal lvmtab.d pcmcia rpm wvdial.conf
DIR_COLORS.xterm im_palette-small.pal mail php.ini samba X11
dumpdates im_palette-tiny.pal mailcap pinforc screenrc xinetd.conf
esd.conf imrc mail.rc pnm2ppa.conf scrollkeeper.conf xinetd.d
ethereal info-dir makedev.d postfix securetty xml
exports init.d man.config ppp security yp.conf


is it helpful??


Thanks
Prakash

Reply With Quote
  #6  
Old July 12th, 2003, 09:43 PM
nuk nuk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Wenatchee, WA
Posts: 19 nuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to nuk
Well... don't take this *too* personally, but... I for one find it, ah, how should I say... odd that you have root access on this machine and are wanting to enable an ftp server, but you apparently don't even know what kind of operating system you have. Very, very strange.

Your box appears to be running RedHat, judging by the presence of /etc/redhat-release and /etc/rpm/. Looks like you are running kernel 2.4.18, which IIRC is consistent w/ the RedHat 8 release. RedHat hasn't used inetd.conf for some time, instead they use xinetd, hence not being able to find any inetd.conf. Doesn't appear at first glance to be any config files for any ftpd installed on the machine, so you probably will have to install one, enable it, and then modify the firewall, if there is one, to allow access.

Probably your best bet is to go to the Redhat website, look up the manuals for RedHat 8, and start reading. Other excellent sources of information, once you have read up on what you have (which should answer a lot of your questions for you), are the redhat-list mailing list available at https://listman.redhat.com, and the #redhat IRC forum on Freenode.net


HTH,

Monte

Reply With Quote
  #7  
Old July 13th, 2003, 07:56 PM
hedaPrakash hedaPrakash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 hedaPrakash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Nuk,

U R right when I started this thread not aware actually anything about the OS but now I know it's Linux 8. So will go and search in Linux help....

Appriciate ur help...

Prakash

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > How to start FTP service on my unix box......


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT