PDA

View Full Version : Hi chmod again


mattieu
10-6-03, 11:58 AM
Hi,

Still some problems;

when trying to access my stats browser shows
"You might not have permission to view this directory or page using the credentials you supplied."

l realised "crontab" had to be uploaded in ASCII, does this applies to all files for Awstats.

l use WS-FTP LE as FTP server, when l right click and select CHMOD (UNIX), it shows chmod 744 awstats.pl & then 200 permissions changed on awstats.pl .
Why does it show 744 and not 755?

Otherwise, l have read and re-read the instructions, adjusted where l made some mistakes.

Please enlighten me, l want to go the end of that matter. if you need any more details to see where l might have made a mistake, don't hesitate to ask.

This is an error line taken from my log
"[Mon Oct 6 08:09:03 2003] [error] [client ] (13)Permission denied: access to /cgi-bin/awstats.pl failed because search permissions are missing on a component of the path"


Many thanks,

Mattieu
:)

YvetteKuhns
10-6-03, 01:30 PM
Hello Mattieu,

Check the permissions on related files AND the folders where they reside. Sometimes you can reupload a file and the permissions get changed without your knowledge. Be sure that all perl, cgi, php, html and other text files are uploaded in ASCII. Images are uploaded in Binary. Check all files to be sure they are in the correct directories (folders).

mattieu
10-6-03, 01:48 PM
Thanks for the advice, re-uploaded all files (personalised to my user name, etc...)to the correct folders, chmoded all except crontab (as specified), uploaded icon folder in htdocs as binary and chmoded it as well.

Still does not work.

When l chmod it comes as chmod 744? why not 755?

Then as error mentioned in previous message, IE gives
"HTTP Error 403 - Forbidden
Internet Explorer "

When l look at my "cron err." log it says
"Fatal error: Unknown(): Unable to open /www/*/***/etc/cron.php in Unknown on line 0

This is my crontab (is this right)
45 2 * * * /www/*/***/cgi-bin/awstats.pl -config=***.com -update>>/www/*/***/logs/cronaw.log 2>>/www/*/***/logs/cronaw.err

akk on 1 line


l replaced u and site by ***

Thanks to look at it again,

Mattieu:cool:

YvetteKuhns
10-6-03, 02:15 PM
See http://www.adminschoice.com/docs/crontab.htm or
http://duplex.hypermart.net/books/bsd/111-114.html for more info on Unix crontab.