PDA

View Full Version : 500 internal server error w/awstats


rosesmove
11-9-03, 04:08 PM
I don't know what I'm doing wrong. I've tried everything I've found here. I added the www to my crontab file and made sure there were 2 lines after the text. I made sure my conf file was an actual conf file and not a text file. I put the www in the name of it. I tried it without adding www in those places. Do I need to make sure the original conf file is also in the directory as well as the one I saved it as? I'm pretty sure I'm using the right username (r/rosesmove). I've followed the instructions in the tutorial to the letter. I can't think what the problem might be.

(jj)
11-9-03, 05:29 PM
I'm sure you've probably done all of these already, but just to be sure:

1. Did you upload your conf file to the cgi-bin?

2. Did you place your crontab file in the "etc" folder? (you would most likely need to create the etc folder, at the same level as htdocs)

3. Did you Chmod (set permission) for the awstats.pl file to 755?

You might also want to just rename your conf file to awstats.conf this is one of the file name defaults that awstats will check for.

rosesmove
11-9-03, 06:02 PM
How exactly do you change the permission to 755? I renamed the conf file like you suggested - still getting the error message. Thanks for responding.

(jj)
11-9-03, 07:41 PM
What program do you use to upload your files? Setting permissions (Chmoding) depends on which FTP program you are using.

Most FTP programs allow you to right click the file and it will bring up a menu. On the menu is either "Permission" or "Properties".. this is where you'd set the Chmod level to 755

rosesmove
11-9-03, 08:51 PM
I have WS FTP95, and when I right-click and go to chmod, it tells me permissions are available only with UNIX, so I can't change it to 755.

(jj)
11-10-03, 05:32 AM
I believe that means that Chmod is only available on a Unix type "Server". Powweb IS a Unix type server, so you should be able to use Chmod.

You are trying to Chmod the file that is already uploaded, correct? That is the one you need to set permissions on, you can not set the permissions prior to uploading.

rosesmove
11-10-03, 10:13 AM
Yes, I am right-clicking on the uploaded file.

When I go into the option of chmod (UNIX), it has 3 categories listed. Owner, Group, Other. In these categories are 3 options: read, write, and execute. In Owner, read and write are checked in the check boxes. In Group and Other, only read is checked. There's no place to put a 755 or anything else. I don't know what to do at this point.

tbonekkt
11-10-03, 10:21 AM
http://help.powweb.com/tutorials/ftp/chmod.php

rosesmove
11-10-03, 11:41 AM
Well, now, all right! Thank you, Tbone and JJ! I went in and checked all 3 boxes under Owner and checked read and exec. under the other 2 categories, now it's working! Very happy camper.