im trying to get an ftp server running with gadmin proftpd on ubuntu 11.04. ive installed it many times and keep getting an error about postgresql so ive tried uninstalling and reinstalling postgresql but when i do the reinstall i get the same messege as when i installed proftpd E: gforge-shell-postgresql: subprocess installed post-installation script returned error exit status 1 below is what i got from synaptic after reinstalling postgresql. after that is my proftpd .conf file as it is now. ive changed it so many times trying everything i can find online over the past 2 days and still i cant get it to work. any help with getting proftpd working would be greatly appreciated! thank you!
synaptic messege after reinstalling postgresql:
(Reading database ... 203186 files and directories currently installed.)
Preparing to replace postgresql 8.4.8-0ubuntu0.11.04 (using .../postgresql_8.4.8-0ubuntu0.11.04_all.deb) ...
Unpacking replacement postgresql ...
Setting up gforge-shell-postgresql (5.0.2-5) ...
Calculating defaults
Reading defaults from /etc/fusionforge/fusionforge.conf
Creating /etc/fusionforge/fusionforge.conf
SSL Disabled
Creating /etc/gforge/httpd.conf
Creating /etc/gforge/httpd.secrets
Creating /etc/gforge/local.inc
Creating other includes
Installing chroot environnement at /var/lib/gforge/chroot
............................
cp: cannot stat `/lib/libgcc_s*': No such file or directory
dpkg: error processing gforge-shell-postgresql (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
Setting up postgresql (8.4.8-0ubuntu0.11.04) ...
Errors were encountered while processing:
gforge-shell-postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up gforge-shell-postgresql (5.0.2-5) ...
Calculating defaults
Reading defaults from /etc/fusionforge/fusionforge.conf
Creating /etc/fusionforge/fusionforge.conf
SSL Disabled
Creating /etc/gforge/httpd.conf
Creating /etc/gforge/httpd.secrets
Creating /etc/gforge/local.inc
Creating other includes
Installing chroot environnement at /var/lib/gforge/chroot
............................
cp: cannot stat `/lib/libgcc_s*': No such file or directory
dpkg: error processing gforge-shell-postgresql (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
gforge-shell-postgresql
Gadmin-proftpd-1.3.3D .conf:
ModulePath /usr/lib/proftpd
LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c
LoadModule mod_radius.c
LoadModule mod_quotatab.c
LoadModule mod_quotatab_file.c
LoadModule mod_quotatab_radius.c
LoadModule mod_wrap.c
LoadModule mod_rewrite.c
LoadModule mod_load.c
LoadModule mod_ban.c
LoadModule mod_wrap2.c
LoadModule mod_wrap2_file.c
LoadModule mod_dynmasq.c
LoadModule mod_vroot.c
LoadModule mod_ifsession.c
ServerType standalone
DefaultServer on
Umask 022
ServerName "192.168.0.106"
ServerIdent on "My FTP Server"
ServerAdmin email@example.org
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
MasqueradeAddress 192.168.0.1
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 220
TransferRate STOR 250
TransferRate STOU 250
TransferRate APPE 250
SystemLog /var/log/secure
RequireValidShell off
<IfModule mod_tls.c>
TLSEngine on
TLSRequired off
TLSVerifyClient on
TLSProtocol SSLv23
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
TLSOptions AllowClientRenegotiation
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
AllowUser anonymous
AllowUser tetsu
DenyALL
</Limit>
<Anonymous /var/FTP/anonymous>
User anonymous
Group anonymous
AnonRequirePassword off
MaxClients 10 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayChdir .msg
<Limit LOGIN>
Allow from All
Deny from all
</Limit>
AllowOverwrite off
<Limit LIST NLST RETR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit STOR STOU APPE RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM >
DenyAll
</Limit>
</Anonymous>
<Anonymous /var/FTP>
User tetsu
Group group1
AnonRequirePassword on
MaxClients 10 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayChdir .msg
<Limit LOGIN>
Allow from All
Deny from all
</Limit>
AllowOverwrite off
<Limit LIST NLST RETR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit STOR STOU APPE RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM >
DenyAll
</Limit>
</Anonymous>
Bookmarks