Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Mar 21, 2004 5:57 pm    Post subject: proftpd Reply with quote

hi all
i emerged proftpd recently. Right now i can;t seem to find a way to make it start on its own, please help!!!!
also i am thinking of securing my box with some good firewall(i have heard of shorewall)
so please guide me.
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
foton2
Guru
Guru


Joined: 23 Feb 2004
Posts: 347
Location: Prague, Czech Republick

PostPosted: Sun Mar 21, 2004 6:48 pm    Post subject: Reply with quote

Firewall .....iptables
proftpd rc-update add proftpd default to run proftpd at boot
/etc/init.d/proftpd start to run proftpd now.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Mar 21, 2004 7:30 pm    Post subject: Reply with quote

foton2 wrote:

proftpd rc-update add proftpd default to run proftpd at boot


didnt quite understand this line.......please explain
plus how do i remove it afterwards????
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Sun Mar 21, 2004 7:38 pm    Post subject: Reply with quote

Code:

# rc-update add proftpd default

after that proftpd daemon will start on every system startup
to undo it:
Code:

# rc-update del proftpd
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Mar 21, 2004 8:39 pm    Post subject: Reply with quote

while starting it gives an error
Quote:

Unable to determine the ip address of -'dennis'


here dennis is the name of my machine
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
foton2
Guru
Guru


Joined: 23 Feb 2004
Posts: 347
Location: Prague, Czech Republick

PostPosted: Sun Mar 21, 2004 8:47 pm    Post subject: Reply with quote

And what about your /etc/hosts ?
Is there
127.0.0.1 localhost dennis
Back to top
View user's profile Send private message
cornman
n00b
n00b


Joined: 21 Jan 2004
Posts: 3

PostPosted: Sun Mar 21, 2004 11:34 pm    Post subject: using xinetd -- that's how it's usually done Reply with quote

edit /etc/xinetd.conf so that not just localhost can have access.
edit /etc/xinetd.d/proftpd so that it is no longer disabled.
edit /etc/proftpd/proftpd.conf so that it runs in inetd mode, rather than standalone.
run 'rc-update add xinetd default'.
run '/etc/init.d/xinetd start'.
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Mon Mar 22, 2004 3:30 am    Post subject: Reply with quote

i dont have a xinetd.conf in /etc :?: :?: :?:

plus i get the foll prob

Quote:

/etc/init.d/proftpd stop
* Stopping proftpd... [ !! ]


and then on trying 2 start it now.
Quote:

/etc/init.d/proftpd start
* WARNING: "proftpd" has already been started.


:roll: :roll:
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Mon Mar 22, 2004 2:18 pm    Post subject: Reply with quote

Hi,

If you get this :
Code:
/etc/init.d/proftpd start
* WARNING: "proftpd" has already been started.

and you are sure that proftpd is not runnijng, you can do
Code:
/etc/init.d/proftpd zap

This will set proftpd to an unstarted state.
Nevermind the xinetd stuff, because you are running proftpd as a standalone sever (start and stop wit init scripts).

If you want a firewall, make sure iptables is compiled into the kernel, and have a look at teh monmotha firewall script. It's easy to setup.

gr,
Nossie
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Mon Mar 22, 2004 8:47 pm    Post subject: Reply with quote

Quote:

/etc/init.d/proftpd start
* Starting proftpd...
localhost - fatal: Socket operation on non-socket
localhost - (Running from command line? Use `ServerType standalone' in config file!)


this is after trying zap and all above suggestions like putting in dennis in /etc/hosts
:cry: :cry:

/etc/hosts
Quote:

127.0.0.1 localhost dennis
10.8.2.70 dennis.iitb.ac.in dennis

_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
cornman
n00b
n00b


Joined: 21 Jan 2004
Posts: 3

PostPosted: Sun Mar 28, 2004 8:31 pm    Post subject: xinetd Reply with quote

sorry, you have to emerge xinetd if you want to use xinetd... forgot to tell you.

The advantage of xinetd is that you only have to have one net daemon running in the background... xinetd. Otherwise you would have proftpd, telnetd, sshd, whateverd running in the background all at once. Xinetd works by listening to all ports, and when a client tries to connect, it starts up the appropriate daemon. This could cause a little latency on critical servers 'cause a new instance of the daemon needs to be started for each individual connection, but at home its great... it frees a few resources and is better organized (imho) than having a bunch of daemons start when you boot.
Back to top
View user's profile Send private message
Xenzeo
n00b
n00b


Joined: 27 Feb 2004
Posts: 49

PostPosted: Wed Mar 31, 2004 7:58 pm    Post subject: Reply with quote

Could the problem be fixed with

Bind <ip-addy>

in the proftpd config file?

Insted of xinetd use it as standalone
Back to top
View user's profile Send private message
kimachi.com
n00b
n00b


Joined: 11 Apr 2004
Posts: 11
Location: Byron Bay & Gold Coast Australia

PostPosted: Sun Apr 18, 2004 12:37 pm    Post subject: my PROFTPD no better Reply with quote

I'm getting:

Quote:
proftpd # /etc/init.d/proftpd start
* Starting proftpd...
- no such group 'proftpd'
- Fatal: Group: Unknown group 'proftpd'.


AND

Quote:
proftpd # /etc/init.d/proftpd stop
* ERROR: "proftpd" has not yet been started.


What is my issue?
_________________
I vote Green! How about you?
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Sun Apr 18, 2004 1:03 pm    Post subject: Reply with quote

when proftpd is installed a grp with name "proftpd" and a user with same name are created and so is a directory with name "/home/ftp".....with the above users and grp. creating them should do the job 4 u :)
luck!!
Saurabh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum