Linux Server Hacks

Errata for Linux Server Hacks

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Printed
Page Xii
7th paragraph

http://www.tuxedo.org/~esr/faqs/hacker-howto.html NOW READS: http://www.catb.org/~esr/faqs/hacker-howto.html

Anonymous    Aug 01, 2004
Printed
Page xiv
3rd para (first bullet point)

"Chapter 11Server Basics" NOW READS "Server Basics"

Anonymous    Aug 01, 2004
Printed
Page 10
IN PRINT: "n>&m: Swap Standard Output and Standard Error" section, third paragraph,

"Without redirectrion..." NOW READS: "Without redirection..."

Anonymous    Aug 01, 2004
Printed
Page 11
2ndline:

"...the pipe or backquotes. The Bourne shell..." NOW READS: "...the pipe or backquotes, the Bourne shell..."

Anonymous    Aug 01, 2004
Printed
Page 17
IN PRINT: 2nd code sample

rob@catlin:~/Pit of too many files$ ls NOW READS: rob@catlin:~/Pit of too many files$ ls *

Anonymous    Aug 01, 2004
Printed
Page 27, 28
List: Makefile.mail, Makefile.push

All lines in these Makefiles are shifted to the left margin, which won't work for Makefiles--they need tab indents following a target. E.g., not: aliases.db: aliases newaliases SHOULD BE: aliases.db: aliases <TAB>newaliases

Anonymous   
Printed
Page 27
Listing: Makefile.mail

all: virtusers.db aliases.db access.db NOW READS: all: virtusers.db aliases.db access.db sendmail.cf

Anonymous    Aug 01, 2004
Printed
Page 76
IN PRINT: Sentence before the script (1st paragraph)

"...try this bit of Perl in cron on the authoritative master machine." NOW READS: "...try this bit of shell code in cron on the authoritative master machine."

Anonymous    Aug 01, 2004
Printed
Page 96
End of 2nd paragraph

"Tunneling IPIP Encapsulation" [Hack #50] NOW READS: "Tunneling: GRE Encapsulation" [Hack #51]

Anonymous    Aug 01, 2004
Printed
Page 100
2nd line of 2nd last paragraph

A tracroute NOW READS: A traceroute

Anonymous    Aug 01, 2004
Printed
Page 101
(reported as page 99)

http://www.tlpd.org/HOWTO/Adv-Routing-HOWTO/ NOW READS: http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/

Anonymous    Aug 01, 2005
Printed
Page 128
2nd paragraph; (reported as page 127)

208.201.239.17 NOW READS: 208.201.239.13

Anonymous    Aug 01, 2005
Printed
Page 129
last line of last paragraph

you at hand. NOW READS: you have at hand.

Anonymous    Aug 01, 2004
Printed
Page 129
3rd & 4th Paragraph; (reported as page 129)

208.201.239.17 NOW READS: 208.201.239.13

Anonymous    Aug 01, 2005
Printed
Page 139-140
In the printing that has [3/03*] on the copyright page,

the chapter start of Chapter 6 is missing (which includes the beginning of Hack #66). Here is a PDF of the missing page: http://examples.oreilly.com/9780596004613/ch06_chap_start.pdf

Anonymous   
Printed
Page 139-140
In the printing that has [3/03*] on the copyright page,

the chapter start of Chapter 6 was missing (which includes the beginning of Hack #66). The initial page (and beginning of Hack #66), page 139, now appears in the book as of the 11/03 printing.

Anonymous    Nov 01, 2003
Printed
Page 144
IN PRINT: Code sample, third line down

if ! kill -0 $SSH_AGENT_PID > /dev/null 2> then NOW READS: if ! kill -0 $SSH_AGENT_PID > /dev/null 2>&1; then

Anonymous    Aug 01, 2004
Printed
Page 161
Top paragraph

"Only quarriers whose IP addresses match ..." change "quarriers" to "queriers"

Anonymous   
Printed
Page 183
IN PRINT: First paragraph after the Apache Toolbox script, second sentence

"Type 99@lt;enter&gt;..." NOW READS: "Type 99<enter>..."

Anonymous    Aug 01, 2004
Printed
Page 196
Hack #94, 3rd line

on sites deal NOW READS: on sites that deal

Anonymous    Aug 01, 2004
Printed
Page 210
Center of page (VirtualHost configuration snippet)

The ProxyPassReverse directive doesn't (yet) support environment variables. AUTHOR: This is correct. Setting an environment variable within a ProxyPassReverse directive doesn't have the intended effect. It doesn't interpolate the variable, completely breaking the reverse proxy. Restarting Apache with this directive in place doesn't even throw any warnings. Evidently, environment variables are only used with the following directives: BrowserMatch BrowserMatchNoCase PassEnv RewriteRule SetEnv SetEnvIf SetEnvIfNoCase UnsetEnv This means that any redirects handed out by the back-end servers in the example don't get rewritten properly. Comment out the ProxyPassReverse line, and tell the fine folks at Apache just how useful environment variables would be in ProxyPassReverse! As a (horrible) workaround, you can list multiple ProxyPassReverse lines in a single VirtualHost entry, but this defeats the whole purpose of an automated proxy. The rest of the Hack still works unless back-end servers hand back redirects to themselves. They should use external, fully qualified redirects to avoid this problem.

Anonymous