Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th August 2011, 23:49
stefanm stefanm is offline
Junior Member
 
Join Date: Oct 2009
Posts: 21
Thanks: 32
Thanked 5 Times in 4 Posts
Default Apache boot problem / GlusterFS loading

Hi,

I am facing two annoying problems with a fresh ISPConfig 3 installation, perhaps anyone got some hints for me?

I installed two machines from ground with Debian 6.0.2 64bit and set up a mirrored solution as it is described in http://www.howtoforge.com/installing...th-ispconfig-3

The only differences are that I installed roundcubemail instead of squirrelmail and excluded mysql from the glusterfs setup an configured replication.

The two problems:
1) The bigger problem is that apache2 doesn't get started anymore when rebooting the system. A apache2ctl -t says Syntax ok, there are no error messages in the logs, it almost seems that the system doesn't even try to start it. However all startup scripts in rcX.d seem to be there, a "insserv apache2" didn't help. The problem appeared after the installation of ispconfig3 and occurs on both the ispconfig3 master and the client! Doing a "apache2ctl start" from shell starts the server without problems. Any ideas or directions?

2) The second problem concerns GlusterFS. It seems that Squeeze has a problem with the booting sequence, because GlusterFS requires Fuse, but Fuse is loaded after GlusterFS resulting in an error message like this:
[2011-08-07 22:32:25] E [mount.c:525:fuse_mount_sys] glusterfs-fuse: cannot open /dev/fuse (No such file or directory)
The problem can be circumvented with a "mount -a" in rc.local, however I'd rather prefer to have the boot sequence corrected. Unfortunately my attempts to reorder the startup sequence didn't work? Has anyone encountered this problem and found a solution?

Hopeing for your help (as I am starting to get desparate )
Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 8th August 2011, 10:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

1) Please check that glusterfs is started before apache gets started.

2) You might hevr to change the boot sequence, to start fue first. I have not tested that setup on squeeze yet, so I can not tell you the detailed commands to do that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th August 2011, 14:25
stefanm stefanm is offline
Junior Member
 
Join Date: Oct 2009
Posts: 21
Thanks: 32
Thanked 5 Times in 4 Posts
 
Default

Hi Till,

thanks for your hints! That was driving me crazy (and more then once I cursed the Debian team for moving to insserv )
After all the mess, the solution was quite simple. The fuse module was indeed responsible for the glusterfs problem and the glusterfs problem stopped the apache from booting.
Here is what I did to fix the problems, just in case anybody encounters the same problem:

cd /etc/insserv/overrides/
cp ../../init.d/fuse .
nano fuse

in the LSB header remove the two references to $remote_fs
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides:          fuse
# Required-Start:    
# Required-Stop:     
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Filesystem in userspace
# Description:       This file load all what's needed to make fuse work fine
### END INIT INFO
insserv -n fuse
insserv fuse

Note: This removes the ability for fuse to mount nfs shares during boot (because we removed the remote filesystems dependency from fuse and the network shares are loaded later), but since I use fuse for glusterfs only, that was not a problem. If you need fuse to access nfs shares at boot, you cannot use the above fix!

Last edited by stefanm; 9th August 2011 at 14:29.
Reply With Quote
The Following 2 Users Say Thank You to stefanm For This Useful Post:
falko (10th August 2011), till (9th August 2011)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Sending email issue lezelf Installation/Configuration 15 9th August 2011 11:20
Apache 2 basic authentication problem with some browser raskar Server Operation 0 20th August 2009 15:58
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 09:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.