📄 ch50_12.htm
字号:
CLASS="linkend"HREF="ch23_10.htm"TITLE="Deletion with Prejudice: rm -f ">23.10</A>, <ACLASS="linkend"HREF="ch23_17.htm"TITLE="Problems Deleting Directories ">23.17</A>)</SPAN>.</P></DD><DTCLASS="term"><CODECLASS="literal">intruder alert!</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59837"></A><ACLASS="indexterm"NAME="AUTOID-59839"></A>Comes from <EMCLASS="emphasis">whoami</EM>, and means that <EMCLASS="emphasis">whoami</EM> can't look you up inthe<SPANCLASS="link"><EMCLASS="emphasis">/etc/passwd</EM> (<ACLASS="linkend"HREF="ch36_03.htm"TITLE="Changing the Field Delimiter ">36.3</A>)</SPAN>file.This probably means that someone managedto delete or corrupt <EMCLASS="emphasis">/etc/passwd</EM>.</P></DD><DTCLASS="term"><CODECLASS="literal">make: must be a separator on rules line 46</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59852"></A><ACLASS="indexterm"NAME="AUTOID-59854"></A>The bane of everyone who uses<SPANCLASS="link"><EMCLASS="emphasis">make</EM> (<ACLASS="linkend"HREF="ch28_13.htm"TITLE="make Isn't Just for Programmers! ">28.13</A>)</SPAN>.<EMCLASS="emphasis">make</EM>'s "rules" lines must begin with a TAB character.Spaces are notacceptable.This means that you used spaces, rather than a tab.Someeditors (and reportedly, even some networks) will change tabs tospaces automatically - so even if you've been careful to observe therule, you may still run across this message.</P></DD><DTCLASS="term"><CODECLASS="literal">not a typewriter</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59865"></A>As someone on the Net said, "Damn right, this isn't a typewriter.That's a problem?"Seriously, though:this is an obsolete messagethat still crops up occasionally.It means that the program attemptedto perform some I/O operation that would be legal on a terminal,except that it wasn't writing to a terminal:it was writing to a file,or to a pipe, etc.</P></DD><DTCLASS="term"><CODECLASS="literal">not enough memory</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59872"></A>There isn't enough<ACLASS="indexterm"NAME="AUTOID-59874"></A><ACLASS="indexterm"NAME="AUTOID-59876"></A><ACLASS="indexterm"NAME="AUTOID-59878"></A><SPANCLASS="link">swap space (<ACLASS="linkend"HREF="glossary.htm#UPT-ART-1010"TITLE="Glossary">52.9</A>)</SPAN>to run your program.Note that manymodern UNIX systems allow the system administratorto create new "swapping files";this may help you to work around the problem without reconfiguring adisk drive.Under SunOS, for example, you'd use the <EMCLASS="emphasis">mkfile</EM> and<EMCLASS="emphasis">swapon</EM> commands to solve this problem.</P></DD><DTCLASS="term"><CODECLASS="literal">segmentation fault (core dumped)</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59888"></A>A segmentation fault means that the program you're running attemptedto read or write some address in memory that wasn't assigned to it.If it's a program that you wrote, a segmentation fault probably meansthat a pointer is pointing to something strange.If it's a standardUNIX utility, well - it really means the same thing (not that ithelps).Most likely, though, you've given the program strange input - the input may be illegal, there may be more than the programcan handle, etc.</P></DD><DTCLASS="term"><CODECLASS="literal">typesetter busy</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59895"></A><ACLASS="indexterm"NAME="AUTOID-59897"></A><ACLASS="indexterm"NAME="AUTOID-59899"></A>I've seen this when using <SPANCLASS="link"><EMCLASS="emphasis">troff</EM> (<ACLASS="linkend"HREF="ch43_12.htm"TITLE="Typesetting Overview ">43.12</A>)</SPAN>;it usually means that you haven't specified the output devicecorrectly; i.e., that you haven't used the <EMCLASS="emphasis">-t</EM> option, whichsends the output to standard output, for post-processing by sometranslator.Actually, it's very rare for a user to invoke <EMCLASS="emphasis">troff</EM>directly.<EMCLASS="emphasis">troff</EM> is usually run through some kind of a shellscript.If you see this message, the shell script is doing the wrongthing.What does the message really mean?Simple.<EMCLASS="emphasis">troff</EM>, onits own, generates output for a C/A/T phototypesetter.Thesetypesetters were obsolete 10 or 15 years ago, and are now probably allrusting in junk heaps.But nobody bothered to change <EMCLASS="emphasis">troff</EM>. Ifyou don't include the <EMCLASS="emphasis">-t</EM> option, <EMCLASS="emphasis">troff</EM> tries to send theoutput to the typesetter; when it fails (because the typesetterdoesn't exist), <EMCLASS="emphasis">troff</EM> decides that the typesetter must be "busy." </P></DD><DTCLASS="term"><CODECLASS="literal">who are you?</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59917"></A><ACLASS="indexterm"NAME="AUTOID-59919"></A>Comes from<SPANCLASS="link"><EMCLASS="emphasis">lpr</EM> (<ACLASS="linkend"HREF="ch43_02.htm"TITLE="Introduction to Printing on UNIX ">43.2</A>)</SPAN>,and means that <EMCLASS="emphasis">lpr</EM> can't look you up in the<SPANCLASS="link"><EMCLASS="emphasis">/etc/passwd</EM> (<ACLASS="linkend"HREF="ch36_03.htm"TITLE="Changing the Field Delimiter ">36.3</A>)</SPAN>file.This probably means that someone managedto delete or corrupt <EMCLASS="emphasis">/etc/passwd</EM>.</P></DD><DTCLASS="term"><CODECLASS="literal">you don't exist. Go away.</CODE></DT><DDCLASS="listitem"><PCLASS="para"><ACLASS="indexterm"NAME="AUTOID-59933"></A><ACLASS="indexterm"NAME="AUTOID-59935"></A>I've never actually seen this message, though it's part of the UNIXmythology.Reportedly, it can come from the<SPANCLASS="link"><EMCLASS="emphasis">talk</EM> (<ACLASS="linkend"HREF="ch01_33.htm"TITLE="UNIX Networking and Communications ">1.33</A>)</SPAN>program when you try to talk from a <EMCLASS="emphasis">tty</EM> or (usually) a<SPANCLASS="link"><EMCLASS="emphasis">pty</EM> (<ACLASS="linkend"HREF="ch41_08.htm"TITLE="ptys and Window Systems ">41.8</A>)</SPAN>that isn't in the list of logged-in users, <EMCLASS="emphasis">/etc/utmp</EM>.One of our readersgot the message as he tried to reboot his computerafter accidentally removing the <EMCLASS="emphasis">root</EM> entry in <EMCLASS="emphasis">/etc/passwd</EM><CODECLASS="literal">8-(</CODE>.</P></DD></DL><PCLASS="para">While a lot of the error messages are more-or-less standard, a lot ofthem vary from vendor to vendor; some vendors have tried to protectyou from the worst abuse.I hope that all systemsincorporating the legendary "Don't you hate obscure messages" errormessage long since disappeared.</P><DIVCLASS="sect1info"><PCLASS="SECT1INFO">- <SPANCLASS="authorinitials">ML</SPAN></P></DIV></DIV><DIVCLASS="htmlnav"><P></P><HRALIGN="LEFT"WIDTH="515"TITLE="footer"><TABLEWIDTH="515"BORDER="0"CELLSPACING="0"CELLPADDING="0"><TR><TDALIGN="LEFT"VALIGN="TOP"WIDTH="172"><ACLASS="SECT1"HREF="ch50_11.htm"TITLE="50.11 Writing a Simple Man Page with the -man Macros "><IMGSRC="gifs/txtpreva.gif"SRC="gifs/txtpreva.gif"ALT="Previous: 50.11 Writing a Simple Man Page with the -man Macros "BORDER="0"></A></TD><TDALIGN="CENTER"VALIGN="TOP"WIDTH="171"><ACLASS="book"HREF="index.htm"TITLE="UNIX Power Tools"><IMGSRC="gifs/txthome.gif"SRC="gifs/txthome.gif"ALT="UNIX Power Tools"BORDER="0"></A></TD><TDALIGN="RIGHT"VALIGN="TOP"WIDTH="172"><ACLASS="CHAPTER"HREF="ch51_01.htm"TITLE="51. Miscellaneous Useful Programs and Curiosities"><IMGSRC="gifs/txtnexta.gif"SRC="gifs/txtnexta.gif"ALT="Next: 51. Miscellaneous Useful Programs and Curiosities"BORDER="0"></A></TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP"WIDTH="172">50.11 Writing a Simple Man Page with the -man Macros </TD><TDALIGN="CENTER"VALIGN="TOP"WIDTH="171"><ACLASS="index"HREF="index/idx_0.htm"TITLE="Book Index"><IMGSRC="gifs/index.gif"SRC="gifs/index.gif"ALT="Book Index"BORDER="0"></A></TD><TDALIGN="RIGHT"VALIGN="TOP"WIDTH="172">51. Miscellaneous Useful Programs and Curiosities</TD></TR></TABLE><HRALIGN="LEFT"WIDTH="515"TITLE="footer"><IMGSRC="gifs/smnavbar.gif"SRC="gifs/smnavbar.gif"USEMAP="#map"BORDER="0"ALT="The UNIX CD Bookshelf Navigation"><MAPNAME="map"><AREASHAPE="RECT"COORDS="0,0,73,21"HREF="../index.htm"ALT="The UNIX CD Bookshelf"><AREASHAPE="RECT"COORDS="74,0,163,21"HREF="index.htm"ALT="UNIX Power Tools"><AREASHAPE="RECT"COORDS="164,0,257,21"HREF="../unixnut/index.htm"ALT="UNIX in a Nutshell"><AREASHAPE="RECT"COORDS="258,0,321,21"HREF="../vi/index.htm"ALT="Learning the vi Editor"><AREASHAPE="RECT"COORDS="322,0,378,21"HREF="../sedawk/index.htm"ALT="sed & awk"><AREASHAPE="RECT"COORDS="379,0,438,21"HREF="../ksh/index.htm"ALT="Learning the Korn Shell"><AREASHAPE="RECT"COORDS="439,0,514,21"HREF="../lrnunix/index.htm"ALT="Learning the UNIX Operating System"></MAP></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -