Scott Gregson <[EMAIL PROTECTED]> wrote:
>I was following the cr.yp.to guides to installing things
Which guides are those? cr.yp.to has installation instructions for
ucspi-tcp and daemontools, but not qmail. And the INSTALL file
included with qmail doesn't mention ucspi-tcp or daemontools. Yet, I
see you're using both, as well as the LWQ (and soon to be TQH)
qmailctl script.
>but I must have
>done somethings wrong - surprise, surprise. Except for the mistake of
>installing daemontools in /tmp/packages/... as opposed to what I finally
>determined was supposed to go in ? /package/... . I think I did it
>right. I was su as root, I made all the users, groups, links, etc. the
>links all seem to work and ps waux | grep qmail > waux.txt - gives me
>this:
>root 5649 0.0 0.0 1292 344 ? S 02:52 0:00 supervise
>qmail-send
>root 5651 0.0 0.0 1292 344 ? S 02:52 0:00 supervise
>qmail-smtpd
>qmails 5653 0.0 0.0 1348 408 ? S 02:52 0:00
>qmail-send
>qmaild 5655 0.0 0.1 1364 520 ? S 02:52 0:00
>/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 779
>root 5658 0.0 0.0 1304 356 ? S 02:52 0:00
>qmail-lspawn ./Mailbox
>qmailr 5659 0.0 0.0 1304 356 ? S 02:52 0:00
>qmail-rspawn
>qmailq 5660 0.0 0.0 1296 364 ? S 02:52 0:00
>qmail-clean
>root 14012 0.0 0.1 1520 596 pts/0 S 13:05 0:00 grep
>qmail
That all looks good.
>As you can see it looks as if I got something running at 3:00 this
>morning. But I cannot get qmailctl to do anything - I get the typical
>permissions problem - permission denied... (same for the other files I
>tried in /var/qmail/bin).
It's curious that you can't run the binaries because some of them are
obviously being run by svscan.
>I can no longer send mail locally either - I don't get any complaints
>when I try but it doesn't show up anywhere that I can find it.
Where are you looking? Try "more ~user/Mailbox".
>After much reading and much hacking of permissions (probably a
>mistake).
Yes, definitely.
>Should I start from scratch? If so, should I just go through the
>process with or without removing the files I installed - I am not
>familiar with the way things should be done when things go wrong in the
>Unix world.
It's cleaner to delete what you can before reinstalling, but either
way should work.
>Just to confirm that things are wrong I just did (while in
>/var/qmail/bin):
>chmod 1755 qmailctl
>qmailctl
>and got:
>no such file or directory.
See
http://www.faqts.com/knowledge_base/view.phtml/aid/1200/fid/223
-Dave