LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-28-2007, 01:48 AM   #1
S0uthy
LQ Newbie
 
Registered: Aug 2006
Location: Canada
Distribution: Fedora 7
Posts: 3

Rep: Reputation: 0
Angry 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?
 
Old 09-29-2007, 06:48 AM   #2
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
sounds like a permissions problem on your domain directory.

from root run the following command

#ls -al /var/www/html/

and post the results.
 
Old 09-29-2007, 07:43 PM   #3
S0uthy
LQ Newbie
 
Registered: Aug 2006
Location: Canada
Distribution: Fedora 7
Posts: 3

Original Poster
Rep: Reputation: 0
/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
 
Old 10-01-2007, 01:21 AM   #4
S0uthy
LQ Newbie
 
Registered: Aug 2006
Location: Canada
Distribution: Fedora 7
Posts: 3

Original Poster
Rep: Reputation: 0
Talking 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.
 
  


Reply

Tags
apache, hellanzb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied in apache packets Linux - Newbie 2 05-20-2007 06:15 PM
Permission denied on Apache after install riluve Linux - Software 2 05-13-2006 10:44 PM
permission denied on .htaccess files in Apache scott.anderson Linux - Software 3 12-16-2005 12:19 PM
Can't connect... permission denied bm322 Linux - Security 2 07-18-2005 09:41 AM
permission denied to connect by root suguname Linux - Networking 1 03-05-2005 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration