Re: Slackware 9 - Qmail - Install Courier IMAP & IMAP SSL On Tue, 02 Sep 2003 23:40:55 -0700, Booga wrote:
> [...]
> The error indicated that:
> /etc/rc.d/init.d/ file or directory not found
>
> To get past the error, I manually created the folder.
> /etc/rc.d/init.d/
That would fail. Have a read trough `/etc/rc.d/rc.sysvinit'.
These lines should tell you how it works:
45: for script in /etc/rc.d/rc$prevlevel.d/K* ; do
53:for script in /etc/rc.d/rc$runlevel.d/S* ; do
> I did get past the error, but I am cocerned that creating this folder
> may cause problems down the line or how I did it was not the right way
> of doing things.
It might, thus try removing it - and making a link instead:
rm -f /etc/rc.d/init.d
ln -s /etc/rc.d /etc/rc.d/init.d
You'll also need the rc*.d dirs to put the K* and S* files in, ie:
for((i=1; i<=6; i++)); do mkdir /etc/rc.d/rc${i}.d; done
> As expected, squirrelmail is not working and I suspect
> that the above steps may have been the problem.
What you write above does not start or stop the service - nothing more,
you could edit `rc.local' to start it and `rc.6' to kill instead.
> Does slackware have
> this folder in a different location?
Nope - under the proper name instead (as shown above) you do need to make
some dirs and symlinks for compatibility with SysV init expecting software.
(However this is also the case between some SysV init style distros).
--
-Menno. |