Web Hosting Talk







View Full Version : logfile


babak
06-28-2002, 04:24 AM
Hi Can somebody tell me wat this is?

Jun 27 10:56:47 www proftpd[10349]: AllowChmod is deprecated, and will not work consistantly, use <Limit SITE_CHMOD> instead.


TNX,

regards,
babak

wmac
06-28-2002, 04:57 AM
Have you modified your proftpd configuration file with something like webmin?

It seems you have added a configuration option that new version of proftpd does not support it.

It suggests you to use new option available for this new version.


Mac (Siamak)

aljuhani
06-30-2002, 03:22 AM
Hello..

It appears you have Cobalt Raq server, anyway edit /etc/proftpd.conf as below:


# AllowChmod on
<Limit SITE_CHMOD>
</Limit>

babak
06-30-2002, 03:26 AM
Hi

That's not the anwser, I have already edited my proftpd.conf and chmod is allowed. I get this error since last security update of sun. ( week ago).

TNX,

Regards,
Babak

aljuhani
06-30-2002, 06:15 AM
Yes this happens after installing the security update from cobalt
RaQ4-All-Security-2.0.1-13323.pkg

Ok here is what you need to do in details:

edit the /etc/proftpd.conf file

Comment out (notice #) the AllowChmod line;

<Global>
# AllowChmod on
<Limit Site_CHMOD>
</Limit>
# Report localtime, not GMT
TimesGMT off
</Global>

and after saving the file:

cd /etc/rc.d/init.d
./inetd stop
./inetd start

Regards,

Al-Juhani

Regards,

babak
06-30-2002, 06:30 AM
hi

tnx for your replay.

so you mean that after ediding, he must look like this:

<Global>
AllowChmod on
<Limit Site_CHMOD>
</Limit>
Report localtime, not GMT
TimesGMT off
</Global>


This is what I have now in my proftpd.conf:

# Restore file permissions capability to site administrator
<Global>
AllowChmod on
# Report localtime, not GMT
TimesGMT off
</Global>


tnx.
regards,
babak

aljuhani
06-30-2002, 06:51 AM
No place a # in the begining of the "AllowChmod on" line as below:

# Restore file permissions capability to site administrator
<Global>
#AllowChmod on
# Report localtime, not GMT
TimesGMT off
</Global>

and not to forget to re-start your inetd as below:

cd /etc/rc.d/init.d
./inetd stop
./inetd start

then check your /var/messages log, things should be ok now

Regrads,
Al-Juhani

babak
06-30-2002, 06:54 AM
ok. But if I do that, my costumers wil be not allowd anymore to chmod there files throw the FTP.!!??? Please correct me if I am wrong.

tnx.
regards,
babak

aljuhani
06-30-2002, 08:22 AM
Hi..

OK the error message tells you exactly to use <Limit SITE_CHMOD> instead of Allowchmod, so when you hash out the Allowchmod line you need to add the following to proftpd.conf:

<Limit SITE_CHMOD>
AllowAll
</Limit>

If you use DenyAll, your customers won't be able to chmod thier files.

BTW always make a backup of your proftpd.conf file before doing any changes and If you want I can send you the portion of my proftpd.conf that have the above changes.

Regards,

Al-Juhani

aljuhani
06-30-2002, 10:38 AM
ok here is the part you need from my proftpd.conf file:

---------------------------------
# Restore file permissions capability to site administrator
<Global>
#AllowChmod on
<Limit SITE_CHMOD>
AllowAll
</Limit>
# Report localtime, not GMT
TimesGMT off
</Global>
-----------------------------------------

Sites containers and everything else remains the same.

Regards,

Al-Juhani

babak
07-01-2002, 04:42 AM
Thank you for your help. It works.

regards,
babak

D8Mike
07-09-2002, 10:30 PM
Had the exact same messages in my logs.

Thanks for the update ! Looks to have corrected my problem as well however in following the cd /etc/rc.d/init.d
./inetd stop
./inetd start

It would change direct. to root initd however it would give no such file or directorys or commands when trying to do a inetd stop and start.

I checked several sites to see that chmod worked correctly ! IT DID
and checked the tail -f /var/log/messages

and no longer have any errors or the message:
www proftpd[10349]: AllowChmod is deprecated, and will not work consistantly, use <Limit SITE_CHMOD> instead.

So again thanks for the Posting !