|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Depends a lot on what kind of 'unix' box you have, and what software is installed.
Monte |
|
#3
|
|||
|
|||
|
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....... |
|
#4
|
||||
|
||||
|
can you tell us the output of the following command:
uname -a christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > How to start FTP service on my unix box...... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|