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 2nd April 2007, 10:26
RTHREE RTHREE is offline
Junior Member
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ftp Upload problems

Hi,

i have some problems with upload to my ispconfig box. I'm running on a Fedora core 5 64bit machine with proftp on it.

When i upload files then is first a failure and the seconde a done:

! Upload failed on ipaddresoftheserver (/web/test.html). (upload not allowed)
~ Upload complete on domainnameofserver (/web/test.html).

Second problem:

when i upload some htm, html, php files like this:
<html>
<head>
<title>Test</test>
</head>
<body>
Dit is een test
</body>
</html>

and i open it on the server i'm seeing this:

html>
<head>
<title>Test</test>
</head>
<body>
Dit is een test
</body>
</html>
Reply With Quote
Sponsored Links
  #2  
Old 3rd April 2007, 19:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Any errors in your logs? Have you tried both active and passive transfers in your FTP client?
Is SELinux disabled?
__________________
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 5th April 2007, 21:59
RTHREE RTHREE is offline
Junior Member
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No errors in log, and i tried both passive and active ftp connections.

SeLinux is disabled at boot.
Reply With Quote
  #4  
Old 6th April 2007, 11:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,045
Thanks: 841
Thanked 5,661 Times in 4,468 Posts
Default

Please post your proftpd.conf file, comments stripped.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th April 2007, 16:08
RTHREE RTHREE is offline
Junior Member
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

# This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $

ServerName "ProFTPD server"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
ServerType standalone
#ServerType inetd
DefaultServer on
AccessGrantMsg "User %u logged in."
#DisplayConnect /etc/ftpissue
#DisplayLogin /etc/ftpmotd
#DisplayGoAway /etc/ftpgoaway
DeferWelcome off

# Use this to excude users from the chroot
DefaultRoot ~ !adm

# Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups off
UseReverseDNS 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

# Default to show dot files in directory listings
ListOptions "-a"

# See Configuration.html for these (here are the default values)
#MultilineRFC2228 off
#RootLogin off
#LoginPasswordPrompt on
#MaxLoginAttempts 3
#MaxClientsPerHost none
#AllowForeignAddress off # For FXP

# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on

# 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 20

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

# Disable sendfile by default since it breaks displaying the download speeds in
# ftptop and ftpwho
UseSendfile no

# This is where we want to put the pid file
ScoreboardFile /var/run/proftpd.score

# Normally, we want users to do a few things.
<Global>
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
AllowAll
</Limit>
</Global>

# Define the log formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"

# TLS
# Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
#TLSEngine on
#TLSRequired on
#TLSRSACertificateFile /etc/pki/tls/certs/proftpd.pem
#TLSRSACertificateKeyFile /etc/pki/tls/certs/proftpd.pem
#TLSCipherSuite ALL:!ADH:!DES
#TLSOptions NoCertRequest
#TLSVerifyClient off
##TLSRenegotiate ctrl 3600 data 512000 required off timeout 300
#TLSLog /var/log/proftpd/tls.log

# SQL authentication Dynamic Shared Object (DSO) loading
# See README.DSO and howto/DSO.html for more details.
#<IfModule mod_dso.c>
# LoadModule mod_sql.c
# LoadModule mod_sql_mysql.c
# LoadModule mod_sql_postgres.c
#</IfModule>

# A basic anonymous configuration, with an upload directory.
#<Anonymous ~ftp>
# User ftp
# Group ftp
# AccessGrantMsg "Anonymous login ok, restrictions apply."
#
# # 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 "Sorry, max %m users -- try again later"
#
# # Put the user into /pub right after login
# #DefaultChdir /pub
#
# # We want 'welcome.msg' displayed at login, '.message' displayed in
# # each newly chdired directory and tell users to read README* files.
# DisplayLogin /welcome.msg
# DisplayFirstChdir .message
# DisplayReadme README*
#
# # Some more cosmetic and not vital stuff
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE SITE_CHMOD>
# DenyAll
# </Limit>
#
# # An upload directory that allows storing files but not retrieving
# # or creating directories.
# <Directory uploads/*>
# AllowOverwrite no
# <Limit READ>
# DenyAll
# </Limit>
#
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>
#
# # Don't write anonymous accesses to the system wtmp file (good idea!)
# WtmpLog off
#
# # Logging for the anonymous transfers
# ExtendedLog /var/log/proftpd/access.log WRITE,READ default
# ExtendedLog /var/log/proftpd/auth.log AUTH auth
#
#</Anonymous>


DefaultRoot ~

Include /etc/proftpd_ispconfig.conf
Reply With Quote
  #6  
Old 6th April 2007, 17:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

To which directory (absolute path) do you try to upload? As what user?
What's the output of
Code:
ls -la /path/to/upload_directory
?
__________________
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 6th April 2007, 18:00
RTHREE RTHREE is offline
Junior Member
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

we have the problem with all users

this is done with web45_demo

dir is like /var/www/demo.domain.nl/web

this are a couple of files.

-rw-r--r-- 1 web45_demo web45 1838 Apr 5 20:35 index.htm
-rw-r--r-- 1 web45_demo web45 1838 Apr 3 22:10 index.html
-rw-r--r-- 1 web45_demo web45 1838 Mar 28 20:52 indexnw.htm
-rw-r--r-- 1 web45_demo web45 1653 Mar 28 20:52 index-old.htm
Reply With Quote
  #8  
Old 7th April 2007, 14:18
unreal4u unreal4u is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to unreal4u
Default

isn't that not some kind of apache problem ?
Reply With Quote
  #9  
Old 7th April 2007, 15:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by RTHREE
we have the problem with all users

this is done with web45_demo

dir is like /var/www/demo.domain.nl/web

this are a couple of files.

-rw-r--r-- 1 web45_demo web45 1838 Apr 5 20:35 index.htm
-rw-r--r-- 1 web45_demo web45 1838 Apr 3 22:10 index.html
-rw-r--r-- 1 web45_demo web45 1838 Mar 28 20:52 indexnw.htm
-rw-r--r-- 1 web45_demo web45 1653 Mar 28 20:52 index-old.htm
I need the whole ls -la output...
__________________
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
  #10  
Old 7th April 2007, 17:09
RTHREE RTHREE is offline
Junior Member
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

total 780
drwxrwxr-x 29 web45_demo web45 4096 Apr 7 18:52 .
drwxr-xr-x 9 web45_demo web45 4096 Apr 3 04:01 ..
-rw-r--r-- 1 web45_demo web45 13144 Mar 28 20:52 actie-rb.htm
-rw-r--r-- 1 web45_demo web45 998 Mar 28 20:52 acties-totaalframe.htm
-rw-r--r-- 1 web45_demo web45 12502 Mar 28 20:52 actie-vakantie.htm
-rw-r--r-- 1 web45_demo web45 8610 Mar 28 20:52 adresgegevens.htm
-rw-r--r-- 1 web45_demo web45 1667 Mar 28 20:52 antikopie.js
-rw-r--r-- 1 web45_demo web45 9236 Mar 28 20:52 autoverzekering.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 beginpagina-blad_bestanden
-rw-r--r-- 1 web45_demo web45 12945 Apr 2 13:49 beginpagina-blad.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 beginpagina-inhoudbijkop3_bestanden
-rw-r--r-- 1 web45_demo web45 8209 Apr 2 13:48 beginpagina-inhoudbijkop3.htm
-rw-r--r-- 1 web45_demo web45 8088 Mar 28 20:52 beginpagina-inhoud.htm
-rw-r--r-- 1 web45_demo web45 2145 Mar 28 20:52 beginpagina-kop2.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 beginpagina-kop3_bestanden
-rw-r--r-- 1 web45_demo web45 5245 Mar 28 20:52 beginpagina-kop3.htm
-rw-r--r-- 1 web45_demo web45 1548 Mar 28 20:52 beginpagina-kop.htm
-rw-r--r-- 1 web45_demo web45 5125 Mar 28 20:52 beginpaginas.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 _borders
-rw-r--r-- 1 web45_demo web45 10798 Mar 28 20:52 bromfietsen.htm
-rw-r--r-- 1 web45_demo web45 5127 Mar 28 20:52 bromfietsverzekeraar.htm
-rw-r--r-- 1 web45_demo web45 5053 Mar 28 20:52 bromfietsverzekering.htm
-rw-r--r-- 1 web45_demo web45 2812 Apr 6 18:48 contactformulier.php
-rw-r--r-- 1 web45_demo web45 6006 Apr 4 20:31 contactformulier-test.php
-rw-r--r-- 1 web45_demo web45 1292 Apr 7 17:18 contactformuliertje.php
-rw-r--r-- 1 web45_demo web45 14023 Mar 28 20:52 contact.htm
-rw-r--r-- 1 web45_demo web45 22403 Mar 28 20:52 contact-old.htm
-rw-r--r-- 1 web45_demo web45 14103 Mar 28 20:52 contact-temp.htm
-rw-r--r-- 1 web45_demo web45 6612 Mar 28 20:52 demedewerkers.htm
-rw-r--r-- 1 web45_demo web45 13230 Mar 28 20:52 demedewerkers-old1.htm
-rw-r--r-- 1 web45_demo web45 11506 Mar 28 20:52 demedewerkers-old.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 _derived
-rw-r--r-- 1 web45_demo web45 114 Mar 28 20:52 desktop.ini
-rw-r--r-- 1 web45_demo web45 5017 Mar 28 20:52 disclaimer.htm
-rw-r--r-- 1 web45_demo web45 3267 Mar 28 20:52 disclaimer-website.htm
drwxr-xr-x 2 root root 4096 Mar 14 13:28 error
drwxr-xr-x 5 web45_demo web45 4096 Apr 7 18:52 formulieren drwxr-xr-x 3 web45_demo web45 4096 Apr 7 11:45 formulieren-nw drwxr-xr-x 3 web45_demo web45 4096 Apr 2 18:32 fotos drwxr-xr-x 2 web45_demo web45 4096 Mar 28 12:35 _fpclass
-rw-r--r-- 1 web45_demo web45 1007 Mar 28 20:52 garagebedrijf.htm
-rw-r--r-- 1 web45_demo web45 45007 Mar 28 20:52 Gidi.htm
-rw-r--r-- 1 web45_demo web45 34906 Mar 28 20:52 ha-ass-kleur.jpg
-rw-r--r-- 1 web45_demo web45 8776 Mar 28 20:52 hartholt.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 images
-rw-r--r-- 1 web45_demo web45 4808 Mar 28 20:52 index-first.htm
-rw-r--r-- 1 web45_demo web45 1838 Apr 5 20:35 index.htm
-rw-r--r-- 1 web45_demo web45 1838 Apr 3 22:10 index.html
-rw-r--r-- 1 web45_demo web45 1838 Mar 28 20:52 indexnw.htm
-rw-r--r-- 1 web45_demo web45 1653 Mar 28 20:52 index-old.htm
-rw-r--r-- 1 web45_demo web45 7317 Mar 28 20:52 kwaliteit.htm drwxr-xr-x 5 web45_demo web45 4096 Mar 28 20:52 leven
-rw-r--r-- 1 web45_demo web45 14376 Apr 3 19:15 links.htm
-rw-r--r-- 1 web45_demo web45 38894 Mar 28 20:52 logo-opening.JPG
-rw-r--r-- 1 web45_demo web45 2121 Mar 28 20:52 medewerkersfoto-Anja.htm
-rw-r--r-- 1 web45_demo web45 1779 Mar 28 20:52 medewerkersfoto-cees.htm
-rw-r--r-- 1 web45_demo web45 1894 Mar 28 20:52 medewerkersfoto-Gerrit.htm
-rw-r--r-- 1 web45_demo web45 835 Mar 28 20:52 medewerkersfoto.htm
-rw-r--r-- 1 web45_demo web45 1876 Mar 28 20:52 medewerkersfoto-Janny.htm
-rw-r--r-- 1 web45_demo web45 2095 Mar 28 20:52 medewerkersfoto-marc.htm
-rw-r--r-- 1 web45_demo web45 2356 Mar 28 20:52 medewerkersfoto-wichert.htm
-rw-r--r-- 1 web45_demo web45 6204 Mar 28 20:52 medewerkers.htm
-rw-r--r-- 1 web45_demo web45 7939 Mar 28 20:52 Nbva.htm
-rw-r--r-- 1 web45_demo web45 2276 Mar 28 20:52 nieuwepagina.htm drwxr-xr-x 7 web45_demo web45 4096 Mar 28 20:52 nieuws-actueel
-rw-r--r-- 1 root root 0 Apr 7 18:52 output.txt
drwxr-xr-x 3 web45_demo web45 12288 Mar 28 20:52 _overlay drwxr-xr-x 3 web45_demo web45 4096 Mar 28 12:35 photogallery drwxr-xr-x 3 web45_demo web45 4096 Apr 7 14:22 php-formulieren
-rw-r--r-- 1 web45_demo web45 7154 Mar 28 20:52 polisonline.htm drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:52 _private
-rw-r--r-- 1 web45_demo web45 15828 Apr 7 18:04 sitemap-formulieren.htm
-rw-r--r-- 1 web45_demo web45 41080 Apr 2 19:00 sitemap.htm drwxr-xr-x 2 web45_demo web45 4096 Apr 2 04:00 stats drwxr-xr-x 5 web45_demo web45 4096 Mar 28 20:52 sub-bedrijven drwxr-xr-x 25 web45_demo web45 4096 Apr 2 13:14 sub-onlineberekenen drwxr-xr-x 6 web45_demo web45 4096 Mar 28 20:54 sub-particulier
-rw-r--r-- 1 web45_demo web45 79 Apr 2 13:59 test.html
drwxr-xr-x 28 web45_demo web45 4096 Mar 28 20:52 _themes
-rw-r--r-- 1 web45_demo web45 12288 Mar 28 20:52 Thumbs.db
-rw-r--r-- 1 web45_demo web45 378 Apr 7 18:19 verwerk.php
drwxr-xr-x 7 web45_demo web45 4096 Mar 28 20:52 verzekeraar
-rw-r--r-- 1 web45_demo web45 8984 Mar 28 20:52 Verzekeringen.htm drwxr-xr-x 4 web45_demo web45 4096 Mar 28 20:52 voordelig
-rw-r--r-- 1 web45_demo web45 7423 Mar 28 20:52 voordelig.htm drwxr-xr-x 2 web45_demo web45 4096 Mar 28 20:55 _vti_cnf drwxr-xr-x 3 web45_demo web45 4096 Mar 28 20:55 _vti_pvt
-rw-r--r-- 1 web45_demo web45 9475 Mar 28 20:52 waarom_verzekeren.htm drwxr-xr-x 2 web45_demo web45 4096 Mar 28 12:35 webalizer
-rw-r--r-- 1 web45_demo web45 13024 Mar 28 20:52 webverzekeraar.htm
-rw-r--r-- 1 web45_demo web45 7776 Mar 28 20:52 wiezijnwij.htm
-rw-r--r-- 1 web45_demo web45 623 Apr 7 18:15 z-contact.htm
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
FTP Problems? tsj5j Installation/Configuration 11 14th February 2007 20:31
ftp problems tgansert Installation/Configuration 20 27th May 2006 20:06
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 09:03
Website users? ctroyp General 25 6th January 2006 19:02
FTP 101 the basics koegies Installation/Configuration 7 17th November 2005 16:55


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


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