Fedora Linux Support Community & Resources Center
  #1  
Old 9th February 2010, 02:14 AM
huntersj78's Avatar
huntersj78 Offline
Registered User
 
Join Date: Feb 2010
Location: Japan
Posts: 16
windows_xp_2003firefox
REDHAT LINUX Forbidden... Help!!

Hey everyone. I am new and have no idea what I am doing operating a server.
Our programmer got a new job and I am the one who has to take it over. Everything was fine til yesterday.
You see I made a control panel to easier update the site www(dot)discoverysound(dot)com

but yesterday when I went to update the site I got an error called fopen. I thought I fixed it (and boy did I ever) but now I cannot get to my site because it says Forbidden You don't have permission to access / on this server. Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7a DAV/2 PHP/4.3.3RC4-dev Server at www(dot)discoverysound(dot)comPort 80

I am losing mad money by my site not being up and just wanted to know if it is something I can fix before I go looking for a programmer. If someone could be kind enough to walk me through this I would pay for the assistance.
Reply With Quote
  #2  
Old 9th February 2010, 02:20 AM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,215
linuxfedorafirefox
And, what have the Red Hat support people (who you're paying for their expertise) told you?
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 9th February 2010, 02:22 AM
huntersj78's Avatar
huntersj78 Offline
Registered User
 
Join Date: Feb 2010
Location: Japan
Posts: 16
windows_xp_2003firefox
I am not paying anybody yet

Quote:
Originally Posted by bob View Post
And, what have the Red Hat support people (who you're paying for their expertise) told you?
I am still a noob on the server side of things. I have my own redhat linux that I use to run my site, but yesterday after the fopen error all hell broke loose. When I restart the server, nothing changes. I still get forbidden when I try to go the the website.

Thus I am asking for help here. I just hope someone can help.
Reply With Quote
  #4  
Old 9th February 2010, 02:24 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
macossafari
Try visiting your website and then check the contents of your /var/log/httpd/error_log file:
Code:
su -
tail /var/log/httpd/error_log
That should point you in the right direction. If you have SELinux enabled, you will also want to check /var/log/audit/audit.log for any AVC denial messages. Run this to see SELinux's status:
Code:
sestatus
If it is enabled, check for AVCs:
Code:
tail /var/log/audit/audit.log | grep AVC
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #5  
Old 9th February 2010, 02:24 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Hello,

Did you make backup of the files you touched first ? if so replace the bad ones.
From the error you made have changed a path
To better help, what ( in detail ) was the changes made ?

check /var/log/httpd error_log access_log
Reply With Quote
  #6  
Old 9th February 2010, 02:28 AM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,215
linuxfedorafirefox
Well.... before Dan pulls the trigger, I'm moving this over to Servers.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #7  
Old 9th February 2010, 02:39 AM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Meh. I put the Colt away. He seems legit enough for now.
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Reply With Quote
  #8  
Old 9th February 2010, 02:50 AM
huntersj78's Avatar
huntersj78 Offline
Registered User
 
Join Date: Feb 2010
Location: Japan
Posts: 16
linuxkonqueror
I am really sorry guys

I just have no idea what you said.. I put that extension at the end of my URL and still get the same deal. I cannot even access the root from within FTP because it says I am denied.

I am sorry I am not very helpful in receiving help. I know you all must think I am a complete moron, but hopefully I will be able to learn a few things this year so I dont have this problem again.

Someone said change the permissions, but they are always set to 644 and I have never had a problem with that. I am actually on the server now and trying to figure out what to do next.
Reply With Quote
  #9  
Old 9th February 2010, 02:55 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
try to access you website. Then do
# tail -25 /var/log/httpd/error_log
post output
Reply With Quote
  #10  
Old 9th February 2010, 03:01 AM
huntersj78's Avatar
huntersj78 Offline
Registered User
 
Join Date: Feb 2010
Location: Japan
Posts: 16
linuxkonqueror
After the website?

Quote:
Originally Posted by scott32746 View Post
try to access you website. Then do
# tail -25 /var/log/httpd/error_log
post output
Again sorry I am slow. access the website on the browser? Server? where do I type that code..after root@localhost?
Reply With Quote
  #11  
Old 9th February 2010, 03:03 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
from browser try to access website
As root
# tail -25 /var/log/httpd/error_log
Reply With Quote
  #12  
Old 9th February 2010, 03:08 AM
huntersj78's Avatar
huntersj78 Offline
Registered User
 
Join Date: Feb 2010
Location: Japan
Posts: 16
linuxkonqueror
like this??

Quote:
Originally Posted by scott32746 View Post
from browser try to access website
As root
# tail -25 /var/log/httpd/error_log
http://www.discoverysound.com/index.html/#tail -25 /var/log/httpd/error_log
Reply With Quote
  #13  
Old 9th February 2010, 03:12 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
I did the the browser part

just logon the server from the command line type

You are going to need to be super user / su -
tail -25 /var/log/httpd/error_log
Reply With Quote
  #14  
Old 9th February 2010, 03:19 AM
huntersj78's Avatar
huntersj78 Offline
Registered User
 
Join Date: Feb 2010
Location: Japan
Posts: 16
linuxkonqueror
Super User??

Quote:
Originally Posted by scott32746 View Post
I did the the browser part

just logon the server from the command line type

You are going to need to be super user / su -
tail -25 /var/log/httpd/error_log
I am logged on to the server as an administrator. I tried to type what you said and this is what I got:::

permission denied...
Reply With Quote
  #15  
Old 9th February 2010, 03:21 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
then you must not be root

did you get on the server with an ID then do something like

su -
or
sudo su -
Reply With Quote
Reply

Tags
linux, redhat

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
I wanna download RedHat linux Manual from www.redhat.com jiawj Using Fedora 3 18th October 2004 06:19 AM


Current GMT-time: 22:20 (Wednesday, 22-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