chroot -> pure-ftpd

Discussion in 'Server Operation' started by sparky87, Mar 4, 2009.

  1. sparky87

    sparky87 New Member

    Hi,
    i have installed pure-ftpd from source on my Fedora. i also use virtual users stored in MySQL.
    everything seems to be working. mysql authentication, finding users homedir in mysql table and so on.
    only one problem i have, is that chroot doesnt work. of course in my config file is: ChrootEveryone yes.
    and in fact, if the users are stored in PureDB, chroot works fine, without problems. so i guess, the problem
    won't be in my pureftpd config file. but i don't understand , why chroot doesn't work, when the users are stored in MySQL?
    i use pure-ftpd.1.0.21. and start it like this:
    /etc/init.d/pure-ftpd start
    Starting : Pure-FTPd Server Running: /usr/local/pureftpd/sbin/pure-
    ftpd -A -b -c100 -B -C4 -D -E -fftp -H -I5 -lmysql:/usr/local/pureftpd/etc/mysql.conf -L10000:3 -m4 -s -U133:022 -u2000 -i -Oclf:/var/log/pureftpd/transfers.log -j -g/var/run/pure-ftpd/pure-ftpd.pid -k95 -Z

    thanks for your answers
     
    Last edited: Mar 5, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

  3. sparky87

    sparky87 New Member

    thanks, i tried tutorial too. and i tried to isntall pure-ftpd by yum too, of course i have no reason to install it from source. i try everything. but anything helped yet.

    errors on logs -> in /var/log messages nothing. and the pure-ftpd havent done any other logs. so i really don't know what to do...
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you disable SELinux?
     
  5. sparky87

    sparky87 New Member

    of course :) but i solved it now, there was some another problem in MySQL...
    but thanks, falko
     

Share This Page