[techtalk] No answers?

Shad Young shad at review-guru.com
Sat Feb 12 16:14:15 EST 2000

Heh heh. I take it I am not he only one without a solution to my server


Original Message: /////////////////////////////

Robert Siemer wrote:
> Hi Shad!
> From: Shad Young <shad at review-guru.com>
> > Are there any networking guru's on this list? I have some techinal
> > questions and fine tuning to do on Apache, Bind, Qmail and Gnu-pop3d.
> Except with gnu-pop3d, go on. I use qmail-pop3d.
> Ciao,
>         Rob

Ahhhh. Execellent! Hi Rob.

I have services runnning on my server for web and mail. I run a variety
of domains using the <VirtualDomain> options in httpd.conf.

1. All are working but a couple of them have what appear to be "broken"
domain-error_logs and domain-access_logs. (though through various minor
error corrections in the config files the only one with an access_logs
error is the default "access_log"). The error_log problem is
inconsistant in that some zone file aliased doms have problems with
"www" and others with a different alias such as "politics". An example
of this would be thus:

www.quotationlocation.com (works) vs politics.quotationlocation.com (url
works, access_log works error_log does not. All are configured

2. The main error_log has many errors relating to "child process PID
xxxx still does not exist - sending SIGTERM. This repeats on and on with
diferent PID's

3. What do I configure to rotate the logs for the new virtual domains. I
remember coming accross a reference to it in the Apache docs a while
ago, but I can not find it again.

4. Even though all domains are identically configured I can not get mail
to quotationlocation.com (the most recently added domain and one that
was recently transfered form an ISP). QMail reports no errors, and
hotmail (where I test from) doesn't to give me an error report for that
domain. It just seems the mail is going to /dev/null. It works fine
locally and all other DOMs, which are configured identically, work fine.
(I do not now remember if I changed the zone file serial number on last
configuration; would this prevent the root name servers from updating
their pointers?) 

5. Qmail claims to allow ~/Maildir/ (a directory) vs ~/Mailbox (a file).
Can this be reconfigured on the fly or do I need to reconfigure qmails
makefiles and recompile.

In order to get Qmail and gnu-pop3d to work together and play nice I
symbolically linked each users /home/user/Mailbox to
/var/spool/mail/<username> (qmail want to dump mail into ~/Mailbox while
popd want to dump it in /var/spool/mail).  This works but seems sloppy.
I feel in my bones there must be a better way.

6. I can never get an authoritative nslookups for my zone files. Only
non-athoritative. I suspect that this is due to the caching feature of
bind. How do I clear binds cache?

Heh heh. I'll bet you are sorry you asked now, eh? (conclusion below

A snippet from httpd.conf



ServerAdmin shad at quotationlocation.com
ServerName www.quotationlocation.com
ServerAlias www.quotationlocation.com
DocumentRoot /home/httpd/html/quotationlocation
ErrorLog logs/www.quotationlocation.com-error_log
TransferLog logs/www.quotationlocation.com-access_log

ServerAdmin shad at quotationlocation.com
ServerName politics.quotationlocation.com
ServerAlias politics.quotationlocation.com
DocumentRoot /home/httpd/html/quotationlocation/politics
ErrorLog logs/politics.quotationlocation.com-error_log
TransferLog logs/politics.quotationlocation.com-access_log


And this is the zonefile: (the mailer may have wrapped lines)


@       IN      SOA     ns.quotationlocation.com.
shad.quotationlocation.com. (
                                      1999031712 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
        IN      NS      ns.midnt-x-press.com.
        IN      A
        IN      NS      ns2.midnt-x-press.com.
        IN      MX      ns.midnt-x-press.com
;1       IN      PTR     localhost.

localhost       IN      A
www     IN      A
ns      IN      A
ns2     IN      A
politics    IN    A


/var/qmail/control/local has a reference to quotationlocation.com

You'll notice there is no reference to an alias "mail". I use ns as tha
name for the server. Perhaps I should add the alias?

I could go on and on as I am a perfectionist. But I'll spare you the
agony. :-)
"Fear is the foundation of obedience." Vladimir Lenin
"Without fanaticism one cannot accomplish anything." Evita Peron
"...in order to punish less often, punish more severely." Napoleon

techtalk at linuxchix.org   http://www.linuxchix.org

More information about the Techtalk mailing list