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.
Thread Tools Display Modes
Old 8th August 2011, 00: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


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 )
Reply With Quote
Sponsored Links
Old 8th August 2011, 11:02
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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
Old 9th August 2011, 15:25
stefanm stefanm is offline
Junior Member
Join Date: Oct 2009
Posts: 21
Thanks: 32
Thanked 5 Times in 4 Posts

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
#! /bin/sh
# 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
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 15: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)


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 11:49
Sending email issue lezelf Installation/Configuration 15 9th August 2011 12:20
Apache 2 basic authentication problem with some browser raskar Server Operation 0 20th August 2009 16:58
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 19:37
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47

All times are GMT +2. The time now is 08:28.

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