From owner-freebsd-questions@FreeBSD.ORG Sun Dec 3 21:52:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 438EC16A416 for ; Sun, 3 Dec 2006 21:52:27 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0FCA43CA7 for ; Sun, 3 Dec 2006 21:51:56 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id kB3LpvrC028522; Sun, 3 Dec 2006 15:51:57 -0600 (CST) Message-Id: <6.0.0.22.2.20061203155109.0246c468@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 03 Dec 2006 15:51:42 -0600 To: VeeJay , maanjee@gmail.com, FreeBSD-Questions From: Derek Ragona In-Reply-To: <2cd0a0da0612021551r7e5cb264xa7408cc6aceda1ed@mail.gmail.co m> References: <2cd0a0da0612021551r7e5cb264xa7408cc6aceda1ed@mail.gmail.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Please HELP! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 21:52:27 -0000 Which version of FreeBSD are you running? Which version of apache? Have you updated either recently? -Derek At 05:51 PM 12/2/2006, VeeJay wrote: >Hi > >I am sorry to post this question here but I am desparet to get my freebsd >box work soonest possible. > >I have installed apache20 on my freebsd box but am unable to run with new >httpd.conf changes.... > >When I run the apache, with command: > > # /usr/local/sbin/apachectl restart > >I get this message: > > httpd not running, trying to start ># >In the error log error is like this: > >[Sun Dec 03 01:29:59 2006] [warn] pid file /var/apache/logs/httpd.pid >overwritten -- Unclean shutdown of previous Apache run? > >Even I delete the pid file, but it still doesnt work... > >Please HELP! > >my httpd.conf is mentioned below; > > ># ================================================= ># Basic settings ># ================================================= >Listen 0.0.0.0:80 >User apache >Group apache >ServerAdmin webmaster@domain1.com >UseCanonicalName Off >ServerSignature Off >HostnameLookups Off >ServerTokens Prod >ServerRoot "/usr/local" >DocumentRoot "/home/apache" >PidFile /var/apache/logs/httpd.pid >ScoreBoardFile /var/apache/logs/httpd.scoreboard > > DirectoryIndex index.html > > ># ================================================= ># HTTP and performance settings ># ================================================= >Timeout 300 >KeepAlive On >MaxKeepAliveRequests 100 >KeepAliveTimeout 15 > > MinSpareServers 5 > MaxSpareServers 10 > StartServers 5 > MaxClients 150 > MaxRequestsPerChild 0 > > ># ================================================= ># Load Module Section; Dynamic Shared Object (DSO) Support ># ================================================= >LoadModule access_module libexec/apache2/mod_access.so >LoadModule auth_module libexec/apache2/mod_auth.so >LoadModule log_config_module libexec/apache2/mod_log_config.so >LoadModule mime_module libexec/apache2/mod_mime.so >LoadModule dir_module libexec/apache2/mod_dir.so >LoadModule rewrite_module libexec/apache2/mod_rewrite.so ># Other required modules are compiled such as Compiled in modules: core.c >prefork.c http_core.c mod_so.c > ># ================================================= ># Access control ># ================================================= > >Options None > AllowOverride None > Order deny,allow > Deny from all > > > Order allow,deny > Allow from all > > ># ================================================= ># MIME encoding ># ================================================= > > TypesConfig /usr/local/etc/apache2/mime.types > >DefaultType text/plain > > AddEncoding x-compress .Z > AddEncoding x-gzip .gz .tgz > AddType application/x-compress .Z > AddType application/x-gzip .gz .tgz > AddType application/x-tar .tgz > > ># ================================================= ># Logs ># ================================================= >LogLevel warn >LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" >combined >LogFormat "%h %l %u %t \"%r\" %>s %b" common >LogFormat "%{Referer}i -> %U" referer >LogFormat "%{User-agent}i" agent >ErrorLog /var/apache/logs/error_log >CustomLog /var/apache/logs/access_log combined > ># ================================================= ># Virtual hosts ># ================================================= >NameVirtualHost * > > DocumentRoot "/home/apache/domain1.com/public_html" > ServerName "www.domain1.com" > ErrorLog /var/apache/logs/domain1.com/error_log > CustomLog /var/apache/logs/domain1.com/access_log combined > > > DocumentRoot "/home/apache/domain2.com/public_html" > ServerName "www.domain2.com" > ErrorLog /var/apache/logs/domain2.com/error_log > CustomLog /var/apache/logs/domain2.com/access_log combined > > >-- >Thanks! > >BR / vj >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.