[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache un-able to understand.



Hello  Ivan,
 
thanks for your detail msg.
these are the output of all instruction given by 
you.

But, One thing more appair that when i type 
http://localhost
it give me messege box with following messege.

" the file "" is of type application/x-httpd-php
mozilla does not know how to handle file. 
this file is located at http://localhost "



On Sat, 11 Sep 2004 23:11:40 +0300, Ivan Adams <ivancho.b@gmail.com> wrote:
> try with:
> netstat -na | grep LISTEN | grep :80
> it would be something like
> tcp 0 0.0.0.0:80 0.0.0.0:* LISTEN
> that mean that your server is already running.

debian:/home/neenix/# netstat -na |grep LISTEN | grep :80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN


> 
> Try again with http://127.0.0.1/ or http://localhost/
> if no test page, time to view the logs.
> 
> tail -f /var/log/apache/error.log
> /etc/init.d/apache restart

debian:/home/neenix/# tail -f /var/log/apache/error.log
[Mon Sep 13 09:21:33 2004] [notice] Apache/1.3.31 (Debian GNU/Linux)
configured -- resuming normal operations
[Mon Sep 13 09:21:33 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Sep 13 09:22:41 2004] [notice] SIGHUP received.  Attempting to restart
[Mon Sep 13 09:22:41 2004] [notice] Apache/1.3.31 (Debian GNU/Linux)
configured -- resuming normal operations
[Mon Sep 13 09:22:41 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Sep 13 09:25:11 2004] [notice] SIGHUP received.  Attempting to restart
[Mon Sep 13 09:25:12 2004] [notice] Apache/1.3.31 (Debian GNU/Linux)
configured -- resuming normal operations
[Mon Sep 13 09:25:12 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

> if no test page
> 
> tail -f /var/log/messages

debian:/home/neenix/# tail -f /var/log/messages
Sep 13 09:16:35 debian gconfd (neenix-2483): Exiting
Sep 13 09:16:39 debian kernel: apm: BIOS not found.
Sep 13 09:16:41 debian kernel: mtrr: base(0xf0020000) is not aligned
on a size(0x300000) boundary
Sep 13 09:17:18 debian kernel: apm: BIOS not found.
Sep 13 09:17:18 debian kernel: mtrr: base(0xf0020000) is not aligned
on a size(0x300000) boundary
Sep 13 09:18:06 debian gconfd (neenix-2689): starting (version 2.6.2),
pid 2689 user 'neenix'
Sep 13 09:18:07 debian gconfd (neenix-2689): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config
source at position 0
Sep 13 09:18:07 debian gconfd (neenix-2689): Resolved address
"xml:readwrite:/home/neenix//.gconf" to a writable config source at
position 1
Sep 13 09:18:07 debian gconfd (neenix-2689): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config
source at position 2
Sep 13 09:23:35 debian syslog-ng[1803]: STATS: dropped 283

> second console
> tail -f /var/log/syslog


debian:/home/neenix/#  tail -f /var/log/syslog
Sep 13 09:18:07 debian gconfd (neenix-2689): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config
source at position 0
Sep 13 09:18:07 debian gconfd (neenix-2689): Resolved address
"xml:readwrite:/home/neenix//.gconf" to a writable config source at
position 1
Sep 13 09:18:07 debian gconfd (neenix-2689): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config
source at position 2
Sep 13 09:20:02 debian /USR/SBIN/CRON[2705]: (root) CMD (if [ -x
/usr/bin/mrtg ] && [ -r /etc/mrtg.cfg ]; then /usr/bin/mrtg
/etc/mrtg.cfg >> /var/log/mrtg/mrtg.log 2>&1; fi)
Sep 13 09:20:02 debian /USR/SBIN/CRON[2706]: (munin) CMD (if [ -x
/usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi)
Sep 13 09:20:10 debian snmpd[2004]: Connection from 127.0.0.1
Sep 13 09:23:35 debian syslog-ng[1803]: STATS: dropped 283
Sep 13 09:25:01 debian /USR/SBIN/CRON[3897]: (munin) CMD (if [ -x
/usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi)
Sep 13 09:25:01 debian /USR/SBIN/CRON[3898]: (root) CMD (if [ -x
/usr/bin/mrtg ] && [ -r /etc/mrtg.cfg ]; then /usr/bin/mrtg
/etc/mrtg.cfg >> /var/log/mrtg/mrtg.log 2>&1; fi)
Sep 13 09:25:05 debian snmpd[2004]: Connection from 127.0.0.1

> /etc/init.d/apache restart
> 
> if no test page.
> dpkg-reconfigure apache
> if no test page ... send all logs and then try again
> 
> Regards
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



-- 
Nayyar Ahmad

Lecturer
Faculty Of Computer Science,
Institute Of Management Sciences,
Hayat Abad Peshawar , Pakistan.
Office : 92-091-9217404 , 9217452
Cell     :  92-0333-9139461



Reply to: