Posted on: 04/08/05 02:25pm
By: Anonymous (Bradster)
I am working on installing geeklog on Centos 4. I get an error on the check.php webpage on my directories outside of the webservers folder.
Could not open error.log and access.log for writing.
Please check that you have set the logs directory and the files error.log and access.log in that directory to chmod 775.
Current permissions for logs: 775
Current permissions for error.log: 775
Current permissions for access.log: 775
I have checked, checked, and double checked my permissions and I am just at a loss. I've installed / reinstalled quite a few times with the same results. I've changed the permissions to 777 The site comes up ok. I've read the documentation so many times that I'm blue in the face. I'd be glad to give someone full access to see what I'm missing. This is just a test server and it will be reinstalled anyways.
erros on check.php
Posted on: 04/09/05 02:58am
By: knuff
If 777 works fine, but 775 does not, this means that your webservers daemon does not belong to your current assigned group.
You have three options.
1. Change the owner to the http daemon (httpd).
Chown -R httpd log_directory
Chmod -R 775 log_directory
...
2. Add the httpd user to your current assigned group for these directories.
This could be something like depending on your flavor.
usermod -G yourgroup httpd
3. Assign 777.
Not really recommended.
Hopes this help.
Boris
erros on check.php
Posted on: 04/10/05 01:03am
By: Anonymous (Bradster)
I appreciate the input, but when I said that I've changed the permissions to 777, I didn't mean that that fixed it. I still receive an error on the data and logs directories. I didn't mean that when I changed permissions to 777, the site comes up ok. I meant that everything works except for the errors I am receiving on check.php. So, the site does come up, I just cannot backup the database, get geeklog to write to the logs directory, ..etc. Sorry for the confusion.
erros on check.php
Posted on: 04/10/05 01:08am
By: Anonymous (Bradster)
By the way, this is how I did things. I setup the geeklog program in the /opts directory. I chowned apache:apache to geeklog and subdirectories. I copied the stuff in public_html to /var/www/html . This is running on Centos 4, which is a RHEL based OS. I just don't know what I am doing wrong.