Page 1 of 1

After upgrade to 9.5.2 - proftpd log "Preparing to chroot"

Posted: Wed Jun 23, 2010 3:27 am
by albans
Hello,

I just upraded plesk from 9.2.1 to 9.5.2 (CentOS 5.2). Everything runs smoothly, thanks for the good job done @ Parallels!

I only see one little problem:
- in the general logs ("/var/log/messages"), I see a line that occurs each time an ftp user uploads a file: "Preparing to chroot to directory"
- everything's work
- my only problem is that this notice/error give a lot of lines in my nightly logwatch

So, how can I stop getting this line? And am I right, this is not a big error (as everything's work)?

Thanks.

Re: After upgrade to 9.5.2 - proftpd log "Preparing to chroo

Posted: Wed Jun 23, 2010 8:13 am
by scott
are you talking about the proftp ones about not being able to find user id 0, or something like that? If so thats a harmless message, its actually a good thing indicating that the chroot is working

Re: After upgrade to 9.5.2 - proftpd log "Preparing to chroo

Posted: Wed Jun 23, 2010 8:52 am
by albans
I think it's an harmless message, but then I would like to get rid of it, as my nightly logwatch get bigger for nothing...

Re: After upgrade to 9.5.2 - proftpd log "Preparing to chroo

Posted: Fri Jun 25, 2010 8:42 am
by albans
I found the way to configure the nightly logwatch in order to ignore this kind of messages.

I simply edited the file /etc/logwatch/conf/ignore.conf as follow:

Code: Select all

###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT #####
Preparing to chroot to directory