Jump to content

Proftpd help please


kmc77
 Share

Recommended Posts

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?

Link to comment
Share on other sites

[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?

Link to comment
Share on other sites

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'

Link to comment
Share on other sites

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 by fissy
Link to comment
Share on other sites

[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?

Link to comment
Share on other sites

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 :thumbs:

 

DISCLAIMER: My techy terms may not be politically correct, but I think you will understand.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...