kmc77 Posted May 19, 2004 Report Share Posted May 19, 2004 Ok this is my first try at this. I'm trying to set up my Lbox to act as a ftp server. I've got a buddy in Korea and would like to give him access to some files. I've URPMId proftpd and gproftpd. I believe I have set everything up correctly with gproftpd, but can't connect. I've read the proftpd FAQ's and starter guides, but I'm not having any luck. From what I can see, the first thing that you have to do is start proftpd as root, but that's as far as I get. I start it (or at least I think I did) but nothing happens. The FAQ's say that you should be able to start it as a reg user after that, but I'm not. What the heck am I doing wrong? Can someone point me in the right direction please? Quote Link to comment Share on other sites More sharing options...
fissy Posted May 19, 2004 Report Share Posted May 19, 2004 how did you start it, its a service so service proftpd start should do it. also, punched a hole in your shorewall? forwarded ports from your router? Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 I must have started it wrong then. I've killed my firewall while setting this up, so that shouldn't be a factor. No router. I'll try to start it with "service" Will post results. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 [kevin@kevins kevin]$ su Password: [root@kevins kevin]# service proftpd I need an action Usage: /etc/init.d/proftpd {start|stop|status|restart|reload|resume|suspend} suspend accepts additional arguments which are passed to ftpshut(8) [root@kevins kevin]# service proftpd start Starting proftpd: - no such group 'nobody' - Fatal: Group: Unknown group 'nobody'. [FAILED] [root@kevins kevin]# Ok here's what I'm looking at. Does this help? Quote Link to comment Share on other sites More sharing options...
fissy Posted May 19, 2004 Report Share Posted May 19, 2004 seems odd that you're missing that. you can add the group nobody by editing /etc/groups or using userdrak. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 Success. Now for the testing. I appreciate your help. I'll probably be buggin everybody again soon. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 Ok. Now what does this mean. [root@kevins kevin]# gproftpd - getaddrinfo 'Unspecified' error: Name or service not known - getaddrinfo 'Unspecified' error: Name or service not known - error: unable to determine IP address of 'Unspecified' kevins.linux.box.com - getaddrinfo 'Unspecified' error: Name or service not known kevins.linux.box.com - error: unable to determine IP address of 'Unspecified' Quote Link to comment Share on other sites More sharing options...
fissy Posted May 19, 2004 Report Share Posted May 19, 2004 (edited) tries to look up the ipaddress of your hostname and fails? try adding your hostname kevins...com to /etc/hosts with the ipaddress 127.0.0.1 there should be an entry in there already to show you the format. edit, an ip address should only be in there once, so append your hostname to the last entry, with a space as a separator: 127.0.0.1 localhost darwin localhost.localdomain the names localhost, darwin and localhost.localdomain all map to my pc's loopback ip address of 127.0.0.1 Edited May 19, 2004 by fissy Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 Haven't done the above yet, but my buddy was able to log in anyway. But he's only getting about a 13kbps avg. download speed. When He finishes the files that we're working on, I'll fix it like you have suggested. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 [root@kevins kevin]# gproftpd - getaddrinfo 'Unspecified' error: Name or service not known - getaddrinfo 'Unspecified' error: Name or service not known - error: unable to determine IP address of 'Unspecified' kevins.linux.box.com - getaddrinfo 'Unspecified' error: Name or service not known kevins.linux.box.com - error: unable to determine IP address of 'Unspecified' Aparantly I added a second server in there on accident, with no info. I deleted the offending entry and everything is hunkydory now. Except for that slow up speed. Wander if my ISP has me capped? Do they do that? Quote Link to comment Share on other sites More sharing options...
scoopy Posted May 19, 2004 Report Share Posted May 19, 2004 UP speed is different than DOWN speed. The normal cable bandwidth is like 1,500 KB down and 128 KB upload --- which will translate to you are uploading to the person that is connected and downloading from you (the 128 KB speed). And also, because bandwidth is normally reported with this 128 KB "communication" transfer speed... FTP clients read it as "data" transfer, which translates to 12.8 which is the 13 KB your seeing. Good job getting it to work... and kudos to fissy too DISCLAIMER: My techy terms may not be politically correct, but I think you will understand. Quote Link to comment Share on other sites More sharing options...
kmc77 Posted May 19, 2004 Author Report Share Posted May 19, 2004 Weird. My buddy uploads to my comp at 30 Kbps. Thanks for the praise, but fissy deserves it all. I just fiddle till I either break it or it works :D Fissy gave me good instructions/advice. Thanks fissy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.