Latest LQ Deal: Latest LQ Deals
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 05-20-2006, 01:51 AM   #1
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:
/mnt/raid/www    /var/www   none    bind   0 0
When I try to start httpd, I get this in the error log:
[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 11:42 AM.


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

All times are GMT -5. The time now is 09:36 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
Open Source Consulting | Domain Registration