Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th March 2006, 04:01 AM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
Easy - EASY Apache Questions

I am also getting one of those - Forbidden you do not have permission to access /sdkskf/sdkfjsld

The user and Group for the apache server is Apache Apache...

I have tried setting it to run as a superuser (My Login) and it still does not work.... Any help would be greatly appreciated!!

Thanks!!
__________________
My love is in league with the fireeway...

Last edited by chris_y2k_r1; 29th March 2006 at 05:00 AM.
Reply With Quote
  #2  
Old 29th March 2006, 10:57 AM
foobar47's Avatar
foobar47 Offline
Registered User
 
Join Date: Nov 2005
Location: France - Lille
Posts: 406
Who is the owner of /sdkskf/ dir ?
__________________
My WebPage
RHCT for the moment !
Reply With Quote
  #3  
Old 29th March 2006, 11:28 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
and what are the permissions of the files you are trying to access?
Reply With Quote
  #4  
Old 29th March 2006, 04:31 PM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
The owner is Apache... The problem is I don't know exactly file the server is trying to access. I know the directory is /var/www/html/Cacti. That directory's owner and group is Apache. How can I find out what file(s) it's trying to access? I know one of them is index.php but if I execute that file by http://192.168.1.105/Cacti/index.php I still got the permissions error.
__________________
My love is in league with the fireeway...

Last edited by chris_y2k_r1; 29th March 2006 at 04:34 PM.
Reply With Quote
  #5  
Old 29th March 2006, 04:40 PM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
A little more info:

[Wed Mar 29 00:14:24 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Wed Mar 29 00:14:37 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti
[Wed Mar 29 00:14:37 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 00:14:38 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti
[Wed Mar 29 00:14:39 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 00:14:40 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti
[Wed Mar 29 00:14:40 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 00:14:41 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti
[Wed Mar 29 00:14:41 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 00:14:52 2006] [notice] caught SIGTERM, shutting down
[Wed Mar 29 00:16:13 2006] [notice] core dump file size limit raised to 4294967295 bytes
[Wed Mar 29 00:16:14 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 29 00:16:14 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 29 00:16:14 2006] [notice] Digest: done
[Wed Mar 29 00:16:14 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 29 00:16:14 2006] [notice] LDAP: SSL support unavailable
[Wed Mar 29 00:16:16 2006] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Wed Mar 29 00:16:16 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Wed Mar 29 10:40:52 2006] [notice] caught SIGTERM, shutting down
[Wed Mar 29 10:42:20 2006] [notice] core dump file size limit raised to 4294967295 bytes
[Wed Mar 29 10:42:21 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 29 10:42:21 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 29 10:42:21 2006] [notice] Digest: done
[Wed Mar 29 10:42:21 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 29 10:42:21 2006] [notice] LDAP: SSL support unavailable
[Wed Mar 29 10:42:23 2006] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Wed Mar 29 10:42:23 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Wed Mar 29 11:30:43 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/Cacti
[Wed Mar 29 11:30:43 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 11:30:51 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti/index.php
[Wed Mar 29 11:30:52 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 11:33:08 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti/
[Wed Mar 29 11:33:08 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 11:33:13 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti
[Wed Mar 29 11:33:13 2006] [error] [client 192.168.1.105] File does not exist: /var/www/html/favicon.ico
[Wed Mar 29 11:34:32 2006] [notice] caught SIGTERM, shutting down
[Wed Mar 29 11:34:35 2006] [notice] core dump file size limit raised to 4294967295 bytes
[Wed Mar 29 11:34:36 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 29 11:34:36 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 29 11:34:36 2006] [notice] Digest: done
[Wed Mar 29 11:34:36 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 29 11:34:36 2006] [notice] LDAP: SSL support unavailable
[Wed Mar 29 11:34:37 2006] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Wed Mar 29 11:34:37 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
__________________
My love is in league with the fireeway...
Reply With Quote
  #6  
Old 29th March 2006, 07:31 PM
huw-l Offline
Registered User
 
Join Date: Apr 2004
Location: Cardiff, UK
Age: 35
Posts: 315
is /sdkskf/sdkfjsld under /var/www/html? If not then this is probably an SElinux problem. Apache is only allowed to access files under /var/www/html by the default SElinux policy
Reply With Quote
  #7  
Old 29th March 2006, 07:34 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
It may be an SE Linux problem. Look at chcon command and look at file's context settings with ls -Z. Search the forum on chcon, SE Linux, apache.
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #8  
Old 29th March 2006, 08:33 PM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
I'm almost 100% sure that I have selinux disabled. How to I check to see if I do???
__________________
My love is in league with the fireeway...
Reply With Quote
  #9  
Old 29th March 2006, 09:47 PM
jowah Offline
Registered User
 
Join Date: Dec 2004
Location: Under your bed
Posts: 293
Quote:
Originally Posted by chris_y2k_r1
I'm almost 100% sure that I have selinux disabled. How to I check to see if I do???
Several ways:

1 Use "sestatus"
Example output:
Code:
[someguy@localhost ~]$ /usr/sbin/sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 20
Policy from config file:        targeted
2 The GUI way.
Start system-config-securitylevel either from a terminal window or from the desktop menu. In English language versions of Fedora Core 5, I think it's "System->Administration->Security level and firewall" or something similar.

Check under the SELinux tab. Should be pretty obvious from there.

Last edited by jowah; 29th March 2006 at 09:51 PM.
Reply With Quote
  #10  
Old 29th March 2006, 09:54 PM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
Yup, Selinux is disabled... So that's not the problem.
__________________
My love is in league with the fireeway...
Reply With Quote
  #11  
Old 29th March 2006, 09:55 PM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
Quote:
Originally Posted by huw-l
is /sdkskf/sdkfjsld under /var/www/html? If not then this is probably an SElinux problem. Apache is only allowed to access files under /var/www/html by the default SElinux policy

Sorry man, I was just using that string as an example. /sdkskf/sfk doesn't exist it's the cacti directory I specified.
__________________
My love is in league with the fireeway...
Reply With Quote
  #12  
Old 29th March 2006, 10:02 PM
jowah Offline
Registered User
 
Join Date: Dec 2004
Location: Under your bed
Posts: 293
Quote:
Originally Posted by chris_y2k_r1
Yup, Selinux is disabled... So that's not the problem.
Hint 1: your log files:
Quote:
...
[Wed Mar 29 00:14:38 2006] [error] [client 192.168.1.105] client denied by server configuration: /usr/share/cacti
...
(ad nauseum)

Hint 2: /etc/httpd/conf.d/cacti.conf

You do the math...
Reply With Quote
  #13  
Old 30th March 2006, 08:41 AM
foobar47's Avatar
foobar47 Offline
Registered User
 
Join Date: Nov 2005
Location: France - Lille
Posts: 406
Did you follow this one :

http://www.cacti.net/downloads/docs/...tall_unix.html
__________________
My WebPage
RHCT for the moment !
Reply With Quote
  #14  
Old 31st March 2006, 02:09 AM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
Quote:
Originally Posted by jowah
Hint 1: your log files:
(ad nauseum)

Hint 2: /etc/httpd/conf.d/cacti.conf

You do the math...
Thanks you Thanks Jowah. I am not a Linux expert but I should atleast be able to read! Doh!

Do you run cacti???
__________________
My love is in league with the fireeway...
Reply With Quote
  #15  
Old 31st March 2006, 02:12 AM
chris_y2k_r1 Offline
Registered User
 
Join Date: Feb 2006
Location: PA
Posts: 135
Quote:
Originally Posted by foobar47
Yes I did.

There alot more to it than what the list there.

My problem is not that when I run poller.php from the command line I get no output other than:
segmentation fault.

I haven't the slightest what that means. I am assuming that the problem lies in php/mysql. I am very new to each of these and I am not sure where to beign trouble shooting - especially with the lack out information. I have posted over on the cacti forums but they are completely dead - no one responds over there so I thank all of you for your help and any additional inpute would be great!!
__________________
My love is in league with the fireeway...
Reply With Quote
Reply

Tags
apache, easy, questions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two easy questions. JonnyUrsin Using Fedora 2 30th July 2008 02:13 PM
Three (hopefully) easy questions Nomadic Logic Installation and Live Media 5 21st June 2007 04:01 PM
A few easy* questions ChiZ_MacT Using Fedora 5 13th June 2007 10:18 AM
Easy Questions-Need Help akalbfell Using Fedora 3 3rd December 2006 03:27 AM
Easy iptables questions... OoteR Security and Privacy 7 21st January 2006 11:57 PM


Current GMT-time: 05:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat