LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-20-2006, 12:51 AM   #1
sciguy125
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
apache and mount bind


I recently rearranged my drives and files. In doing so, I decided to mount bind /var/www, which is where apache looks for files to serve. I have the following in fstab:
Code:
/mnt/raid/www    /var/www   none    bind   0 0
When I try to start httpd, I get this in the error log:
Quote:
[Fri May 19 21:15:20 2006] [notice] caught SIGTERM, shutting down
However, if I unmount /var/www, then make some dummy files there, apache works fine. Am I doing something wrong?


=== UPDATE ===
I was able to fix it. It was a problem with SELinux. I had to relabel /mnt/raid/www to work with httpd. The error in the log was an unrelated thing.

Last edited by sciguy125; 05-20-2006 at 10:42 AM.
 
  


Reply


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
mount --bind (fstab problem) renski Linux - General 2 11-17-2005 03:50 PM
mount --bind doesn't work with proftpd Diotoir Linux - Newbie 2 08-23-2004 12:05 PM
mount --bind, vfat and permissions jobano Linux - General 0 05-24-2004 09:53 AM
persistent mount --bind linuxnube Linux - Software 0 05-12-2004 08:24 PM
mount --bind on boot tp6400 Linux - Newbie 1 01-25-2004 09:41 PM


All times are GMT -5. The time now is 07:53 PM.

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