Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th December 2005, 21:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

What's in /etc/proftpd.conf? Also post the output of
Code:
netstat -tap
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 19th December 2005, 21:18
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
What's in /etc/proftpd.conf? Also post the output of
Code:
netstat -tap
proftpd.conf:
Code:
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
# 

ServerName			"Debian"
ServerType			standalone
DeferWelcome			off

MultilineRFC2228		on
DefaultServer			on
ShowSymlinks			on

TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			1200

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                	"-l"

DenyFilter			\*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd		off

# Uncomment this if you would use TLS module:
#TLSEngine 			on

# Uncomment this if you would use quota module:
#Quotas				on

# Uncomment this if you would use ratio module:
#Ratios				on

# Port 21 is the standard FTP port.
Port				21

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances			30

# Set the user and group that the server normally runs at.
User				nobody
Group				nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask				022  022
# Normally, we want files to be overwriteable.
AllowOverwrite			on

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default. 
#DelayEngine 			off

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
#   User				ftp
#   Group				nogroup
#   # We want clients to be able to login with "anonymous" as well as "ftp"
#   UserAlias			anonymous ftp
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser	on ftp
#   DirFakeGroup on ftp
# 
#   RequireValidShell		off
# 
#   # Limit the maximum number of anonymous logins
#   MaxClients			10
# 
#   # We want 'welcome.msg' displayed at login, and '.message' displayed
#   # in each newly chdired directory.
#   DisplayLogin			welcome.msg
#   DisplayFirstChdir		.message
# 
#   # Limit WRITE everywhere in the anonymous chroot
#   <Directory *>
#     <Limit WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
# 
#   # Uncomment this if you're brave.
#   # <Directory incoming>
#   #   # Umask 022 is a good standard umask to prevent new files and dirs
#   #   # (second parm) from being group and world writable.
#   #   Umask				022  022
#   #            <Limit READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
# 
# </Anonymous>
Defaultroot ~
IdentLookups off
ServerIdent on "FTP Server ready."

DefaultRoot ~

Include /etc/proftpd_ispconfig.conf
I will post netstat -tap in the next post...(too large)
Reply With Quote
  #13  
Old 19th December 2005, 22:05
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Sorry for delay...

netstat -tap:
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                     PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN     1                                              159/couriertcpd
tcp        0      0 *:pop3s                 *:*                     LISTEN     1                                              182/couriertcpd
tcp        0      0 localhost.localdo:mysql *:*                     LISTEN     3                                              420/mysqld
tcp        0      0 *:pop3                  *:*                     LISTEN     1                                              168/couriertcpd
tcp        0      0 *:imap2                 *:*                     LISTEN     1                                              145/couriertcpd
tcp        0      0 *:www                   *:*                     LISTEN     1                                              0407/apache2
tcp        0      0 *:81                    *:*                     LISTEN     7                                              161/ispconfig_http
tcp        0      0 *:ftp                   *:*                     LISTEN     1                                              835/proftpd: (acce
tcp        0      0 server1.strec.co:domain *:*                     LISTEN     2                                              7130/named
tcp        0      0 localhost.locald:domain *:*                     LISTEN     2                                              7130/named
tcp        0      0 *:ssh                   *:*                     LISTEN     1                                              400/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN     2                                              5234/master
tcp        0      0 localhost.localdoma:953 *:*                     LISTEN     2                                              7130/named
tcp        0      0 *:https                 *:*                     LISTEN     1                                              0407/apache2
tcp        0      0 server1.strec.com:www   208.152.231.254:25862   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25926   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25895   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25863   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:ssh   XXX.XXX.XXX.XXX:3243     ESTABLISHED5                                              934/sshd: root@not
tcp        0      0 server1.strec.com:www   208.152.231.254:25892   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25860   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25924   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25893   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25861   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25890   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25858   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25891   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25923   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25888   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25856   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25920   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25889   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25902   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25870   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25871   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25868   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25901   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25869   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25898   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25866   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25899   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25867   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25896   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25864   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25865   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25878   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25879   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25847   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25908   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25876   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25877   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25906   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25874   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25907   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25875   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25873   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25918   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25886   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25854   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25887   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25884   TIME_WAIT  -                                              
tcp        0    452 server1.strec.com:ssh   XXX.XXX.XXX.XXX:3248     ESTABLISHED5                                              955/0
tcp        0      0 server1.strec.com:www   208.152.231.254:25852   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25885   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25853   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25882   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25850   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25883   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25912   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25880   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25848   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25913   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25881   TIME_WAIT  -                                              
tcp        0      0 server1.strec.com:www   208.152.231.254:25849   TIME_WAIT  -
Not sure where the 208.152.231.254 is coming from???
Reply With Quote
  #14  
Old 19th December 2005, 23:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

I don't know if this is causing problems, but you have
Code:
Defaultroot ~
and
Code:
DefaultRoot ~
in your /etc/proftpd.conf. The first one is wrong, so I'd remove it and restart Proftpd.

Quote:
Also there are many entries where a session opens and closes (about every 30 minutes). Is this correct?
This must be ISPConfig's monitoring script which tries to connect to your FTP server to see if it's still running. This is absolutely ok.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 19th December 2005, 23:55
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
I don't know if this is causing problems, but you have
Code:
Defaultroot ~
and
Code:
DefaultRoot ~
in your /etc/proftpd.conf. The first one is wrong, so I'd remove it and restart Proftpd.
I removed the first "Defaultroot ~", restarted proftpd, and tried it. It still kicks me out of ISPConfig...

When I restarted proftpd it gave me the same error:
Code:
Starting ProFTPD ftp daemon:  - warning: "ProFTPD" address/port (192.168.2.50:21) already in use by "Debian"
proftpd.
Do you think this is a problem?
Reply With Quote
  #16  
Old 20th December 2005, 10:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Have a look here: http://www.howtoforge.com/forums/sho...p?t=120&page=2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 20th December 2005, 18:20
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
That was a good resource falko, but I tried everything within it and still no luck on clearing the message:
Code:
Starting ProFTPD ftp daemon:  - warning: "ProFTPD" address/port (192.168.2.50:21) already in use by "Debian"
proftpd.
Again, FTP is running fine on the system, with the one exception that I cannot set a user with admin rights for one of my websites. I tried it on another two sites and admin worked fine through web-ftp.

How can I check to see if VSFTPD is installed? I ran "locate vsftpd" and had one hit:
Code:
/root/ispconfig/isp/conf/vsftpd.conf.master
Reply With Quote
  #18  
Old 20th December 2005, 18:31
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Okay, I found that an error message was popping up for a VERY brief moment before it boots me out of ISPConfig (when trying to login to web-ftp one site 2 w/admin rights).

I was able to capture a screenshot of it though:

Last edited by ctroyp; 20th December 2005 at 18:34.
Reply With Quote
  #19  
Old 20th December 2005, 18:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,414
Thanks: 812
Thanked 5,204 Times in 4,080 Posts
Default

Quote:
Originally Posted by ctroyp
Okay, I found that an error message was popping up for a VERY brief moment before it boots me out of ISPConfig (when trying to login to web-ftp one site 2 w/admin rights).

I was able to capture a screenshot of it though:
Do you have the latest version of ISPConfig installed?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 20th December 2005, 18:53
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
 
Default

Quote:
Originally Posted by till
Do you have the latest version of ISPConfig installed?
Yes I do.
I installed it over the weekend...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
users dir Alias Conflicts TheDanMan General 4 12th December 2007 10:21
Mysql assignation to a new website jeanjacquesjeanjacques Installation/Configuration 4 30th January 2006 17:53
Real System users exy123 General 2 12th December 2005 10:01
debianhelp new website - www.debianhelp.co.uk gg234 Installation/Configuration 0 5th November 2005 18:18
Second website not coming up. nagual Installation/Configuration 1 5th November 2005 01:33


All times are GMT +2. The time now is 10:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.