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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th February 2007, 09:02
BLaCKie_MoRGaN BLaCKie_MoRGaN is offline
Junior Member
 
Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Courier directories dissappeared

Hello i am running ISPConfig in Ubuntu 6.10 Server from Perfect Setup guide.

i had a problem with sasl authentication which was resolved from a post noting that in ubuntu needed the OPTIONS ="-c -m.... " parameter

now i have a weird problem

Every time i reboot the system the directories of courier ( /var/run/courier and /var/run/courier/authdaemon ) keep dissapearing and i have to mkdir them again and start the services manually. Also bind seems to need manual starting!

Does anyone have the same problem??

ANy solutions?
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2007, 09:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Please check the courier start / stop scripts if one of these is deleting the directories.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th February 2007, 10:17
BLaCKie_MoRGaN BLaCKie_MoRGaN is offline
Junior Member
 
Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I forgot to mention that i am newbie at linux works.

Checked the courier (-imap, imap-ssl, -pop, -pop-ssl) files in the /etc/init.d/ directory and there is no rm command!

This is the courier-pop file
Would the line in bold letters help me bypass the problem?

Quote:
#! /bin/sh -e
mkdir /var/run/courier/ -p
prefix="/usr"
exec_prefix=${prefix}
sysconfdir="/etc/courier"
sbindir="${exec_prefix}/sbin"
libexecdir="${prefix}/lib/courier"
TCPD="${sbindir}/couriertcpd"
DAEMON=${sbindir}/pop3d
PROGRAM="Courier POP3 server"
PROG="pop3d"
SSLCONFIG=

test -f $DAEMON || exit 0

if ! [ -x $TCPD ]; then
echo "ERR: $TCPD missing"
exit 1
fi

if ! [ -f ${sysconfdir}/pop3d ]; then
echo "ERR: config file missing"
exit 1
fi

# read/set defaults
if [ -f /etc/default/courier ]; then
. /etc/default/courier
fi
if [ -z "$MAILDIR" ]; then
MAILDIR=Maildir
fi

if [ -f "${sysconfdir}/pop3d-ssl" ]; then
. "${sysconfdir}/pop3d-ssl"
SSLCONFIG=1
fi
. ${sysconfdir}/pop3d

START=no
case "$POP3DSTART" in
[yY]*)START=yes;;
esac

case "$1" in
start)
if [ "$START" = "yes" ]; then
echo -n "Starting $PROGRAM:"

/usr/bin/env - /bin/sh -c " set -a; \
. ${sysconfdir}/pop3d; \
if [ "$SSLCONFIG" ]; then . ${sysconfdir}/pop3d-ssl; fi; \
POP3_STARTTLS=$POP3_STARTTLS; export POP3_STARTTLS; \
TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL; \
$TCPD -pid=$PIDFILE -stderrlogger=${sbindir}/courierlogger \
-maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
$TCPDOPTS -address=$ADDRESS $PORT \
${libexecdir}/courier/courierpop3login $AUTHMODULELIST \
${libexecdir}/courier/courierpop3d $MAILDIR"
echo " $PROG."
fi
;;
stop)
echo -n "Stopping $PROGRAM:"
$TCPD -pid=$PIDFILE -stop
echo " $PROG."
;;
restart | reload | force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac

exit 0
Reply With Quote
  #4  
Old 13th February 2007, 17:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by BLaCKie_MoRGaN
This is the courier-pop file
Would the line in bold letters help me bypass the problem?
Should be
Code:
mkdir -p /var/run/courier/
instead. That should work.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
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
Installation Problem irpr Installation/Configuration 21 13th December 2006 11:55
ISPConfig faiture glt50 Installation/Configuration 16 6th July 2006 01:58
Install Error on Debian 3.1 planet_fox Installation/Configuration 4 25th June 2006 17:03
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


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


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