RE: [users@httpd] Failed on first test after installation

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

 



Hi Owen,

Tks for your advice.

- snip -

> > On firefox ran "http://127.0.0.1/";.  It hung there for prolonged
> > time without the default page popup.
> 
> Error log?

$ cat /var/log/apache2/error.log
....
[Thu Oct 19 03:36:00 2006] [notice] caught SIGTERM, shutting down
[Thu Oct 19 03:36:57 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
[Thu Oct 19 03:39:44 2006] [notice] caught SIGTERM, shutting down
[Thu Oct 19 03:40:41 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
[Thu Oct 19 03:41:42 2006] [notice] caught SIGTERM, shutting down
[Thu Oct 19 03:42:39 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2
configured -- resuming normal operations
[Thu Oct 19 04:01:11 2006] [notice] caught SIGTERM, shutting down
* end *


> What is "Listen" set to? 
> Are you listening to port 80?
Listen 80
Listen 44


> Do you have a FW? 
You meant on iptables?  If YES, then NO.

$ sudo iptables --list
Password:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
TCPMSS     tcp  --  anywhere             anywhere            tcp
flags:SYN,RST/SYN tcpmss match 1400:1536 TCPMSS clamp to PMTU

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
* end *


> Is it blocking (check logs)? 
$ cat /var/log/apache2/access.log
It is an empty file.

ls /var/lock/apache2/
No printout

No other lock-file found.


> What is the IP of localhost? 
$ cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       ubuntu

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
* end *


> Why 127.0.1.1? 
Because on running;
$ sudo /etc/init.d/apache2 restart
 * Forcing reload of apache 2.0 web server... apache2: Could not
determine the server's fully qualified domain name, using 127.0.1.1 for
ServerName
apache2: Could not determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
* end *

It said "using 127.0.1.1 for ServerName".  Just tested it.


> Why not start out simple and don't complicate things until you get it
> working...?

What shall I test first.  TIA.


B.R.
Stephen


> > 
> > $ ps -ef | egrep /apache2
> > root      5064     1  0 11:26 ?        00:00:00 /usr/sbin/apache2
> -k
> > start -DSSL
> > www-data  5066  5064  0 11:26 ?        00:00:00 /usr/sbin/apache2
> -k
> > start -DSSL
> > www-data  5067  5064  0 11:26 ?        00:00:00 /usr/sbin/apache2
> -k
> > start -DSSL
> > www-data  5068  5064  0 11:26 ?        00:00:00 /usr/sbin/apache2
> -k
> > start -DSSL
> > www-data  5069  5064  0 11:26 ?        00:00:00 /usr/sbin/apache2
> -k
> > start -DSSL
> > www-data  5070  5064  0 11:26 ?        00:00:00 /usr/sbin/apache2
> -k
> > start -DSSL
> > satimis   5077  4836  0 11:30 pts/2    00:00:00 grep -E /apache2
> > * end *
> > 
> > 
> > $ sudo /etc/init.d/apache2 restart
> >  * Forcing reload of apache 2.0 web server... apache2: Could not
> > determine the server's fully qualified domain name, using 
> > 127.0.1.1 for
> > ServerName
> > apache2: Could not determine the server's fully qualified domain
> name,
> > using 127.0.1.1 for ServerName
> >                                                               
> >          
> >       [ ok ]
> > * end *
> > 
> > Apache2 is running.  Please help.  TIA
> > 
> > Also tried "http://127.0.1.1/";, still the same.
> > 
> > 
> > B.R.
> > Stephen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux