LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2012, 01:06 PM   #1
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
Pure Ftp Connetions


i need to increase the connections from 50 to 75 i have done a search and was not able to find the correct answer. does anyone know how this can be done.

thanks

kwick
 
Old 03-22-2012, 01:34 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by kwickcut View Post
i need to increase the connections from 50 to 75 i have done a search and was not able to find the correct answer. does anyone know how this can be done.

thanks

kwick
You need to use -c75 in your pure-ftpd startup options

Regards
 
1 members found this post helpful.
Old 03-22-2012, 01:39 PM   #3
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
thanks for the response.

i am new to this what would be the command or location to use i have looked under everything for
/etc/pure-ftpd/

and could not find this setting thanks



kwick
 
Old 03-22-2012, 01:58 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You should mention your distro, so we could help you better.
Anyway, there should be a config file in /etc/pure-ftpd, so open it and search for something like max. connections, or number of clients (MaxClientsNumber in stock pure-ftpd.conf)

Regards
 
1 members found this post helpful.
Old 03-22-2012, 02:01 PM   #5
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Hi

Some distros use a wrapper to parse config files for pure-ftpd. Do you have a folder called "/etc/pure-ftpd/conf/"? If so, make a file in it called MaxClientsNumber and put 75 in it.
 
1 members found this post helpful.
Old 03-22-2012, 02:07 PM   #6
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
sorry i forgot to put up the distro i am using ubunto 10.04 server
 
Old 03-22-2012, 02:13 PM   #7
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Ubuntu uses that wrapper, this commands should do it then:

Code:
sudo bash -c "echo 75 > /etc/pure-ftpd/conf/MaxClientsNumber"
sudo /etc/init.d/pure-ftpd restart
 
Old 03-22-2012, 02:14 PM   #8
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Guttorm View Post
Hi

Some distros use a wrapper to parse config files for pure-ftpd. Do you have a folder called "/etc/pure-ftpd/conf/"? If so, make a file in it called MaxClientsNumber and put 75 in it.

this worked thank you
 
Old 03-22-2012, 02:15 PM   #9
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Guttorm View Post
Ubuntu uses that wrapper, this commands should do it then:

Code:
sudo bash -c "echo 75 > /etc/pure-ftpd/conf/MaxClientsNumber"
sudo /etc/init.d/pure-ftpd restart
thanks it worked but for some crazy reason i had to use
Code:
/etc/init.d/pure-ftpd-mysql restart
when i used
Code:
/etc/init.d/pure-ftpd- restart
it would come up as directory not found

Last edited by kwickcut; 03-22-2012 at 02:17 PM.
 
Old 03-22-2012, 02:46 PM   #10
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
for some crazy reason i had to use
Code:

/etc/init.d/pure-ftpd-mysql restart

when i used
Code:

/etc/init.d/pure-ftpd- restart

it would come up as directory not found
That means that you're running pure-ftpd with mysql support for virtual users. You might find this howto useful, to understand how it works and how you can manage your ftp server.

Regards
 
Old 03-22-2012, 03:43 PM   #11
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Original Poster
Rep: Reputation: 20
thank you for all the help and for the site link that is the location that i installed the server from
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pure FTP agriz Linux - Software 4 11-27-2011 07:24 AM
pure-ftp vs pro-ftp mjh Linux - Server 1 03-10-2008 05:47 AM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
pure-ftp zaicheke Linux - Software 0 08-02-2004 04:57 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration