Toon posts:

gproftpd kan niet worden geactiveerd

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb recentelijk ubuntu geinstalleerd en wil hierop graag een ftp server draaien.

na wat rondzoeken ben ik uitgekomen bij gproftpd (grafische shell voor proftpd) maar loop nog steeds tegen configuratie issues aan. Ik heb wat rond gegoogled en een aantal mogelijke oplossingen geprobeerd maar tot dusver lukt het niet om de boel goed aan de praat te krijgen.

probleem: wanneer je op activate drukt blijft status deactivated actief. er volgen geen error messages

IP Adress geconfigureerd richting router is 10.0.0.155
versies: linux: Ubuntu 8.1x ; proftpd 3.1.3; gproftpd 0.3.5

screenshots:
-screenshots removed-

configuratie:

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
DefaultServer on
Umask 022
ServerName "0.0.0.0"
ServerIdent off "myftp"
ServerAdmin email@hotmail.com
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49169 65534
MasqueradeAddress 10.0.0.155
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 off
TLSRequired off
TLSVerifyClient off
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
</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
  DenyALL
</Limit>

<Anonymous /var/ftp>
User anonymous
Group users
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<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>

[ Voor 3% gewijzigd door Verwijderd op 04-01-2009 07:09 ]


  • DiedX
  • Registratie: December 2000
  • Laatst online: 19:48
tail -f /var/log/syslog

Al geprobeerd met de hand te starten?

DiedX supports the Roland™, Sound Blaster™ and Ad Lib™ sound cards


Verwijderd

Topicstarter
hmm... nope...

pc01@pc01-desktop:~$ tail -f /var/log/syslog
Jan 2 19:38:22 pc01-desktop -- MARK --
Jan 2 19:40:41 pc01-desktop dhclient: DHCPREQUEST of 10.0.0.155 on eth0 to 10.0.0.138 port 67
Jan 2 19:40:41 pc01-desktop dhclient: DHCPACK of 10.0.0.155 from 10.0.0.138
Jan 2 19:40:41 pc01-desktop dhclient: bound to 10.0.0.155 -- renewal in 3341 seconds.
Jan 2 19:58:22 pc01-desktop -- MARK --
Jan 2 20:17:01 pc01-desktop /USR/SBIN/CRON[9918]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 2 20:36:22 pc01-desktop dhclient: DHCPREQUEST of 10.0.0.155 on eth0 to 10.0.0.138 port 67
Jan 2 20:36:22 pc01-desktop dhclient: DHCPACK of 10.0.0.155 from 10.0.0.138
Jan 2 20:36:22 pc01-desktop dhclient: bound to 10.0.0.155 -- renewal in 3301 seconds.
Jan 2 20:58:22 pc01-desktop -- MARK --

  • Luqq
  • Registratie: Juni 2005
  • Laatst online: 26-01 11:18
code:
1
/etc/init.d/proftpd start


:?

Verwijderd

Topicstarter
hmm... goed nieuws... foutmeldingen...

pc01@pc01-desktop:~$ /etc/init.d/proftpd start
mkdir: cannot create directory `/var/run/proftpd': Permission denied
* Starting ftp server proftpd - notice: unable to bind to Unix domain socket at '/var/run/proftpd/test.sock': No such file or directory
- notice: unable to listen to local socket: Operation not permitted
- Fatal: SystemLog: unable to redirect logging to '/var/log/secure': Permission denied on line 33 of '/etc/proftpd/proftpd.conf'

  • Luqq
  • Registratie: Juni 2005
  • Laatst online: 26-01 11:18
code:
1
sudo /etc/init.d/proftpd start


of:
code:
1
2
su
/etc/init.d/proftpd start


:)

edit: heb je proftpd-common wel geinstalleerd?

[ Voor 20% gewijzigd door Luqq op 02-01-2009 21:11 ]


Verwijderd

Topicstarter
configuratie is opnieuw aangepast en rechten opnieuw ingesteld. starten vanaf gproftpd werkt niet... via de commandline wel. activate wordt enabled.

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
ServerType standalone
DefaultServer on
Umask 022
ServerName "0.0.0.0"
ServerIdent on "My FTP Server"
ServerAdmin email@example.org
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
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 off
TLSRequired off
TLSVerifyClient off
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
</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
  DenyALL
</Limit>

<Anonymous /var/ftp>
User anonymous
Group anonymous
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<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>

  • blaataaps
  • Registratie: Juli 2001
  • Niet online
Waarom moet dat per se met een gui? En zou je code-tags om je pastes heen willen zetten, dan worden ze leesbaar :)
Pagina: 1