Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail startup problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 29, 2002 1:30 am    Post subject: qmail startup problems Reply with quote

Code:
midas root # /var/qmail/rc
alert: cannot start: unable to read controls
midas root #


this is what happens when I try to start qmail.

Did I start it right? what controls?
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 29, 2002 2:43 am    Post subject: Re: qmail startup problems Reply with quote

McVeigh wrote:
Code:
midas root # /var/qmail/rc
alert: cannot start: unable to read controls
midas root #


this is what happens when I try to start qmail.

Did I start it right? what controls?


Start it with
Code:
/etc/init.d/svscan start
Qmail uses daemontools, think of it kind of like xinetd. Start one daemon, and it starts the rest.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 29, 2002 3:18 am    Post subject: Reply with quote

thanks for the reply, is there any docs for gentoo and qmail? I have searched but haven't found any.

The qmail sites I find don't seem to apply to gentoo :oops:

EDIT:

example I can't find the command "qmailctl"
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php


Last edited by McVeigh on Wed May 29, 2002 3:27 am; edited 1 time in total
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 29, 2002 3:22 am    Post subject: Reply with quote

McVeigh wrote:
thanks for the reply, is there any docs for gentoo and qmail? I have searched but haven't found any.

The qmail sites I find don't seem to apply to gentoo :oops:



Did you get it to work?

I haven't messed with the qmail ebuild yet, but I've helped others. I personally built qmail from source (on my servers I like to be in control), and I used www.lifewithqmail.org, you might want to browse through that.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.


Last edited by Nitro on Wed Nov 26, 2003 4:54 am; edited 1 time in total
Back to top
View user's profile Send private message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 29, 2002 3:41 am    Post subject: Reply with quote

well I found the
/var/qmail/bin/qmail-showctl
/var/qmail/bin/config-fast
commands

which seemed to setup some filesthat I do find mentioned in life w/ qmail, but how can I test it w/o a qmailctl command?
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
CasimirEffect
n00b
n00b


Joined: 06 May 2002
Posts: 31
Location: Bellingham, WA

PostPosted: Thu Nov 07, 2002 12:10 am    Post subject: Has this been answered yet? Reply with quote

I've done a lot of serching and have only found happy people who are smarter than I am. Are there any Gentoo specific instructions for qmail?
_________________
I don't hate Microsoft.


Last edited by CasimirEffect on Thu Nov 07, 2002 12:22 am; edited 1 time in total
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Nov 07, 2002 12:18 am    Post subject: Re: Has this been answered yet? Reply with quote

CasimirEffect wrote:
Are there any Gentoo specific instructions for qmail?

The ebuilds tell you to run "ebuild config" on them, and also give some commands needed to symlink things so that svscan will start qmail. What do you want to happen and what is happening?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
CasimirEffect
n00b
n00b


Joined: 06 May 2002
Posts: 31
Location: Bellingham, WA

PostPosted: Thu Nov 07, 2002 12:24 am    Post subject: Doh! Reply with quote

I missed that becaused I emerged a lot of things at once. Thanks! It seems to be working now!
_________________
I don't hate Microsoft.
Back to top
View user's profile Send private message
Woland
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 248
Location: Russian Jack, Alaska

PostPosted: Mon Mar 17, 2003 2:39 am    Post subject: Reply with quote

Just as a warning to others: do not emerge qmail, and then just follow the instruction in the Life with Qmail book to install, without following the instructions at the end of the qmail e-build:
Code:

Please do not forget to run, the following syntax :
 ebuild /var/db/pkg/net-mail/qmail-1.03-r8/qmail-1.03-r8.ebuild config
 This will setup qmail to run out-of-the-box on your system.
 
 To start qmail at boot you have to enable the /etc/init.d/svscan rc file
 and create the following links :
 ln -s /var/qmail/supervise/qmail-send /service/qmail-send
 ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd


You will cry bitter tears if you do---I should know, I am using up my third hankey.
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Mon Mar 17, 2003 2:57 am    Post subject: Qmail problems Reply with quote

I emerged qmail, followed the instructions to make the symlinks, and then followed through the "Life with Qmail" page. I had some problems with permissions on files and directories, but just about everything is working now. Oh yeah. There was no /var/qmail/alias/ directory created from the ebuild either. Perhaps that's something that should be fixed.

The one problem that I'm still having is that local mail is delivered nicely to ~/Mail/inbox, but it doesn't show up in KMail. Should I be delivering to there, or should I deliver it in mbox format to /var/mail/user ?
_________________
I bent my wookie.
Back to top
View user's profile Send private message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Sat Jun 28, 2003 8:59 pm    Post subject: Reply with quote

I have emerged qmail, and I have run the required commands (as listed at the end of the emerge), however I still don't have the qmailctl commant - which is listed in the life with qmail doc.?
_________________
[LRU]
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Sat Jun 28, 2003 10:44 pm    Post subject: qmailctl Reply with quote

qmailctl is a script published on lifewithqmail and is not part of the qmail package. You can copy and install it from here.

http://www.lifewithqmail.org/lwq.html#start-qmail

You'll need to scroll down a bit to find it. I installed because that's what I normally use to check the queue, but it'll need some modification on Gentoo to get all the functionality it normally has.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
bitzer
n00b
n00b


Joined: 03 Jul 2003
Posts: 57
Location: Las Cruces, NM

PostPosted: Thu Jul 10, 2003 3:57 pm    Post subject: Reply with quote

For what it's worth, and for anyone who stumbles upon this thread from searching in the future, this page was linked to off of qmail.org. Would seem to fill the request for "Gentoo Specific Instructions," though I haven't tried them myself:

http://www.skunkworx.org/guides/QmailOnGentoo.txt
_________________
"I respect faith, but doubt is what gets you an education."
--Wilson Mizner
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Jul 20, 2003 4:50 am    Post subject: Reply with quote

Woland wrote:
Just as a warning to others: do not emerge qmail, and then just follow the instruction in the Life with Qmail book to install, without following the instructions at the end of the qmail e-build:
Code:

Please do not forget to run, the following syntax :
 ebuild /var/db/pkg/net-mail/qmail-1.03-r8/qmail-1.03-r8.ebuild config
 This will setup qmail to run out-of-the-box on your system.
 
 To start qmail at boot you have to enable the /etc/init.d/svscan rc file
 and create the following links :
 ln -s /var/qmail/supervise/qmail-send /service/qmail-send
 ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd


You will cry bitter tears if you do---I should know, I am using up my third hankey.


I agree with woland, especially if you got it working on another box. Simply follow the instructions from LWQ and you'll have a working qmail setup identical to probably 90% of all the qmails in the world. All the addons for qmails are aware of LWQ and you'll be in known territory. Using the ebuild makes it harder to know how things are setups and you end up figuring out the ebuild author's point of view of how things should be (like not using svscanboot :x ).
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum