OpenVZ Forum - RDF feed
type: channel
items: apache running but no website is displayed
items: Re: apache running but no website is displayed

apache running but no website is displayed
type: item
description: Hi , I am new to openvz and was reading the forum since 2 days but can´t find an answer to my problem.Apache is running on my VE but no website can be displayed , if I do a lynx localhost I am waiting forever when lynx send the http request, and from outside the same problem, a timeout in the browser. I have double checked the httpd.conf for DocumentRoot etc. apache starts with only one process ( as root ) in the VE a tail -f /var/log/httpd/error_log gives back : [Thu Feb 07 01:55:17 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Feb 07 01:55:17 2008] [notice] Digest: generating secret for digest authentication ... [Thu Feb 07 02:16:20 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Feb 07 02:16:20 2008] [notice] Digest: generating secret for digest authentication ... [Thu Feb 07 15:19:51 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Feb 07 15:19:51 2008] [notice] Digest: generating secret for digest authentication ... [Thu Feb 07 15:23:14 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Feb 07 15:23:14 2008] [notice] Digest: generating secret for digest authentication .. My Serve has private IP 192.168.0.141 via dhcp , the VE has 192.168.0.18 The VE has access to the Internet and can ping local Network machines. If I do a telnet IP:80 from outside to the VE it connects but I can´t close the connection , I have to kill the process, same if I do a telnet localhost 80 on the VE. I have the VE with Centos 4.6 and Trixbox running uname -r gives me 2.6.18-53.1.4.el5.028stab053.4 /usr/sbin/httpd -V gives back Server version: Apache/2.0.59 Server built: Jan 14 2008 08:28:27 Server's Module Magic Number: 20020903:12 Server loaded: APR 0.9.4, APR-UTIL 0.9.4 Compiled using: APR 0.9.4, APR-UTIL 0.9.4 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_US…
creator: surftimer
date: 2008-02-07T13:39:49-00:00

Re: apache running but no website is displayed
type: item
description: I had the same problem and was just a annoyed but in doing some research on apaches bug traq i found its a /dev/urandom problem most the time. so do the following inside your ve and restart httpd and should work like a champ again at least it did for me rm /dev/urandom mknod --mode 444 /dev/urandom c 1 9 I hope that helps
creator: ZeroPain
date: 2008-02-12T18:35:36-00:00

Re: apache running but no website is displayed
type: item
description: Thank you for your help, it worked like a charm as you mentioned. Problem solved , of course https and sshd too. thank you !!
creator: surftimer
date: 2008-02-12T18:47:13-00:00