vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Comments: Part 12 - Installing Courier IMAP & IMAP SSL I got stuck at the following lines: cp /usr/local/libexec/imapd.rc /etc/rc.d/init.d/imap cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/init.d/imaps 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/ 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. As expected, squirrelmail is not working and I suspect that the above steps may have been the problem. Does slackware have this folder in a different location? |
| |||
| The instructions I was following is at http://www.qmailrocks.org/imap.htm "Booga" <asd@asdf.net> wrote in message news:vlb2s4937imte6@corp.supernews.com... > Comments: Part 12 - Installing Courier IMAP & IMAP SSL > I got stuck at the following lines: > cp /usr/local/libexec/imapd.rc /etc/rc.d/init.d/imap > cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/init.d/imaps > 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/ > > 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. As expected, squirrelmail is not working and I suspect > that the above steps may have been the problem. Does slackware have > this folder in a different location? > > > |
| |||
| "Booga" <asd@asdf.net> wrote in message news:vlb3de57251p9d@corp.supernews.com... > The instructions I was following is at http://www.qmailrocks.org/imap.htm > > > "Booga" <asd@asdf.net> wrote in message > news:vlb2s4937imte6@corp.supernews.com... > > Comments: Part 12 - Installing Courier IMAP & IMAP SSL > > I got stuck at the following lines: > > cp /usr/local/libexec/imapd.rc /etc/rc.d/init.d/imap > > cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/init.d/imaps > > 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/ > > > > 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. As expected, squirrelmail is not working and I suspect > > that the above steps may have been the problem. Does slackware have > > this folder in a different location? > > > > > > > > the /etc/rc.d/init.d is simply for using SysV init scripts which is fine. It won't cause any harm. The reason that Slackware doesn't have that folder is because it uses BSD style init script ala just /etc/rc.d/rc.* Drew |
| |||
| 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. |
| ||||
| On Wed, 03 Sep 2003 10:46:59 +0000, Menno Duursma wrote: > On Tue, 02 Sep 2003 23:40:55 -0700, Booga wrote: > >> [...] >> 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 Oops - wait up, it was a directory... Morever there might still be files in there you would want to keep... So instead try: mv /etc/rc.d/init.d/* /etc/rc.d rmdir /etc/rc.d/init.d ln -s /etc/rc.d /etc/rc.d/init.d Sorry about that. -- -Menno. |