Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-12-2004, 06:39 PM   #1
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Apache in a chroot environment

I setup an Apache installation in a /usr/local/chroot/httpd/. The httpd dir is going to be the fake root. I made sure to make a passwd and group file in the fake etc directory and edit httpd.conf so Apache runs as the user and group "apache". I also modified my apachectl file so:
HTTPD="/usr/bin/chroot $CHROOTDIR /usr/local/apache/bin/httpd"

When I run "apachectl start" I get the error: bad username apache. Which doesn't make sense.

Old 04-13-2004, 07:37 PM   #2
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Original Poster
Rep: Reputation: 30
This issue is very perplexing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting started in chroot environment Mystified Linux From Scratch 3 03-28-2005 09:11 AM
mount in chroot environment not possible moskito01 SUSE / openSUSE 5 12-06-2004 04:06 PM
Problem entering chroot environment. mullog Linux From Scratch 1 06-05-2004 08:12 AM
Out of the chroot environment? R2RO Linux - Networking 0 05-14-2003 04:01 PM
Getting in and out and in again in the CHROOT environment? kRu_ZaDeR Linux From Scratch 8 01-13-2003 12:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration