[Ubuntu Dapper] ProFTPd + MySQL

Pagina: 1
Acties:
  • 398 views sinds 30-01-2008
  • Reageer

Onderwerpen


Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Ik ben nu inmiddels twee volle dagen bezig met het installeren en configureren van ProFTPd en MySQL 5 onder Ubuntu 6.06 Server. Hiervoor gebruikt ik o.a. de packages proftpd en proftpd-mysql op een automatisch LAMP-installatie van de serverversie van Ubuntu Dapper.

Ik heb even gelezen:
http://www.castaglia.org/...oFTPD-mini-HOWTO-SQL.html

En daarna heb ik grotendeels de tutorial op howtoforge gevolgd:
http://www.howtoforge.com/proftpd_mysql_virtual_hosting

Tot ik bij de volgende regel kwam:
If you are able to connect - congratulations!
Ik blij, en testen maar! Niet dus... -O-
If not, something went wrong.
Met die conclusie was ik het dan eens. :Y)

Wat ik gedaan heb, stap voor stap:
  1. Verse installatie van Ubuntu 6.06 Server, met de optie: Install a LAMP server.
  2. MySQL root password instellen, PHPMyAdmin erop, inloggen daarop gaat goed.
  3. Group 'ftpgroup' en user 'ftpuser' aanmaken, op de manier die is beschreven in de tutorial:
    groupadd -g 2001 ftpgroup
    useradd -u 2001 -s /bin/false -d /bin/null -c "proftpd user" -g ftpgroup ftpuser
  4. ProFTPd met MySQL-connector erop:
    sudo apt-get install proftpd-mysql
  5. proftpd.conf aanpassen, configuratie uit de tutorial toegevoegd en de SQLConnectInfo daarin juist ingevuld. Ik weet hierbij zeker dat deze user i.c.m. met password toegang heeft tot de database.
  6. Database gevuld met de voorbeeldqueries uit de tutorial.
Wat nu het probleem is:
Als ik ProFTPd met de oorspronkelijke config draai, dus zonder mod_sql te gebruiken, draait alles prima. Voeg ik de config uit de tutorial toe, dan gooit ProFTPd direct elke verbinding dicht zodra deze geopend wordt.

De logs zeggen niets, alleen 'session closed' als er geprobeerd wordt te connecten. Er zou een debug-mode moeten zijn, maar ik kan deze niet vinden, omdat ProFTPd hier via apt is geïnstalleerd.

Heeft er iemand een goed idee voor me, ik weet even niet wat ik fout doe.

proftpd.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

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                      \*.*/

# Port 21 is the standard FTP port.
Port                            21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts                    49152 65534

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

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

# Be warned: use of this directive impacts CPU average load!
#
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
# UseSendFile                   off

TransferLog /var/log/proftpd/xferlog
SystemLog   /var/log/proftpd/proftpd.log
ExtendedLog /var/log/proftpd/extended.log

<IfModule mod_tls.c>
TLSEngine off
</IfModule>

<IfModule mod_quota.c>
QuotaEngine on
</IfModule>

<IfModule mod_ratio.c>
Ratios on
</IfModule>


# 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.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine        on
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine on
</IfModule>

## HIERONDER MIJN TOEVOEGINGEN

DefaultRoot ~


# The passwords in MySQL are encrypted using CRYPT
SQLAuthTypes            Plaintext Crypt
SQLAuthenticate         users* groups*


# used to connect to the database
# databasename@host database_user user_password
SQLConnectInfo  ftp@localhost proftpd hierstaatmijnpassword


# Here we tell ProFTPd the names of the database columns in the "usertable"
# we want it to interact with. Match the names with those in the db
SQLUserInfo     ftpuser userid passwd uid gid homedir shell

# Here we tell ProFTPd the names of the database columns in the "grouptable"
# we want it to interact with. Again the names match with those in the db
SQLGroupInfo    ftpgroup groupname gid members

# set min UID and GID - otherwise these are 999 each
SQLMinID        500

# create a user's home directory on demand if it doesn't exist
SQLHomedirOnDemand on

# Update count every time user logs in
SQLLog PASS updatecount
SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser

# Update modified everytime user uploads or deletes a file
SQLLog  STOR,DELE modified
SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser

# User quotas
# ===========
QuotaEngine on
QuotaDirectoryTally on
QuotaDisplayUnits Mb
QuotaShowQuotas on

SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM ftpquotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"

SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM ftpquotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"

SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" ftpquotatallies

SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" ftpquotatallies

QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally

RootLogin off
RequireValidShell off


Database:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Database: ftp

Tabel: ftpgroup
[groupname] [gid]  [members]
ftpgroup    2001   ftpuser

Tabel: ftpquotalimits
[name]       [quota_type] [per_session] [limit_type] [bytes_in_avail] [bytes_out_avail] [bytes_xfer_avail] [files_in_avail] [files_out_avail] [files_xfer_avail]
exampleuser  user         true          hard         15728640         0                 0                  0                0                 0

Tabel: ftpquotatallies
[name] [quota_type] [bytes_in_used] [bytes_out_used] [bytes_xfer_used] [files_in_used] [files_out_used] [files_xfer_used]

Tabel: ftpusers
[id] [userid]    [passwd] [uid] [gid] [homedir]             [shell]       [count] [accessed]          [modified]
1    exampleuser secret   2001  2001  /home/www.example.com /sbin/nologin 0       0000-00-00 00:00:00 0000-00-00 00:00

[ Voor 7% gewijzigd door ERIKvanPAASSEN op 19-05-2007 22:59 . Reden: Onnodig lange comments uit proftpd.conf gehaald ]


Acties:
  • 0 Henk 'm!

  • KennieNL
  • Registratie: Mei 2007
  • Laatst online: 10-09 22:39
Kijk eens in je logs in /var/log/proftpd/ of er enige error meldings zijn waarom hij ze dicht gooit, meestal geven die wel antwoord ;)

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
KennieNL schreef op zondag 20 mei 2007 @ 16:34:
Kijk eens in je logs in /var/log/proftpd/ of er enige error meldings zijn waarom hij ze dicht gooit, meestal geven die wel antwoord ;)
Meestal wel, nu dus niet. :X
Ik had daar al gekeken, maar het enige wat er staat is 'session closed'. Ik heb ook al geprobeerd met telnet verbinding te maken, maar ook die verbinding wordt direct beëindigd.

Er zou ergens een debug-mode in ProFTPd moeten zitten, toch?

Acties:
  • 0 Henk 'm!

  • KennieNL
  • Registratie: Mei 2007
  • Laatst online: 10-09 22:39
en als je nu ProFTPD niet met het init script start maar via:

proftpd -nd6

dit zou je debug output moeten geven.

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Ik heb ProFTPd in debug-mode gestart:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
 - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
 - parsing '/etc/proftpd/proftpd.conf' configuration
 - parsing '/etc/proftpd/modules.conf' configuration
 - dispatching auth request "name2uid" to module mod_auth_file
 - dispatching auth request "name2uid" to module mod_auth_unix
 - dispatching auth request "name2uid" to module mod_auth_file
 - dispatching auth request "name2uid" to module mod_auth_unix
 - mod_tls/2.1.1: using OpenSSL 0.9.8a 11 Oct 2005
 - DenyFilter: compiling deny regex '\*.*/'
 - dispatching auth request "getpwnam" to module mod_radius
 - dispatching auth request "getpwnam" to module mod_ldap
 - dispatching auth request "getpwnam" to module mod_sql
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_radius
 - dispatching auth request "getgrnam" to module mod_ldap
 - dispatching auth request "getgrnam" to module mod_sql
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - <IfModule>: using 'mod_tls.c' section at line 66
 - <IfModule>: skipping 'mod_quota.c' section at line 70
 - <IfModule>: skipping 'mod_ratio.c' section at line 74
 - <IfModule>: using 'mod_delay.c' section at line 82
 - <IfModule>: using 'mod_ctrls.c' section at line 86
 - mod_ctrls/0.9.4: closing ctrls socket '/var/run/proftpd/proftpd.sock' (3)
 - <IfModule>: skipping 'mod_ctrls_admin.c' section at line 94
 - IPv6 getaddrinfo 'vubuntu' error: Name or service not known
vubuntu -
vubuntu - Config for Debian:
vubuntu - DeferWelcome
vubuntu - DefaultServer
vubuntu - ShowSymlinks
vubuntu - TimeoutNoTransfer
vubuntu - TimeoutStalled
vubuntu - TimeoutIdle
vubuntu - DisplayLogin
vubuntu - DisplayFirstChdir
vubuntu - ListOptions
vubuntu - DenyFilter
vubuntu - UserID
vubuntu - UserName
vubuntu - GroupID
vubuntu - GroupName
vubuntu - Umask
vubuntu - DirUmask
vubuntu - AllowOverwrite
vubuntu - TransferLog
vubuntu - ExtendedLog
vubuntu - TLSEngine
vubuntu - DelayEngine
vubuntu - DefaultRoot
vubuntu - SQLAuthTypes
vubuntu - SQLAuthenticate
vubuntu - AuthOrder
vubuntu - SQLConnectInfo
vubuntu - SQLUserTable
vubuntu - SQLUsernameField
vubuntu - SQLPasswordField
vubuntu - SQLUidField
vubuntu - SQLGidField
vubuntu - SQLHomedirField
vubuntu - SQLShellField
vubuntu - SQLGroupTable
vubuntu - SQLGroupnameField
vubuntu - SQLGroupGIDField
vubuntu - SQLGroupMembersField
vubuntu - SQLMinID
vubuntu - SQLHomedirOnDemand
vubuntu - SQLLog_PASS
vubuntu - SQLNamedQuery_updatecount
vubuntu - SQLLog_STOR
vubuntu - SQLLog_DELE
vubuntu - SQLNamedQuery_modified
vubuntu - QuotaEngine
vubuntu - QuotaDirectoryTally
vubuntu - QuotaDisplayUnits
vubuntu - QuotaShowQuotas
vubuntu - SQLNamedQuery_get-quota-limit
vubuntu - SQLNamedQuery_get-quota-tally
vubuntu - SQLNamedQuery_update-quota-tally
vubuntu - SQLNamedQuery_insert-quota-tally
vubuntu - QuotaLimitTable
vubuntu - QuotaTallyTable
vubuntu - RootLogin
vubuntu - RequireValidShell
vubuntu - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
vubuntu - dispatching auth request "getgroups" to module mod_radius
vubuntu - dispatching auth request "getgroups" to module mod_ldap
vubuntu - dispatching auth request "getgroups" to module mod_sql
vubuntu - dispatching auth request "getgroups" to module mod_auth_file
vubuntu - dispatching auth request "getgroups" to module mod_auth_unix
vubuntu - error setting IPV6_V6ONLY: Protocol not available
vubuntu - ProFTPD 1.3.0 (stable) (built Sun Oct 15 11:31:30 UTC 2006) standalone mode STARTUP
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FTP session requested from unknown class              <----------------------------------------------------
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FTP session closed.
vubuntu - ProFTPD terminating (signal 2)
vubuntu - ProFTPD 1.3.0 standalone mode SHUTDOWN
vubuntu - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'


Op de plaats van de pijl connectte ik met telnet. De fout is dus 'FTP session requested from unknown class'. Als ik hier op google, vind ik een Duitse site, met daarop dat de MySQL-module niet goed is meegecompileerd. Dit lijkt mij toch vreemd, aangezien in het pakket proftpd-mysql in aptitude die module toch standaard meegecompileerd zou moeten zijn.

Acties:
  • 0 Henk 'm!

  • GrooV
  • Registratie: September 2004
  • Laatst online: 10-09 16:03
Waarom wil je IPV6 only zetten en dan met ipv4 connecten? Als je geen ipv6 gebruikt kan je het beter er helemaal uithalen. Met unknown class wordt denk ik het subnet class bedoelt

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
GrooV schreef op zondag 20 mei 2007 @ 20:48:
Waarom wil je IPV6 only zetten en dan met ipv4 connecten? Als je geen ipv6 gebruikt kan je het beter er helemaal uithalen. Met unknown class wordt denk ik het subnet class bedoelt
Geen idee, maar omdat dit niet zo'n probleem was (en de server gewoon functioneerde met deze error) had ik het laten zitten. Zelf heb ik het niet ingesteld. Het staat standaard zo in de Ubuntu package.

Maar ik heb dus maar even gegoogled, wel zo netjes als 't uit kan natuurlijk. Maar ik kan het niet helemaal vinden. Ik kwam een paar keer 'UseIPv6 off' tegen, maar hierop geeft ProFTPd een fatal error. Ik kwam ook een artikel tegen die claimde dat het mee wordt gecompiled? En ik heb de boel niet zelf gecompiled, dat deed aptitude voor me.

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Ik ben er nog steeds niet uit..

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Er moet hier toch zeker iemand zijn die ProFTPd met MySQL op Ubuntu/Debian heeft draaien? Is er niemand die mij hiermee kan helpen?

Acties:
  • 0 Henk 'm!

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 05-09 17:21

deadinspace

The what goes where now?

Proftpd's debug level gaat tot 10, dus je zou nog kunnen proberen proftpd te starten met
proftpd -nd10

Daarnaast, draait MySQL wel goed? Kun je zelf met MySQL verbinden op localhost (via netwerk, niet via socket)? Heb je rechten op die table?

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Ik heb ProFTPd in debugmode level 10 gestart: De laatste regels van de output, de eerste blijven niet in m'n terminal staan. |:(
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - dispatching directive 'LoadModule' to module mod_dso
 - dispatching event 'core.module-load' to mod_sql_mysql
 - dispatching event 'core.module-load' to mod_sql_postgres
 - FS: using system read()
 - FS: using system close()
 - dispatching directive 'ServerName' to module mod_core
 - dispatching directive 'ServerType' to module mod_core
 - dispatching directive 'DeferWelcome' to module mod_core
 - dispatching directive 'MultilineRFC2228' to module mod_core
 - dispatching directive 'DefaultServer' to module mod_core
 - dispatching directive 'ShowSymlinks' to module mod_ls
 - dispatching directive 'TimeoutNoTransfer' to module mod_xfer
 - dispatching directive 'TimeoutStalled' to module mod_xfer
 - dispatching directive 'TimeoutIdle' to module mod_core
 - dispatching directive 'DisplayLogin' to module mod_core
 - dispatching directive 'DisplayFirstChdir' to module mod_core
 - dispatching directive 'ListOptions' to module mod_ls
 - dispatching directive 'DenyFilter' to module mod_core
 - DenyFilter: compiling deny regex '\*.*/'
 - dispatching directive 'Port' to module mod_core
 - FS: using system read()
 - dispatching directive 'MaxInstances' to module mod_core
 - dispatching directive 'User' to module mod_core
 - dispatching auth request "getpwnam" to module mod_radius
 - dispatching auth request "getpwnam" to module mod_ldap
 - dispatching auth request "getpwnam" to module mod_sql
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - retrieved UID 105 for user 'proftpd'
 - dispatching directive 'Group' to module mod_core
 - dispatching auth request "getgrnam" to module mod_radius
 - dispatching auth request "getgrnam" to module mod_ldap
 - dispatching auth request "getgrnam" to module mod_sql
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - retrieved GID 65534 for group 'nogroup'
 - dispatching directive 'Umask' to module mod_core
 - dispatching directive 'AllowOverwrite' to module mod_xfer
 - dispatching directive 'TransferLog' to module mod_core
 - dispatching directive 'SystemLog' to module mod_log
 - dispatching directive 'ExtendedLog' to module mod_log
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: using 'mod_tls.c' section at line 66
 - dispatching directive 'TLSEngine' to module mod_tls
 - dispatching directive '</IfModule>' to module mod_core
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: skipping 'mod_quota.c' section at line 70
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: skipping 'mod_ratio.c' section at line 74
 - FS: using system read()
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: using 'mod_delay.c' section at line 82
 - dispatching directive 'DelayEngine' to module mod_delay
 - dispatching directive '</IfModule>' to module mod_core
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: using 'mod_ctrls.c' section at line 86
 - dispatching directive 'ControlsEngine' to module mod_ctrls
 - dispatching directive 'ControlsMaxClients' to module mod_ctrls
 - dispatching directive 'ControlsLog' to module mod_ctrls
 - dispatching directive 'ControlsInterval' to module mod_ctrls
 - dispatching directive 'ControlsSocket' to module mod_ctrls
 - mod_ctrls/0.9.4: closing ctrls socket '/var/run/proftpd/proftpd.sock' (3)
 - dispatching directive '</IfModule>' to module mod_core
 - dispatching directive '<IfModule>' to module mod_core
 - <IfModule>: skipping 'mod_ctrls_admin.c' section at line 94
 - FS: using system read()
 - dispatching directive 'DefaultRoot' to module mod_auth
 - dispatching directive 'SQLAuthTypes' to module mod_sql
 - dispatching directive 'SQLAuthenticate' to module mod_sql
 - dispatching directive 'AuthOrder' to module mod_core
 - dispatching directive 'SQLConnectInfo' to module mod_sql
 - FS: using system read()
 - dispatching directive 'SQLUserInfo' to module mod_sql
 - dispatching directive 'SQLGroupInfo' to module mod_sql
 - dispatching directive 'SQLMinID' to module mod_sql
 - dispatching directive 'SQLHomedirOnDemand' to module mod_sql
 - dispatching directive 'SQLLog' to module mod_sql
 - dispatching directive 'SQLNamedQuery' to module mod_sql
 - dispatching directive 'SQLLog' to module mod_sql
 - dispatching directive 'SQLNamedQuery' to module mod_sql
 - dispatching directive 'QuotaEngine' to module mod_quotatab
 - dispatching directive 'QuotaDirectoryTally' to module mod_quotatab
 - dispatching directive 'QuotaDisplayUnits' to module mod_quotatab
 - dispatching directive 'QuotaShowQuotas' to module mod_quotatab
 - FS: using system read()
 - dispatching directive 'SQLNamedQuery' to module mod_sql
 - dispatching directive 'SQLNamedQuery' to module mod_sql
 - dispatching directive 'SQLNamedQuery' to module mod_sql
 - dispatching directive 'SQLNamedQuery' to module mod_sql
 - dispatching directive 'QuotaLimitTable' to module mod_quotatab
 - FS: using system read()
 - dispatching directive 'QuotaTallyTable' to module mod_quotatab
 - dispatching directive 'RootLogin' to module mod_auth
 - dispatching directive 'RequireValidShell' to module mod_auth
 - FS: using system read()
 - FS: using system close()
 - attempting to resolve 'vubuntu' to IPv4 address via DNS
 - resolved 'vubuntu' to IPv4 address 127.0.1.1
 - attempting to resolve 'vubuntu' to IPv6 address via DNS
 - IPv6 getaddrinfo 'vubuntu' error: Name or service not known
vubuntu -
vubuntu - Config for Debian:
vubuntu - DeferWelcome
vubuntu - DefaultServer
vubuntu - ShowSymlinks
vubuntu - TimeoutNoTransfer
vubuntu - TimeoutStalled
vubuntu - TimeoutIdle
vubuntu - DisplayLogin
vubuntu - DisplayFirstChdir
vubuntu - ListOptions
vubuntu - DenyFilter
vubuntu - UserID
vubuntu - UserName
vubuntu - GroupID
vubuntu - GroupName
vubuntu - Umask
vubuntu - DirUmask
vubuntu - AllowOverwrite
vubuntu - TransferLog
vubuntu - ExtendedLog
vubuntu - TLSEngine
vubuntu - DelayEngine
vubuntu - DefaultRoot
vubuntu - SQLAuthTypes
vubuntu - SQLAuthenticate
vubuntu - AuthOrder
vubuntu - SQLConnectInfo
vubuntu - SQLUserTable
vubuntu - SQLUsernameField
vubuntu - SQLPasswordField
vubuntu - SQLUidField
vubuntu - SQLGidField
vubuntu - SQLHomedirField
vubuntu - SQLShellField
vubuntu - SQLGroupTable
vubuntu - SQLGroupnameField
vubuntu - SQLGroupGIDField
vubuntu - SQLGroupMembersField
vubuntu - SQLMinID
vubuntu - SQLHomedirOnDemand
vubuntu - SQLLog_PASS
vubuntu - SQLNamedQuery_updatecount
vubuntu - SQLLog_STOR
vubuntu - SQLLog_DELE
vubuntu - SQLNamedQuery_modified
vubuntu - QuotaEngine
vubuntu - QuotaDirectoryTally
vubuntu - QuotaDisplayUnits
vubuntu - QuotaShowQuotas
vubuntu - SQLNamedQuery_get-quota-limit
vubuntu - SQLNamedQuery_get-quota-tally
vubuntu - SQLNamedQuery_update-quota-tally
vubuntu - SQLNamedQuery_insert-quota-tally
vubuntu - QuotaLimitTable
vubuntu - QuotaTallyTable
vubuntu - RootLogin
vubuntu - RequireValidShell
vubuntu - dispatching event 'core.postparse' to mod_delay
vubuntu - ROOT PRIVS at mod_delay.c:292
vubuntu - FS: using system open()
vubuntu - RELINQUISH PRIVS at mod_delay.c:294
vubuntu - FS: using system fstat()
vubuntu - mod_delay/0.5: mapping DelayTable '/var/run/proftpd/proftpd.delay' into memory
vubuntu - mod_delay/0.5: unmapping DelayTable '/var/run/proftpd/proftpd.delay' from memory
vubuntu - FS: using system close()
vubuntu - dispatching event 'core.postparse' to mod_ctrls
vubuntu - ROOT PRIVS at mod_ctrls.c:1610
vubuntu - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
vubuntu - RELINQUISH PRIVS at mod_ctrls.c:1612
vubuntu - dispatching event 'core.postparse' to mod_tls
vubuntu - dispatching auth request "getgroups" to module mod_radius
vubuntu - dispatching auth request "getgroups" to module mod_ldap
vubuntu - dispatching auth request "getgroups" to module mod_sql
vubuntu - dispatching auth request "getgroups" to module mod_auth_file
vubuntu - dispatching auth request "getgroups" to module mod_auth_unix
vubuntu - retrieved group ID: 65534
vubuntu - setting group ID: 65534
vubuntu - SETUP PRIVS at main.c:2897
vubuntu - ROOT PRIVS at main.c:1991
vubuntu - RELINQUISH PRIVS at main.c:1998
vubuntu - ROOT PRIVS at main.c:2346
vubuntu - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
vubuntu - RELINQUISH PRIVS at main.c:2372
vubuntu - dispatching event 'core.startup' to mod_core
vubuntu - dispatching event 'core.startup' to mod_ctrls
vubuntu - error setting IPV6_V6ONLY: Protocol not available
vubuntu - ROOT PRIVS at inet.c:323
vubuntu - RELINQUISH PRIVS at inet.c:381
vubuntu - ProFTPD 1.3.0 (stable) (built Sun Oct 15 11:31:30 UTC 2006) standalone mode STARTUP
vubuntu - ROOT PRIVS at main.c:2209
vubuntu - RELINQUISH PRIVS at main.c:2211
vubuntu - FS: using system lstat()


Wat er gebeurt als ik connect met telnet:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - ROOT PRIVS at main.c:1025
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - SETUP PRIVS at main.c:1030
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FTP session requested from unknown class
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - performing module session initializations
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - ROOT PRIVS at mod_quotatab.c:2329
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - RELINQUISH PRIVS at mod_quotatab.c:2336
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - ROOT PRIVS at mod_quotatab.c:2345
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - RELINQUISH PRIVS at mod_quotatab.c:2352
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching event 'core.exit' to core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching event 'core.exit' to mod_delay
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - ROOT PRIVS at mod_delay.c:828
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system open()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - RELINQUISH PRIVS at mod_delay.c:830
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - mod_delay/0.5: write-locking DelayTable '/var/run/proftpd/proftpd.delay'
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - mod_delay/0.5: mapping DelayTable '/var/run/proftpd/proftpd.delay' into memory
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - mod_delay/0.5: unmapping DelayTable '/var/run/proftpd/proftpd.delay' from memory
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - mod_delay/0.5: unlocking DelayTable '/var/run/proftpd/proftpd.delay'
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system write()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system close()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching event 'core.exit' to mod_ctrls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching event 'core.exit' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching event 'core.exit' to mod_quotatab
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FTP session closed.


Wat ik hier uit kan opmaken is dat de server wel verbinding kan maken met de MySQL-server, correct me if I'm wrong. De échte error kan ik er niet uithalen. :|

Acties:
  • 0 Henk 'm!

  • E-jey
  • Registratie: Juni 2001
  • Niet online
Disable mod_sql_postgres.c eens in je modules.conf?

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
E-jey schreef op donderdag 24 mei 2007 @ 16:38:
Disable mod_sql_postgres.c eens in je modules.conf?
Dat deed wonderen! :o _/-\o_
Ontzettend bedankt allemaal!

Ik ging er eigenlijk teveel vanuit dat die module niet meegecompileerd was. Onterecht dus, zo had ik eigenlijk wel aan het laatste log mogen zien. :z

Acties:
  • 0 Henk 'm!

  • E-jey
  • Registratie: Juni 2001
  • Niet online
ERIKvanPAASSEN schreef op donderdag 24 mei 2007 @ 16:59:
[...]

Dat deed wonderen! :o _/-\o_
Ontzettend bedankt allemaal!

Ik ging er eigenlijk teveel vanuit dat die module niet meegecompileerd was. Onterecht dus, zo had ik eigenlijk wel aan het laatste log mogen zien. :z
Dit is gewoon een bug van proftpd. Ik ben er uren mee bezig geweest om de oplossing te vinden. Vul jij een bugreport in? Ik ben er te lui voor :P

Acties:
  • 0 Henk 'm!

Verwijderd

E-jey schreef op donderdag 24 mei 2007 @ 17:05:
[...]


Dit is gewoon een bug van proftpd. Ik ben er uren mee bezig geweest om de oplossing te vinden. Vul jij een bugreport in? Ik ben er te lui voor :P
Je kan beter een fatsoenlijke ftpd draaien, bijvoorbeeld vsftpd. Ik mag hopen dat je ftp tunnelt over SSH.

Acties:
  • 0 Henk 'm!

  • E-jey
  • Registratie: Juni 2001
  • Niet online
Verwijderd schreef op donderdag 24 mei 2007 @ 17:11:
[...]


Je kan beter een fatsoenlijke ftpd draaien, bijvoorbeeld vsftpd. Ik mag hopen dat je ftp tunnelt over SSH.
Ik heb heel lang getwijfeld of ik vsftpd of proftpd moest draaien. Vanwege de mysql configuratie heb ik voor proftpd gekozen. Proftpd is voor zover ik weet veelgebruikt en veilig.

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
E-jey schreef op donderdag 24 mei 2007 @ 19:34:
[...]

Ik heb heel lang getwijfeld of ik vsftpd of proftpd moest draaien. Vanwege de mysql configuratie heb ik voor proftpd gekozen. Proftpd is voor zover ik weet veelgebruikt en veilig.
ProFTPd leek mij toch ook wel veilig. Zo veelgebruikt. Ik zal nog gaan beslissen over SSH tunneling, maar waarschijnlijk wordt 't zonder. Voorlopig is 't alleen maar een testbak om een systeem te ontwikkelen, maar later moet het echt dienst gaan doen.

Ik ben nu aan het prutsen met de quota. Het quota-record voor de gebruiker wordt nog niet bijgewerkt. Het wordt wel aangemaakt, als het niet bestaat, maar alle quota-waarden blijven op 0 staan. De user wordt wel netjes ingevuld. Hieruit valt, volgens mij, op te maken, dat het record wel elke keer wordt geüpdate, maar dat de variabelen de waarde 0 hebben.

Het deel van proftpd.conf met de quota-settings:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# User quotas
# ===========
QuotaEngine             on
QuotaDirectoryTally     on
QuotaDisplayUnits       Mb
QuotaShowQuotas         on

SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM ftpquotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"

SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM ftpquotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"

SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" ftpquotatallies

SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" ftpquotatallies

QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally


ProFTPd in debugmode:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using quotatab write()
...
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using quotatab write()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system close()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'STOR schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'STOR schoolkrant4.pdf' to mod_quotatab
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system lstat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'STOR schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'STOR schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'STOR schoolkrant4.pdf' to mod_log
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'STOR schoolkrant4.pdf' to mod_xfer
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - Transfer completed: 15108725 bytes in 1.91 seconds
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_rewrite
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching CMD command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD_ERR command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD_ERR command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD_ERR command 'MDTM 20070524095301 schoolkrant4.pdf' to mod_log
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'SIZE schoolkrant4.pdf' to mod_rewrite
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'SIZE schoolkrant4.pdf' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'SIZE schoolkrant4.pdf' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'SIZE schoolkrant4.pdf' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching CMD command 'SIZE schoolkrant4.pdf' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - in dir_check_full(): path = '/schoolkrant4.pdf', fullpath = '/home/www.example.com/schoolkrant4.pdf'.
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'SIZE schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'SIZE schoolkrant4.pdf' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'SIZE schoolkrant4.pdf' to mod_log
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'TYPE A' to mod_rewrite
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'TYPE A' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'TYPE A' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'TYPE A' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching CMD command 'TYPE A' to mod_xfer
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'TYPE A' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'TYPE A' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'TYPE A' to mod_log
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'PASV' to mod_rewrite
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'PASV' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'PASV' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'PASV' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching CMD command 'PASV' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - in dir_check_full(): path = '/', fullpath = '/home/www.example.com/'.
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - error setting IPV6_V6ONLY: Protocol not available
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - Entering Passive Mode (192,168,10,12,237,51).
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'PASV' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'PASV' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'PASV' to mod_log
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'LIST -aL' to mod_rewrite
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'LIST -aL' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'LIST -aL' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching CMD command 'LIST -aL' to mod_ls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - UseReverseDNS off, returning IP address instead of DNS name
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - passive data connection opened - local  : ::ffff:192.168.10.12:60723
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - passive data connection opened - remote : ::ffff:192.168.10.11:57615
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - in dir_check_full(): path = '/', fullpath = '/home/www.example.com/'.
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system opendir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system readdir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system readdir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system readdir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system readdir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system readdir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system closedir()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system lstat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "gid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "uid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system lstat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "gid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "uid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system lstat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - in dir_check_full(): path = '/Thumbnail_120.PspScript', fullpath = '/home/www.example.com/Thumbnail_120.PspScript'.
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "gid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "uid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system lstat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - in dir_check_full(): path = '/schoolkrant4.pdf', fullpath = '/home/www.example.com/schoolkrant4.pdf'.
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - FS: using system stat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "gid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching auth request "uid2name" to module mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'LIST -aL' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'LIST -aL' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'LIST -aL' to mod_log
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'LIST -aL' to mod_ls
vubuntu - FS: using system lstat()
vubuntu - FS: using system lstat()
vubuntu - FS: using system lstat()
vubuntu - FS: using system lstat()
vubuntu - scrubbing scoreboard
vubuntu - ROOT PRIVS at mod_core.c:131
vubuntu - RELINQUISH PRIVS at mod_core.c:133
vubuntu - ROOT PRIVS at mod_core.c:161
vubuntu - RELINQUISH PRIVS at mod_core.c:192
vubuntu - FS: using system lstat()
vubuntu - FS: using system lstat()
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'NOOP' to mod_rewrite
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'NOOP' to mod_tls
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'NOOP' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching PRE_CMD command 'NOOP' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching CMD command 'NOOP' to mod_core
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching POST_CMD command 'NOOP' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'NOOP' to mod_sql
vubuntu (::ffff:192.168.10.11[::ffff:192.168.10.11]) - dispatching LOG_CMD command 'NOOP' to mod_log
vubuntu - FS: using system lstat()

Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Het lijkt mij dat die quota-settings goed staan, maar de quota werken nog steeds niet. |:(

[ Voor 12% gewijzigd door ERIKvanPAASSEN op 25-05-2007 22:30 ]


Acties:
  • 0 Henk 'm!

  • ERIKvanPAASSEN
  • Registratie: September 2006
  • Laatst online: 09-08 17:46
Deze krijgt nog maar een schopje.

Acties:
  • 0 Henk 'm!

  • Tomsworld
  • Registratie: Maart 2001
  • Niet online

Tomsworld

officieel ele fan :*

Ik heb een gelijkaardig probleem, debian 4.0

Als ik connect naar de server
421 Service not available, remote server has closed connection
Enige ding dat ik in debug vindt is:
FTP session requested from unknown class

"De kans dat een snee brood op een nieuw tapijt valt met de beboterde zijde onderaan, is recht evenredig met de prijs van het tapijt"

Pagina: 1