Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th February 2006, 17:26
sandman_ua sandman_ua is offline
Junior Member
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default FTP-Server: Offline

After installing ISPConfig on my SuSE 9.0 with
Apache2
ProFTP - standalone
postfix
Courier-...
Everything works perfekt except of FTP server... it works but not from ISPConfig and is reported offline in services.

Have tryed to add
Code:
SocketBindTight on
but it din't help. It now restarts with the following messages:
Code:
Shutting down ProFTPD Server:                                                                               done
Starting ProFTPD Server:  - warning: "ProFTPD" address/port (192.168.0.100:21) already in use by "ProFTPD Default Installation"
{my_url}.com - SocketBindTight in effect, ignoring DefaultServer
                                                                                                            done
My
Code:
netstat -tap | grep ftp
follows:
Code:
tcp        0      0 xxx.xxx.xxx.xxx:21       0.0.0.0:*               LISTEN      19100/proftpd: (acc
tcp        0      0 192.168.0.100:21        0.0.0.0:*               LISTEN      19100/proftpd: (acc
As I can see, it's not listenning on localhost, could that be a problem?
If yes, how to fix my config files?

Last edited by sandman_ua; 6th July 2009 at 12:03.
Reply With Quote
Sponsored Links
  #2  
Old 9th February 2006, 22:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please add
Code:
<VirtualHost 127.0.0.1>
        DefaultRoot             ~
        AllowOverwrite          on
        Umask                   002
</VirtualHost>
to /etc/proftpd.conf, right before
Code:
Include /etc/proftpd_ispconfig.conf
and restart ProFTPd.
__________________
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
  #3  
Old 10th February 2006, 10:44
sandman_ua sandman_ua is offline
Junior Member
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Done and my ProFTPd is now listenning on localhost, but (after proftpd restart):

1. Error message on restart stays
Code:
Shutting down ProFTPD Server:                                                                               done
Starting ProFTPD Server:  - warning: "ProFTPD" address/port (192.168.0.100:21) already in use by "ProFTPD Default Installation"
{my_url}.com - SocketBindTight in effect, ignoring DefaultServer
2. ISPConfig still reports service FTP-Server: Offline

--edited: first line - changed "is not listenning" to "is now listenning" - was my terrible misstake

Last edited by sandman_ua; 6th July 2009 at 12:04.
Reply With Quote
  #4  
Old 10th February 2006, 16:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What does /etc/proftpd.conf look like right now?
__________________
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
  #5  
Old 11th February 2006, 12:09
sandman_ua sandman_ua is offline
Junior Member
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "ProFTPD Default Installation"
ServerType                      standalone
DefaultServer                   on

SocketBindTight on

ServerIdent on "FTP Server ready."
IdentLookups off

# Port 21 is the standard FTP port.
Port                            21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# 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 under which the server will run.
User                            nobody
Group                           nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
#  DenyAll
#</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          ftp
  Group                         ftp

  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias                     anonymous ftp

  # 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
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>

<VirtualHost 127.0.0.1>
    DefaultRoot ~
    AllowOverwrite      on
    Umask       002
</VirtualHost>

Include /etc/proftpd_ispconfig.conf
--edit: added "Include /etc/proftpd_ispconfig.conf" line (I messed it while coppying)

Last edited by sandman_ua; 14th February 2006 at 17:50.
Reply With Quote
  #6  
Old 11th February 2006, 14:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Why's the
Code:
Include /etc/proftpd_ispconfig.conf
line missing at the end?
__________________
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
  #7  
Old 13th February 2006, 17:52
sandman_ua sandman_ua is offline
Junior Member
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oops...
it is there, I just missed it on copy/paste...
still need suggestions on my problem.
Reply With Quote
  #8  
Old 13th February 2006, 18:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What does
Code:
netstat -tap
look like now?
__________________
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
  #9  
Old 14th February 2006, 13:50
sandman_ua sandman_ua is offline
Junior Member
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:mysql                 *:*                     LISTEN      1442/mysqld-max
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      2155/smbd
tcp        0      0 *:rockwell-csp2         *:*                     LISTEN      2420/ispconfig_http
tcp        0      0 *:sunrpc                *:*                     LISTEN      1222/portmap
tcp        0      0 localhost:ftp           *:*                     LISTEN      7755/proftpd: (acce
tcp        0      0 {my_url}.co:ftp *:*                     LISTEN      7755/proftpd: (acce
tcp        0      0 {my_url}.co:ftp *:*                     LISTEN      7755/proftpd: (acce
tcp        0      0 {my_url}:domain *:*                     LISTEN      2565/named
tcp        0      0 {my_url}:domain *:*                     LISTEN      2565/named
tcp        0      0 localhost:domain        *:*                     LISTEN      2565/named
tcp        0      0 *:ipp                   *:*                     LISTEN      1672/cupsd
tcp        0      0 *:smtp                  *:*                     LISTEN      7733/master
tcp        0      0 localhost:953           *:*                     LISTEN      2565/named
tcp        0      0 *:imaps                 *:*                     LISTEN      1706/couriertcpd
tcp        0      0 *:pop3s                 *:*                     LISTEN      1696/couriertcpd
tcp        0      0 localhost:8005          *:*                     LISTEN      2291/java
tcp        0      0 *:8009                  *:*                     LISTEN      2291/java
tcp        0      0 *:pop3                  *:*                     LISTEN      1688/couriertcpd
tcp        0      0 *:imap                  *:*                     LISTEN      1693/couriertcpd
tcp        0      0 *:www-http              *:*                     LISTEN      2625/httpd2-prefork
tcp        0      0 *:http-alt              *:*                     LISTEN      2291/java
tcp        0      0 *:ssh                   *:*                     LISTEN      1432/sshd
tcp        0      0 localhost:953           *:*                     LISTEN      2565/named
tcp        0      0 *:https                 *:*                     LISTEN      2625/httpd2-prefork

Last edited by sandman_ua; 6th July 2009 at 12:04.
Reply With Quote
  #10  
Old 14th February 2006, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

ProFTPd is running on localhost. Is ISPConfig still showing FTP as offline?
__________________
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
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
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 11:50
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01
Web Server: Offline Kraethor Installation/Configuration 7 30th November 2005 12:25
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


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


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