CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Application & Software Support
  Why is Apachie not Displaying my Index.html Web page ?

 

 Bottom   Previous Topic   Next Topic
12>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  SILLAT_JAM
      SILLAT_JAM
Why is Apachie not Displaying my Index.html Web page ?
#1
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Hi All This is my 1st post on the Centos Forums, i'm not new to Linux but i'm a noob when it comes to designing or setting up Webserver/web pages.
I'm running Centos 5.2 inside VirtualBox as guest OS, i manage to easily setup a Lamp Web server with Mysql, Php, Apachie, PhpmyAdmin & webmin thanks to this post here http://www.howtoforge.net/quick-n-easy-lamp-server-centos-rhel I know it is up and working because i can see my apachie page on my Ip address (192.168.2.5)
I started to design Webpages with KompoZer and i also downloded a Web template from here: http://www.oswd.org/design/preview/id/3577 .. then extracted the files (index.html,style.css and folder with images) and place them in the /var/www/html but when i go to my Ip address i still see the default apachie page even after i restart apachie. . how can i install a Web template or where by default should u put your webpages so that apachie displays it when i go to my ip address ?
When i create my index.html with kompoZer where should i put it that when i go to my ip address it gets displayed by apachie.
Is komposer a good html editor for a noob?
This Website is a Pet Project of mine, its not commercial, just a personal Project of mine to get in tune to Website and WebPage Developement
Any help will be appreciated... Thanks in advance
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/24 19:47
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Why is Apachie not Displaying my Index.html Web page ?
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 7786
Welcome to the CentOS fora.

No idea why your index.html page would not show up if it is in the DocumentRoot as specified in /etc/httpd/conf/httpd.conf - should not matter how it was created. Try temporarily disabling the firewall and selinux to test, but it the default page shows up don't see why that would be the problem. I assume you are using Bridged networking. You don't say what the host OS is, but that should not matter.

I must say, you should read the 5.4 release notes and follow the procedure in section 4 avoid problems while updating. You are way behind on bug-fix and security patches. 5.2 is now two point releases behind.
_________________
Phil
Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/1/24 23:28
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#3
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Thanks for the reply and suggestions, i'll try disable SELINUX and see what happens, earlier on i actually open port 80 on my firewall an i was still able to see the default apachie page from another computer on the network so i'm a lil confused why my index.html was not picking up. My Host OS is using bridge networking
I've been wanting to try Centos from 5.2 but i jus get around to install and set it up now, i downloaded 5.4 but the dvd was having issues so i used 5.2 maybe i'll jus try burn the dvd again, and do a clean install of 5.4 if i cant solve this one because its a real show stopper.
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/25 1:46
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Why is Apachie not Displaying my Index.html Web page ?
#4
Moderator
Joined: 2006/9/3
From California, US
Posts: 5172
First, double-check the /var/www/html/index.html file exists and the DocumentRoot is set to /var/www/html . Then try entering http://192.168.2.5/index.html in your browser. Do you see that page? If not, how about entering file://var/www/html/index.html on the apache server itself?
_________________
Useful links: Search Forums; Forum FAQ; CentOS Wiki
Posted on: 2010/1/25 2:35
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Why is Apachie not Displaying my Index.html Web page ?
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 7786
Quote:

SILLAT_JAM wrote:
...i downloaded 5.4 but the dvd was having issues so i used 5.2 maybe i'll jus try burn the dvd again, and do a clean install of 5.4...


Check the md5sum or sha1sum to make sure you had a good download. A reinstall would not hurt, particularly as it's pretty easy to create a new VM if you have the space; however, you can get to 5.4 just fine with "yum update" following the previously-cited release notes. You could also update (following the steps in the release notes) from the 5.4 DVD media with
yum --disablerepo \* enablerepo c5-media ...
or with an anaconda upgrade.
_________________
Phil
Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/1/25 12:57
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#6
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Quote:

toracat wrote:
First, double-check the /var/www/html/index.html file exists and the DocumentRoot is set to /var/www/html . Then try entering http://192.168.2.5/index.html in your browser. Do you see that page? If not, how about entering file://var/www/html/index.html on the apache server itself?

Jus Checked my apachie /etc/httpd/conf/httpd.conf file and document root is set to /var/www/html ( DocumentRoot "/var/www/html")
My index.html file is present in /var/wwww/html HOWEVER when i go to http://192.168.2.5/index.html i get: "403 Forbidden You don't have permission to access /index.html on this server"
What exactly does that error message means ? Seem like some permission issues. . . can someone help me sort out this 504 error message as well as my permissions as it relates to this website
Thanks . . . .
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/25 19:46
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Why is Apachie not Displaying my Index.html Web page ?
#7
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 7786
Please show "ls -lF /var/www/html". What does "getenforce" show? May want to read the SELinux and SelinuxBooleans Wiki articles.
_________________
Phil
Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/1/25 19:56
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#8
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Quote:

pschaff wrote:
Please show "ls -lF /var/www/html". What does "getenforce" show? May want to read the SELinux and SelinuxBooleans Wiki articles.

Here's the result of Please show "ls -lF /var/www/html"

root@localhost ~]# ls -lF /var/www/html
total 24
-rw-rw-r-- 1 user user 6946 Jan 25 14:27 index.html
-rw-r--r-- 1 root root 38 Jan 25 11:59 test.php
-rw-r--r-- 1 root root 0 Jan 25 11:58 test.php~
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/25 20:14
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Why is Apachie not Displaying my Index.html Web page ?
#9
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 7786
That may not be the problem, and can be easily tested by doing "setenforce 0" before playing around with it. First and easiest, check the file ownership with
ls -lF /var/www/html
_________________
Phil
Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/1/25 20:16
Create PDF from Post Print
Top
  •  gerald_clark
      gerald_clark
Re: Why is Apachie not Displaying my Index.html Web page ?
#10
Professional Board Member
Joined: 2005/8/5
From Northern Illinois, USA
Posts: 4465
Those files should all be apache.apache.
Posted on: 2010/1/25 20:35
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#11
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Quote:

gerald_clark wrote:
Those files should all be apache.apache.


Seem like a permissions issue, not sure where to go from here because i'm not very proficient assigning permissions on Linux Web servers
How can i get the files to be apachie apachie ? when you say "apachie apachie" do mean apachie user and apachie group ?
how do u go about creating or setting up the apachie user if i'm interpreting u right ?
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/25 20:41
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Why is Apachie not Displaying my Index.html Web page ?
#12
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 7786
It should already be set up:
# grep apache /etc/passwd /etc/group
/etc/passwd:apache:x:48:48:Apache:/var/www:/sbin/nologin
/etc/group:apache:x:48:


Unless you don't see something like the above then
chown -R apache.apache /var/www/html
should do it.
_________________
Phil
Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/1/25 20:58
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#13
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Quote:

pschaff wrote:
It should already be set up:
# grep apache /etc/passwd /etc/group
/etc/passwd:apache:x:48:48:Apache:/var/www:/sbin/nologin
/etc/group:apache:x:48:


Unless you don't see something like the above then
chown -R apache.apache /var/www/html
should do it.


pschaff i get the same output as yours when i run grep apache /etc/passwd /etc/group
Gonna try changing Group an owner of the file to apachie an see what happens, can this be done? correct me if i'm wrong?
thanks again
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/25 21:07
Create PDF from Post Print
Top
  •  michaelnel
      michaelnel
Re: Why is Apachie not Displaying my Index.html Web page ?
#14
Professional Board Member
Joined: 2006/5/29
From San Francisco, CA
Posts: 1483
Quote:

gerald_clark wrote:
Those files should all be apache.apache.


Not necessarily. They need to be *readable* by apache, but they don't have to be owner.group apache. I have lots of webservers where all the stuff under /var/www/html is root.root, but the files are 644 permissions, therefore apache can read them and it works.

I wonder if the OP's web browser is caching the original apache version of /var/www/html/index.html?

I'd try clearing the cache then access it again.

Another thing to check: the DocumentRoot could be getting reset to another location by any of the *.conf files in /etc/httpd/conf.d directory.
Posted on: 2010/1/25 22:14
Create PDF from Post Print
Top
  •  abednegoyulo
      abednegoyulo
Re: Why is Apachie not Displaying my Index.html Web page ?
#15
Professional Board Member
Joined: 2007/12/26
From
Posts: 425
Please post

grep -i errorlog /etc/httpd/conf/httpd.conf | grep -v '^ *#'

The output of that command is the location of the error log file/s of apache. Please locate them in your system and post the contents. On my system it is located in /var/log/httpd/error_log

OR

In order for us to have a more accurate details on the log file, you might want to consider

1. Stop apache

# service httpd stop

2. Backup the log file

# cp /location/of/logfile /root/

If you were in my system you should do: # cp /var/log/httpd/error_log /root/

3. Empty the log file

# cat /dev/null > /location/of/logfile

Again, if you were in my system you should do # cat /dev/null > /var/log/httpd/error_log /root/

4. Start apache

# service httpd start

5. Access your web server/site using a browser

6. Get the contents of the log file

# cat /location/of/logfile

Again, if you were in my system you should do: # cat /var/log/httpd/error_log

7. Post the contents here.
Posted on: 2010/1/25 22:59
Create PDF from Post Print
Top
  •  michaelnel
      michaelnel
Re: Why is Apachie not Displaying my Index.html Web page ?
#16
Professional Board Member
Joined: 2006/5/29
From San Francisco, CA
Posts: 1483
Quote:

abednegoyulo wrote:

3. Empty the log file

# cat /dev/null > /location/of/logfile


# > /location/of/logfile

Will accomplish the same thing with less typing.
Posted on: 2010/1/25 23:03
Create PDF from Post Print
Top
  •  abednegoyulo
      abednegoyulo
Re: Why is Apachie not Displaying my Index.html Web page ?
#17
Professional Board Member
Joined: 2007/12/26
From
Posts: 425
Quote:

michaelnel wrote:

# > /location/of/logfile

Will accomplish the same thing with less typing.


Ah! I did not know that, obviously. Thanks for the tip!
Posted on: 2010/1/25 23:22
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#18
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Quote:

abednegoyulo wrote:
Please post

grep -i errorlog /etc/httpd/conf/httpd.conf | grep -v '^ *#'

The output of that command is the location of the error log file/s of apache. Please locate them in your system and post the contents. On my system it is located in /var/log/httpd/error_log

OR

In order for us to have a more accurate details on the log file, you might want to consider

1. Stop apache

# service httpd stop

2. Backup the log file

# cp /location/of/logfile /root/

If you were in my system you should do: # cp /var/log/httpd/error_log /root/

3. Empty the log file

# cat /dev/null > /location/of/logfile

Again, if you were in my system you should do # cat /dev/null > /var/log/httpd/error_log /root/

4. Start apache

# service httpd start

5. Access your web server/site using a browser

6. Get the contents of the log file

# cat /location/of/logfile

Again, if you were in my system you should do: # cat /var/log/httpd/error_log

7. Post the contents here.


This is my error_log of CENTOS 5.2 running inside Virtualbox, I've messed around so much to try to make it work i dont know if i mess up all of my permissions on the apache Webserver.

[Fri Jan 15 15:36:23 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 15 15:36:23 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 15 15:36:23 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 15 15:36:23 2010] [notice] Digest: done
[Fri Jan 15 15:36:23 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Jan 15 16:11:21 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 15 16:25:20 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 15 16:25:20 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 15 16:25:20 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 15 16:25:20 2010] [notice] Digest: done
[Fri Jan 15 16:25:20 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Fri Jan 15 16:49:24 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 08:59:58 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 08:59:58 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 08:59:58 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 08:59:58 2010] [notice] Digest: done
[Mon Jan 18 08:59:58 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Mon Jan 18 09:47:12 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Mon Jan 18 09:47:15 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Mon Jan 18 09:49:54 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 09:49:55 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 09:49:55 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 09:49:55 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 09:49:55 2010] [notice] Digest: done
[Mon Jan 18 09:49:55 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 09:50:42 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 09:50:43 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 09:50:43 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 09:50:43 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 09:50:43 2010] [notice] Digest: done
[Mon Jan 18 09:50:43 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 11:07:29 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/phpmyadmin
[Mon Jan 18 11:09:02 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 11:09:04 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 11:09:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 11:09:04 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 11:09:04 2010] [notice] Digest: done
[Mon Jan 18 11:09:04 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 11:09:42 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:10:46 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 11:10:47 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 11:10:47 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 11:10:47 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 11:10:47 2010] [notice] Digest: done
[Mon Jan 18 11:10:47 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 11:10:51 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:10:53 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:12:13 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 11:12:14 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 11:12:14 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 11:12:14 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 11:12:14 2010] [notice] Digest: done
[Mon Jan 18 11:12:14 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 11:12:19 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:12:20 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:28:24 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:30:37 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 11:32:04 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 11:32:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 11:32:04 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 11:32:04 2010] [notice] Digest: done
[Mon Jan 18 11:32:04 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 11:32:06 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 11:32:07 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 11:32:07 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 11:32:07 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 11:32:07 2010] [notice] Digest: done
[Mon Jan 18 11:32:07 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 11:33:45 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Mon Jan 18 11:35:31 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 16:40:48 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 16:40:48 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 16:40:48 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 16:40:48 2010] [notice] Digest: done
[Mon Jan 18 16:40:48 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 16:40:50 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 16:40:51 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 16:40:51 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 16:40:51 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 16:40:51 2010] [notice] Digest: done
[Mon Jan 18 16:40:51 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 16:46:44 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Mon Jan 18 16:47:02 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Mon Jan 18 17:19:11 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 17:19:12 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 17:19:12 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 17:19:12 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 17:19:12 2010] [notice] Digest: done
[Mon Jan 18 17:19:12 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 17:19:56 2010] [error] [client 192.168.2.56] (70014)End of file found: mod_mime_magic: read failed from uncompress of /var/www/html/phpmyadmin
[Mon Jan 18 17:24:21 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 17:24:22 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 17:24:22 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 17:24:22 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 17:24:22 2010] [notice] Digest: done
[Mon Jan 18 17:24:22 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 17:25:46 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 17:25:47 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 17:25:47 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 17:25:47 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 17:25:47 2010] [notice] Digest: done
[Mon Jan 18 17:25:47 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 17:27:54 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 18 17:27:55 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 18 17:27:55 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 18 17:27:55 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 18 17:27:55 2010] [notice] Digest: done
[Mon Jan 18 17:27:55 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 18 17:31:43 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 07:54:21 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 07:54:21 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 07:54:21 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 07:54:21 2010] [notice] Digest: done
[Thu Jan 21 07:54:22 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 07:54:24 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 07:54:25 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 07:54:25 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 07:54:25 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 07:54:25 2010] [notice] Digest: done
[Thu Jan 21 07:54:25 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 07:54:50 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Thu Jan 21 07:59:46 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 21 08:44:06 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 08:44:09 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 08:44:09 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 08:44:09 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 08:44:09 2010] [notice] Digest: done
[Thu Jan 21 08:44:12 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 08:45:00 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 08:46:17 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 08:46:18 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 08:53:30 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 08:59:30 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 08:59:31 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 08:59:31 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 08:59:31 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 08:59:31 2010] [notice] Digest: done
[Thu Jan 21 08:59:32 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 08:59:35 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 08:59:36 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 09:12:45 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 09:19:00 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 09:19:00 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 09:19:00 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 09:19:00 2010] [notice] Digest: done
[Thu Jan 21 09:19:00 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 09:19:03 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 09:19:04 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 09:19:04 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 09:19:04 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 09:19:04 2010] [notice] Digest: done
[Thu Jan 21 09:19:04 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 09:19:12 2010] [error] [client 192.168.2.56] client denied by server configuration: /usr/share/phpMyAdmin
[Thu Jan 21 09:20:41 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 09:20:41 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 09:20:41 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 09:20:42 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 09:20:42 2010] [notice] Digest: done
[Thu Jan 21 09:20:42 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 09:24:00 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 09:24:01 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 09:24:01 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 09:24:01 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 09:24:01 2010] [notice] Digest: done
[Thu Jan 21 09:24:01 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 09:33:55 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 09:33:56 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 09:33:56 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 09:33:56 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 09:33:56 2010] [notice] Digest: done
[Thu Jan 21 09:33:56 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 09:35:24 2010] [notice] caught SIGTERM, shutting down
[Thu Jan 21 09:35:25 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Thu Jan 21 09:35:25 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 21 09:35:25 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 21 09:35:25 2010] [notice] Digest: done
[Thu Jan 21 09:35:25 2010] [notice] Apache configured -- resuming normal operations
[Thu Jan 21 10:06:51 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 21 10:07:09 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 21 10:42:51 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 08:29:16 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 08:29:16 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 08:29:16 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 08:29:16 2010] [notice] Digest: done
[Fri Jan 22 08:29:17 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 08:29:19 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 08:29:20 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 08:29:20 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 08:29:20 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 08:29:20 2010] [notice] Digest: done
[Fri Jan 22 08:29:21 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 08:29:25 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:29:28 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Fri Jan 22 08:31:26 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:31:50 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:31:51 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:32:22 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:32:23 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:32:24 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:32:24 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:32:58 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:38:18 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:39:40 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:39:40 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:39:41 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:39:48 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:40:07 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:40:36 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 08:40:36 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 08:40:36 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 08:40:36 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 08:40:36 2010] [notice] Digest: done
[Fri Jan 22 08:40:36 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 08:40:40 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:40:41 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:40:51 2010] [error] [client 192.168.2.56] (13)Permission denied: access to / denied
[Fri Jan 22 08:41:20 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 08:41:21 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 08:41:21 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 08:41:21 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 08:41:21 2010] [notice] Digest: done
[Fri Jan 22 08:41:21 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 08:41:23 2010] [error] [client 192.168.2.56] (13)Permission denied: access to / denied
[Fri Jan 22 08:51:26 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:53:11 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 08:53:11 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 08:53:11 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 08:53:11 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 08:53:11 2010] [notice] Digest: done
[Fri Jan 22 08:53:12 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 08:53:17 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:53:18 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /1.php denied
[Fri Jan 22 08:55:52 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 08:55:53 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 08:55:53 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 08:55:53 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 08:55:53 2010] [notice] Digest: done
[Fri Jan 22 08:55:53 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 08:56:14 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:56:23 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 08:57:54 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:01:25 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 09:01:26 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 09:01:26 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 09:01:26 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 09:01:26 2010] [notice] Digest: done
[Fri Jan 22 09:01:26 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 09:01:54 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:04:50 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 09:04:51 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 09:04:51 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 09:04:51 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 09:04:51 2010] [notice] Digest: done
[Fri Jan 22 09:04:51 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 09:04:56 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:04:57 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:04:58 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:04:58 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:04:59 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:04:59 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:05:00 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:05:44 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 09:05:45 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 09:05:45 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 09:05:45 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 09:05:45 2010] [notice] Digest: done
[Fri Jan 22 09:05:45 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 09:05:51 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.php denied
[Fri Jan 22 09:07:15 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 09:07:16 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 09:07:16 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 09:07:16 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 09:07:16 2010] [notice] Digest: done
[Fri Jan 22 09:07:17 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 09:07:28 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /index.html denied
[Fri Jan 22 09:09:17 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 09:09:17 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 09:09:17 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 09:09:17 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 09:09:17 2010] [notice] Digest: done
[Fri Jan 22 09:09:18 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 09:09:39 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /redbusiness/index.html denied
[Fri Jan 22 09:10:22 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 09:10:23 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 09:10:23 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 09:10:23 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 09:10:23 2010] [notice] Digest: done
[Fri Jan 22 09:10:23 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 09:10:27 2010] [error] [client 192.168.2.56] (13)Permission denied: access to /redbusiness/index.html denied
[Fri Jan 22 09:15:18 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Fri Jan 22 09:37:30 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 10:05:05 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 10:05:05 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 10:05:05 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 10:05:05 2010] [notice] Digest: done
[Fri Jan 22 10:05:06 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 10:05:07 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 10:05:07 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 10:05:07 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 10:05:07 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 10:05:07 2010] [notice] Digest: done
[Fri Jan 22 10:05:07 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 10:30:44 2010] [error] [client 192.168.2.11] Directory index forbidden by Options directive: /var/www/html/
[Fri Jan 22 10:30:45 2010] [error] [client 192.168.2.11] File does not exist: /var/www/html/favicon.ico
[Fri Jan 22 10:30:48 2010] [error] [client 192.168.2.11] File does not exist: /var/www/html/favicon.ico
[Fri Jan 22 11:05:45 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Fri Jan 22 11:05:48 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Fri Jan 22 11:31:35 2010] [notice] caught SIGTERM, shutting down
[Fri Jan 22 15:40:29 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Fri Jan 22 15:40:30 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 22 15:40:30 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 22 15:40:30 2010] [notice] Digest: done
[Fri Jan 22 15:40:31 2010] [notice] Apache configured -- resuming normal operations
[Fri Jan 22 15:40:37 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Fri Jan 22 15:40:40 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/favicon.ico
[Fri Jan 22 15:40:53 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/index.html
[Fri Jan 22 15:41:13 2010] [error] [client 192.168.2.56] Directory index forbidden by Options directive: /var/www/html/
[Fri Jan 22 15:57:50 2010] [notice] caught SIGTERM, shutting down
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/26 13:58
Create PDF from Post Print
Top
  •  SILLAT_JAM
      SILLAT_JAM
Re: Why is Apachie not Displaying my Index.html Web page ?
#19
Peeking in the Member Window
Joined: 2010/1/23
From Caribbean, Jamaica
Posts: 18
Quote:

michaelnel wrote:
Quote:

abednegoyulo wrote:

3. Empty the log file

# cat /dev/null > /location/of/logfile


# > /location/of/logfile

Will accomplish the same thing with less typing.


I did a clean install of CENTOS 5.4 yesterday in Virtualbox using NAT networking so i have both CENTOS 5.4 & 5.2
i Installed 5.4 jus to see if i would have the same problems as CENTOS 5.2, but it turns out if u dont know much about the OS your gonna run into the same problems no matter which version your running
Here is the error_log of CENTOS 5.4

[Mon Jan 25 11:47:10 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 11:47:10 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 11:47:10 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 11:47:10 2010] [notice] Digest: done
[Mon Jan 25 11:47:10 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Mon Jan 25 11:58:10 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 11:58:11 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 11:58:11 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 11:58:11 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 11:58:11 2010] [notice] Digest: done
[Mon Jan 25 11:58:11 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Mon Jan 25 11:59:36 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Jan 25 11:59:38 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Jan 25 11:59:41 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Jan 25 12:08:05 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 12:08:06 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 12:08:06 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 12:08:06 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 12:08:06 2010] [notice] Digest: done
[Mon Jan 25 12:08:07 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 12:16:19 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/phpmyadmin
[Mon Jan 25 12:16:50 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Jan 25 12:16:58 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/phpmyadmin
[Mon Jan 25 12:17:12 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 12:17:13 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 12:17:13 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 12:17:13 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 12:17:13 2010] [notice] Digest: done
[Mon Jan 25 12:17:14 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 12:49:21 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 13:15:52 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 13:15:52 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 13:15:52 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 13:15:52 2010] [notice] Digest: done
[Mon Jan 25 13:15:54 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 13:15:54 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 13:15:55 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 13:15:55 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 13:15:56 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 13:15:56 2010] [notice] Digest: done
[Mon Jan 25 13:15:56 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 13:16:14 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Jan 25 13:16:19 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Jan 25 14:29:54 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 14:29:55 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 14:29:55 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 14:29:56 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 14:29:56 2010] [notice] Digest: done
[Mon Jan 25 14:29:56 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 14:30:32 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 14:30:48 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:24:36 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:24:38 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:24:38 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:24:38 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:24:38 2010] [notice] Digest: done
[Mon Jan 25 16:24:38 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:24:59 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:25:02 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Jan 25 16:25:07 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Jan 25 16:25:17 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:27:12 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:27:14 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:27:14 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:27:14 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:27:14 2010] [notice] Digest: done
[Mon Jan 25 16:27:14 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:27:20 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:28:52 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:31:00 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:31:01 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:31:01 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:31:01 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:31:01 2010] [notice] Digest: done
[Mon Jan 25 16:31:01 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:31:08 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:31:11 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:31:17 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:33:17 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:33:18 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:33:18 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:33:19 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:33:19 2010] [notice] Digest: done
[Mon Jan 25 16:33:19 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:35:30 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:35:31 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:35:31 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:35:31 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:35:31 2010] [notice] Digest: done
[Mon Jan 25 16:35:32 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:35:38 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:35:51 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:36:24 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:36:25 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:43:51 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:43:52 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:43:52 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:43:52 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:43:52 2010] [notice] Digest: done
[Mon Jan 25 16:43:53 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:44:08 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:44:20 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:46:41 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:46:42 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:46:42 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:46:43 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:46:43 2010] [notice] Digest: done
[Mon Jan 25 16:46:43 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:46:59 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:47:07 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Mon Jan 25 16:51:50 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:52:36 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:52:36 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:52:37 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:52:37 2010] [notice] Digest: done
[Mon Jan 25 16:52:37 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:52:39 2010] [notice] caught SIGTERM, shutting down
[Mon Jan 25 16:52:40 2010] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Jan 25 16:52:40 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 25 16:52:41 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 25 16:52:41 2010] [notice] Digest: done
[Mon Jan 25 16:52:41 2010] [notice] Apache configured -- resuming normal operations
[Mon Jan 25 16:59:16 2010] [notice] caught SIGTERM, shutting down
_________________
Linux is not just an OS. . its a way of Life
Posted on: 2010/1/26 14:06
Create PDF from Post Print
Top
  •  abednegoyulo
      abednegoyulo
Re: Why is Apachie not Displaying my Index.html Web page ?
#20
Professional Board Member
Joined: 2007/12/26
From
Posts: 425
I guess we are now we got a clue on what the problem is

[client 127.0.0.1] (13)Permission denied: access to /index.html denied


which is different from

[Fri Jan 22 15:40:53 2010] [error] [client 192.168.2.56] File does not exist: /var/www/html/index.html


One important question was left unanswered which was asked by pschaff on post #7,

What does "getenforce" show?


In addition to the unanswered question, may you post the output of

# ls -lZ /var/www/html/index.html

If it does not have httpd_sys_content_t, then post #9 should help troubleshoot the problem

setenforce 0


If that works, the please read the first link indicated in post #7
Posted on: 2010/1/26 23:34
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
12>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com