View Single Post
  #4  
Old 19th September 2007, 12:06
skara skara is offline
Junior Member
 
Join Date: Apr 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One more try... complete serverreinstall from the scratch. Strato vServer - Debian 3.1 install -> RecoveryMode -> Debootstrap (v1.0.3) to Etch
Will post only things i suppose to be important [...config...] = configuration according Perfect Etch Setup:

Code:
aptitude install ssh fail2ban sudo
# above in recoverymode + chroot
# REBOOT to normal mode
aptitude -q --without-recommends -y install ~pstandard ~prequired ~pimportant
aptitude -y install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ quota screen ucf

cat > /etc/hosts <<EOF
127.0.0.1       localhost localhost.localdomain
85.214.x.x   h123456.serverkompetenz.net example.net h123456
EOF

aptitude install bind9 && /etc/init.d/bind9 stop [...config..]

aptitude -y install mysql-server mysql-client libmysqlclient15-dev [...config..]
aptitude install postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util procmail && dpkg-reconfigure postfix[...config..]

aptitude install courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl gamin libgamin0 libglib2.0-0 [...config..]

aptitude install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert [...config..]

aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl [...config..]

cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf.orig
pico /etc/proftpd/proftpd.conf
## UseIPv6  'on' to 'off'
cat >> /etc/proftpd/proftpd.conf <<EOF
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
EOF
ln -s /etc/proftpd/proftpd.conf /etc/proftpd.conf

aptitude install webalizer ntp ntpdate libhtml-parser-perl libdb-file-lock-perl libnet-dns-perl 

[ISPC-Install as descriped - standard-mode]
ISPC seems to be installed ok.
telnet localhost 21 and telnet example.net 21 give same banner 'FTP Server Ready'

But restarting via ISPC brings above mentioned error - localhost='FTP Server ready' example.net='ProFTPD 1.3.0 Server (Debian) [85.214.xx.xx]'

Manual deleting 'DefaultAddress 127.0.0.1' in /etc/proftpd_ispconfig.conf and /etc/init.d/proftpd restarting brings:
Code:
Starting ftp server: proftpd - warning: "ProFTPD" address/port (85.214.xxx.xxx:21) already in use by "Debian"
But actually it brought identical banners - 'til ftp-restart via ISPC. That inserted DefaultAddress again.
Slowly it drives me mad - but at least, my ftpserver now works.

Deleting 'Include /etc/proftpd_ispconfig.conf' in /etc/proftpd.conf seems to work fine - restart via ispc and init.d worked. Why this include, if it doesn't work with but without?

greetz
skara

PS: did i mention? great work - your howtos and nevertheless ispconfig
Reply With Quote