LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache Hellanzb 'Connect error: Permission denied (13)' (https://www.linuxquestions.org/questions/linux-server-73/apache-hellanzb-connect-error-permission-denied-13-a-587918/)

S0uthy 09-28-2007 01:48 AM

Apache Hellanzb 'Connect error: Permission denied (13)'
 
I setup a linux box running Fedora 7. I installed hellanzb-0.13 and it runs fine when run from the console. I wanted to setup the web interface and configured it to run Zussaweb and moved the files to /var/www/html/zussaweb in order for it to run live on the apache server.

However, when I load up a browser and try to access the web interface, I get the following error and it doesn't load:
Fault: Code: 5 Reason 'Connect error: Permission denied (13)'

I also tried using HellaWorld and I get more or less the same error:
Connect error: Permission denied (13)

Any ideas on how to fix this or what the problem is?

lucastic 09-29-2007 06:48 AM

sounds like a permissions problem on your domain directory.

from root run the following command

#ls -al /var/www/html/

and post the results.

S0uthy 09-29-2007 07:43 PM

/var/www/html
total 60
drwxr-xr-x 4 root root 4096 2007-09-29 20:41 .
drwxr-xr-x 8 root root 4096 2007-09-18 09:42 ..
drwxr-xr-x 8 root root 4096 2007-09-24 03:28 hellaworld
-rw-r--r-- 1 root root 25 2007-09-23 17:22 index.php
drwxr-xr-x 4 root root 4096 2007-09-25 23:00 zussaweb

/var/www/html/zussaweb
total 96
drwxr-xr-x 4 root root 4096 2007-09-25 23:00 .
drwxr-xr-x 4 root root 4096 2007-09-29 20:41 ..
-rwxr--r-- 1 root root 5451 2006-11-14 15:05 frontend.php
-rwxr--r-- 1 root root 4208 2006-11-02 09:07 functions.php
-rwxr--r-- 1 root root 1569 2006-11-14 15:05 index.php
-rwxr--r-- 1 root root 2118 2006-01-11 04:40 java.php
drwxr-xr-x 3 root root 4096 2006-04-01 10:19 lib
-rwxr--r-- 1 root root 359 2007-09-24 02:29 settings.php
-rwxr--r-- 1 root root 1250 2006-03-08 13:32 status.php
drwxr-xr-x 4 root root 4096 2006-04-01 10:19 styles
-rwxr--r-- 1 root root 1155 2006-01-12 06:17 styles.php

/var/www/html/hellaworld
total 140
drwxr-xr-x 8 root root 4096 2007-09-24 03:28 .
drwxr-xr-x 4 root root 4096 2007-09-29 20:41 ..
-rw-r--r-- 1 root root 6796 2007-08-29 17:09 CHANGELOG
drwxr-xr-x 3 root root 4096 2007-09-24 03:21 classes
-rwxr-xr-x 1 root root 2477 2007-07-28 11:03 completed.php
-rw-r--r-- 1 root root 56 2007-07-28 11:03 completed.xml
-rw-r--r-- 1 root root 790 2007-09-24 03:27 config.php
drwxr-xr-x 2 root root 4096 2007-09-24 03:21 images
-rw-r--r-- 1 root root 9268 2007-09-04 04:47 index.php
drwxr-xr-x 2 root root 4096 2007-09-24 03:21 js
-rw-r--r-- 1 root root 1829 2007-07-16 08:09 LICENCE
drwxr-xr-x 6 root root 4096 2007-09-24 03:21 locale
-rw-r--r-- 1 root root 2136 2007-07-16 08:09 progress.php
-rw-r--r-- 1 root root 2196 2007-09-04 04:47 README
drwxr-xr-x 2 root root 4096 2007-09-24 03:21 style
drwxr-xr-x 2 root root 4096 2007-09-24 03:21 templates

S0uthy 10-01-2007 01:21 AM

It works!
 
I was able to correct the problem, it turns out it was SELINUX that was not allowing me to connect.
Once I set SELINUX from "enforcing" to "permissive" mode it worked great.


All times are GMT -5. The time now is 03:32 PM.