From owner-freebsd-questions Wed Jul 10 3:35: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEE6737B400 for ; Wed, 10 Jul 2002 03:35:03 -0700 (PDT) Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38A0943E5E for ; Wed, 10 Jul 2002 03:35:03 -0700 (PDT) (envelope-from wayne@penguinpowered.org.uk) Received: from set.ehsrealtime.com ([213.52.146.197]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17SEoG-000Fn1-01; Wed, 10 Jul 2002 11:35:00 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17SFoj-0000gm-00; Wed, 10 Jul 2002 11:39:33 +0000 From: Wayne Pascoe To: "Grant Cooper" Cc: FreeBSD-Questions Subject: Re: apache file References: <20020710021828.X504-100000@njam.dhs.org> <022301c22796$5c2c9b00$23b9fea9@ab.hsia.telus.net> Date: 10 Jul 2002 11:39:33 +0000 In-Reply-To: <022301c22796$5c2c9b00$23b9fea9@ab.hsia.telus.net> Message-ID: Lines: 47 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Grant Cooper" writes: > I read that, so I am reinstalling FreeBSD and starting fresh? I have 2 > questions that I could not find an answer. > > 1. I am using FreeBSD 4.5 and was trying to install the new version, > downloading from Apache website. 2.0.39 that is used for FreeBSD 4.6. Ok, firstly, do you have any reason for installing apache from source? If you don't I would advise that you use the ports tree. Installing from ports is as simple as cd /usr/ports/apache2 make install > 2. I changed the default script for root to tsch shell. I read in > the hand book this wasn't a good idea. I felt the script wasn't > being run at all and when I went to run the executable httpd, it > just got an error like the file never existed. And I was in the > correct directory. Generally you shouldn't run many things as root on a machine, so root's shell shouldn't bug you. If you do want to change root's shell, then make sure that the binary exists in /bin and that there is an entry for it in /etc/shells The reason for this is that many installations have /usr on a separate disk. If this disk does not mount and your shell is on it, you can't get a shell to carry on recovering the machine. You would have to boot off of a rescue disk. Lastly, please tell us what command you used (and the EXACT way you typed it) to try and start apache. The #!/bin/sh in there does not have any relation to what shell you are using. As I and one other person have suggested so far, try typing ./apachectl start from the directory that apachectl is in. If this does not work, please post the exact error that you get here. Regards, -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ Everything to excess. To enjoy the flavour of life, take big bites. Moderation is for monks. - Robert Heinlein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message