HDTenEightyP/NetNews huggingface dataset:
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.sys.sun.admin
Subject: Re: Plenty of free space on drive, but 100% full?
Date: 8 Oct 92 15:14:20 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <TIBBS.92Oct7003200@bifur.math.uh.edu> tibbs@bifur.math.uh.edu (Jason L Tibbitts III) writes:
<After upgrading a Sparc 2 to 4.1.3 (from 4.1.1B) and doing the obligatory
<fsck, I get from df:
<
<Filesystem            kbytes    used   avail capacity  Mounted on
</dev/sd0a               7573    5922     894    87%    /
</dev/sd0g              85789   77442       0   100%    /usr
<...
<
<Now how on earth did this thing learn to subtract?
<
<Deleting some small file aill make the "avail" number go negative, but
<after a while it will spontaneously go back to zero.  A full fsck from
<single user and a reboot doesn't help anything.
<
<Any ideas?  (Please let it not be the 'ol "backup and restore"!)

You obviously don't know about BSD file structures.  There is a 10% buffer
in every BSD file system.  This gives you a chance to continue to work and
get the file system back down in size.

So, you can really go to 110% with a BSD file system.
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
Newsgroups: comp.sys.sun.admin,comp.infosystems.gopher
From: aburt@mnemosyne.cs.du.edu (Andrew Burt)
Subject: Re: inet, daemon from hell
Organization: University of Denver, Dept. of Math & Comp. Sci.
Date: Sat, 10 Oct 92 00:54:01 GMT

In <1992Oct9.201541.11758@nstn.ns.ca> daniel@nstn.ns.ca (Daniel MacKay) writes:

>I'm running gopherd 1.01 from SunOS 4.1's inetd.  If I bash port 70 by
>opening (with a little Perl program) a connection to the port and then
>closing it again right away, after about fifty times, inetd goes into a
>major snit and stops accepting connections on that port.  Neither the
>netstat table nor the process table shows anything untoward.

>I can reproduce the problem on the nntp port and the telnet port, so it's
>not gopherd's problem.

>Sending inetd a HUP fixes it, and it'll just spontaneously recover after
>a few minutes as well.

>Does this sound familiar?  Is it one of the many joys of SunOS that I
>should come to know and love?

Well, I think you've just answered a question I was about to post (but I will
anyway :-)  Our sparc2, Nyx, by virtue of being a public access system, has
just recently started exhibiting *exactly* this behavior (though I haven't
tried the kill -1 trick to fix it) except it does it on the rlogin, telnet,
and ftp ports.  Sometimes it gets so hung it doesn't recover.  I've tried
many things, and seen no real symptoms of a problem.  (Thought it was our flakey
disk, but having just replaced that I see no improvement other than the disk
not being flakey any more.)  I thought it might be excess network traffic, but
it only affects the one machine.

Oddly enough, the problems have coincided with Nyx seeing the number of
users exceed an average of 70...  Which would go along with the "bashing
the port" theory.

As you report, it will sometimes go away; but usually not in our case.

It will, though, often hang the *existing* connections (not all of them,
though).

Also, our load average has been abnormally high since this has started
happening, but ps usually shows nothing much different from when the load
is 100 vs when it's 5.

I've idly wondered if some hacker nerd out there isn't bombarding us with
a stream of rlogin or telnet requests...  Maybe it's a genuine bug.

But -- anyone else have thoughts?
-- 

Andrew Burt 		   					  aburt@du.edu

      "And that, my liege, is how we know the Earth to be banana-shaped"
Newsgroups: comp.sys.sun.admin
From: lichtin@olsen.ch (Martin Lichtin)
Subject: Using monitor/kbd/mouse with console set to ttya?
Organization: Olsen & Associates, Zurich, Switzerland
Date: Wed, 7 Oct 1992 16:38:13 GMT


I have the following eeprom settings on a Sun-4/40:

	input-device=ttya
	output-device=ttya

Attached to /dev/ttya is a simple terminal running as the console.

I also have a monitor and a keyboard/mouse attached and would like to
run X windows with it. Unfortunately, the above mentioned eeprom
settings somehow disable /dev/kbd and /dev/mouse. Running

	perl -e 'open(X, "/dev/kbd") || die "$!\n"'

shows that the keyboard isn't accessible anymore. Any ideas what's
going on?

-- 
------------------------------------------------------------------------------
Martin Lichtin (lichtin@olsen.ch)			Tel +41-1-386-4848
Olsen & Associates Ltd					Fax +41-1-422-2282
Seefeldstr. 233, CH-8008 Zurich, Switzerland
Newsgroups: comp.sys.sun.admin
From: don@mars.dgrc.doc.ca (Donald McLachlan)
Subject: Re: Size of swap file
Reply-To: don@mars.dgrc.doc.ca
Organization: Communication Research Centre
Date: Wed, 7 Oct 92 16:36:01 GMT

In article 6926@fripp.ri.cadre.com, jh@cadre.com (Joe Hartley) writes:
>In article 1at0jpINNt7g@early-bird.think.com, barmar@think.com (Barry Margolin) writes:
>>Argh, when will people stop posting those silly "swap = N x RAM" myths
>[ Some text sacrificed to bandwidth gods ]
>
>How would *you* determine the swap area at setup time?

I always initially configure for swap >= the max memory that could possibly be
stuffed directly on the motherboard. For all SS1/SS@'s this is 64M. For
the 630 it is 128MB. This is generally ok for quite a while.


---
Donald McLachlan			e-mail	don@mars.dgrc.doc.ca
Communications Research Centre / DRL	office	613-998-2845
3701 Carling Ave.,			lab	613-998-2423
Ottawa, Ontario				fax	613-990-7987
K2H 8S2



Newsgroups: comp.sys.sun.admin
From: marvo@asl.uni-bielefeld.de (Markus Vogt)
Subject: AMPEX210+ termcap entry for SPARCstation2
Date: Wed, 7 Oct 92 13:37:14 GMT
Organization: Universitaet Bielefeld, ASL.


The other day I had to replace our VT100 terminals connected
to /dev/ttya and /dev/ttyb of our SPARCstation2 by 
terminals called 'AMPEX 210 plus'.  Although there is an existing
entry in our termcap, so it should be possible to use 'ampex210'
for type in the /etc/ttytab, we are not able to work on these 
AMPEX terminals after we logon.  The only thing happening is
beeping and beeping after each key pressed.  
But if you run the 'screen VT100/ANSI emulator' right after
login in your shell resource file,  there're no problems at all.

I would be pleased if anyone could give me the correct termcap
entry or any other hint.

Thanks,
 Markus.
--
----------------------------------------------------------------------
        __    __    __
       |\_\  /\_\  /\_\                   University of Bielefeld
       ||  \/ /  |/ / /                   Room-Nr. C6-141
       || \ \/ / | / /                    PO Box 100131
       || |\__/| |/ /                     W-4800 Bielefeld 1
       || |   || | /                      Tel.: +49 521-106-3518
       \|_|   \|__/ Markus Vogt           or    +49 521-109765

 uteca008@Unibi.HRZ.Uni-Bielefeld.DE  or  marvo@asl.Uni-Bielefeld.DE

----------------------------------------------------------------------
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.admin
Subject: Re: Harware flow control on serial lines
Date: 17 Oct 92 01:24:45 GMT
Organization: Auspex Systems, Santa Clara

>On an IPX you have to configure the ports ttya and ttyb for hardware
>flow control by hand using the eeprom command, see manpage for eeprom.

Umm, a few of things to note here:

	1) in the OPEN BOOT PROM 2.0 or so source, the following comment
	   appears in "8530mode.fth", in the code to handle the tty mode
	   string:

		\ handshake is not implemented except for syntax check

	   so unless the IPX's PROM is a later version that implements it,
	   the "h"/"s"/"-" field doesn't do anything.

	2) even if it *did* implement it, SunOS wouldn't pay any
	   attention to it - SunOS, as of 4.1.2, pays *absolutely no
	   attention* to the "ttya-mode" and "ttyb-mode" fields.  That's
	   "absolutely no attention", as in ABSOLUTELY NO ATTENTION.

SunOS 4.x doesn't support bi-directional RTS/CTS flow control on the CPU
serial ports.  Some future 5.x release may support it, probably
(hopefully!) using the "termiox" "ioctl"s to turn it on and off.

(UNIX, in general, and SunOS, in particular, has lots of "ioctl"s to
configure tty ports.  Many programs running under UNIX can be told to
use those "ioctl"s; the ability to control tty port characteristics via
EEPROM settings is, at best, redundant in most circumstances - at least
in SunOS 4.1[.x], you can get "soft carrier" without having to much with
"ttya-ignore-cd" or "ttyb-ignore-cd", just by specifying "local" in the
"/etc/ttytab" entry for the port - and is completely useless to the UNIX
user in many circumstances, as SunOS pays no attention to many of those
settings.)
From: jdyer.wbst129@xerox.com (John D. Dyer)
Newsgroups: comp.sys.sun.admin
Subject: Re: secure NFS without YP?
Date: 16 Oct 92 15:57:00 GMT
Reply-To: jdyer.wbst129@xerox.com
Organization: Xerox Corporation, Webster NY

In article J56@wsrcc.com, wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes:
> Is it possible to set up a secure NFS without running YP?  Eg. I'd
> like not to export a file system to the whole world, but I don't want
> to run YP either.
> 
> At first glance the above is doable with this entry in /etc/exports:
> 
> 	/my/nfs/fsys -access=b.domain.com
> 
> and the following settings of hostname and domainname.
> 
> 	hostname exporting machine: "a.domain.com"
> 	hostname importing machine: "b.domain.com"
> 	domainname on both: ""
> 
> With no YP domainname set, mountd dumps core and the importing system
> gets an RPC timeout.  With an arbitrary string in both system's
> domainname one gets a permission denied on the importing system.  In
> addition if domainname is set, the systems hang on boot, awaiting some
> YP server for that domain to speak up.
> 
> Does one really need to configure YP just to get NFS not to export a
> filesystem to the world?
> 
> -wolfgang
> -- 
> Wolfgang Rupprecht    wolfgang@wsrcc.com (or) decwrl!wsrcc!wolfgang
> Snail Mail:           39469 Gallaudet Drive, Fremont, CA 94538-4511


I may be somewhat naive, and if so, please enlighten me, but it sounds like you're running yp services even though you said you didn't want to.  If you never bind to a ypserver, your domain name is going to be ignored anyways.  From the info you've given here, I would say just make sure ypbind isn't being run.  There are many ways to do this, one being to mv the ypbind command itself to ypbind.not (or something along those lines).  I'm sure there are better ways, but this works for me.  In this example, yo




ur rc.local will see if ypbind exists, and if not won't start yp services at all.  Your exports file looks correct.

Your server doesn't have to run yp, it just needs to know its own clients (/etc/hosts).  The clients can run yp, as long as your server is in the ypmaps.

I hope this helps a little.  Let me know if I'm completely off-base.  BTW, I successfully export filesystems with control without running NIS.

John Dyer jdyer.wbst129@xerox.com
Software Support Engineer, Xerox Corp.
"I don't speak for Xerox, and they don't speak for me.  It's a good relationship" 
Newsgroups: comp.sys.sun.admin
From: mnejat@telesoft.com (Mehregan Nejat @lone)
Subject: Is there a tar like util which can support more than 100 chars.
Keywords: tar can't handle longer than 100 chars filenames
Organization: TeleSoft, San Diego, CA, USA
Date: Fri, 16 Oct 1992 22:43:41 GMT

Accoring to tar man pages files with names longer that 100 characters
cannot  be  processed.

Is there a tar like utility that can do better than 100 characters.
I know cpio can handle up to 120 charracters,  but that won't
do the job either.

Thanks in advance,


--Mehregan Nejat
From: arvidson@lagrange (John Arvidson  )
Newsgroups: comp.sys.sun.admin
Subject: anonymous ftp
Date: 15 Oct 92 17:30:04 GMT
Organization: Colorado State University, Fort Collins

Hi, can anyone out there help me to implement anonymous ftp on 
a sparcstation ipc running SunOS Release 4.1.1?  I don't see 
anything on this in the man pages or the sys. and net. adm. guide
for sun os.  Thanks, John

arvidson@math.colostate.edu
From: jeff@ieor-next1.Berkeley.EDU (Jeff Louie)
Newsgroups: comp.sys.sun.admin
Subject: SparcPrinter error message
Date: 14 Oct 1992 18:52:46 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: leerdam.berkeley.edu


I am having a problem trying to decipher an error message while printing
on a SparcPrinter running Newsprint 1.0.  While things were working fine
with the software on the 1+ connected to the SparcPrinter, it was necessary
to reload the OS and print software.  Since then I have not had much success
in trying to coax the machine to print.  

I would very much appreciate any suggestions as to where to look for a  
solution.  I'm not a frequenter of this newsgroup, so please send replies  
directly to me.

Thanks,

Jeff Louie
Department of Industrial Engineering
UC Berkeley
(jeff@ieor.Berkeley.EDU)


I get either one of two messages:

%%[ PrinterError:sys err: Invalid argument ]%%
%%[ PrinterError:sys err: Invalid argument ]%%

or

%%[ Error: Message: Process: 0x25b234 (Unnamed process)   Error: typecheck
Stack: save[1] 1 false (sys err: Invalid argument ) null /Stdout
Executing: 'get'
At: {enginedict /FilterProcess 'get' /Stdout *'get' 'dup' 'null' 'ne' array{2}  
'false' 'ifelse' 'not' ...}
In: {/ENGINE_RESULT_STR EngineToken GetEngineValue *eprint}
In: {'exch' 'pop' *'exec'}
In: {'false' 'exch' array{4} 'forall' 'dup' 'xcheck' array{3} array{2}  
*'ifelse'}
In: {SendValuePair /ENGINE_RESULT_CODE EngineToken GetEngineValue array{12}  
*case}
In: {'exch' 'pop' *'exec'}
In: {'false' 'exch' array{4} 'forall' 'dup' 'xcheck' array{3} array{2}  
*'ifelse'}
In: {'dup' 'type' array{10} *case}
In: {'dup' 'xcheck' array{3} array{4} *'ifelse'}
In: {... -1 'roll' 'exch' SetEntry 'exch' *SetEntry}
In: {'exch' 'pop' *'exec'}
In: {'false' 'exch' array{4} 'forall' 'dup' 'xcheck' array{3} array{2}  
*'ifelse'}
In: {'dup' 'type' array{10} *case}
In: {'dup' 'xcheck' array{3} array{4} *'ifelse'}
In: {'exch' 2 'copy' 'known' array{1} array{2} 'ifelse' *SetEntry}
In: {handler-connection-ok? 'not' array{3} array{8} *'ifelse'}
In: {... EngineToken SetEngineValue /CTL_CMD_PRESS /ENGINE_CMD EngineToken  
*SetEngineValue}
In: {... /ENGINE_DEQUEUE_TO_ACTIVE EngineToken SetEngineValue /CurrProc 'load'  
*'exec' array{3} 'if' Chain 'exch' 'get' setothercanvas end}
In: {'currentcanvas' /SharedFile 'get' 'length' 0 'ne' array{28} *'if'  
initgraphics}
In: Reading file(?,W,R)
save[1] 1 false (sys err: Invalid argument ) null /Stdout 
]%%
Newsgroups: comp.sys.sun.admin
From: wolfgang@wsrcc.com (Wolfgang S. Rupprecht)
Subject: secure NFS without YP?
Summary: is secure NFS possible without YP?
Keywords: NFS YP exports domainname core dump
Organization: W S Rupprecht Computer Consulting, Fremont CA
Date: Thu, 15 Oct 1992 14:28:58 GMT

Is it possible to set up a secure NFS without running YP?  Eg. I'd
like not to export a file system to the whole world, but I don't want
to run YP either.

At first glance the above is doable with this entry in /etc/exports:

	/my/nfs/fsys -access=b.domain.com

and the following settings of hostname and domainname.

	hostname exporting machine: "a.domain.com"
	hostname importing machine: "b.domain.com"
	domainname on both: ""

With no YP domainname set, mountd dumps core and the importing system
gets an RPC timeout.  With an arbitrary string in both system's
domainname one gets a permission denied on the importing system.  In
addition if domainname is set, the systems hang on boot, awaiting some
YP server for that domain to speak up.

Does one really need to configure YP just to get NFS not to export a
filesystem to the world?

-wolfgang
-- 
Wolfgang Rupprecht    wolfgang@wsrcc.com (or) decwrl!wsrcc!wolfgang
Snail Mail:           39469 Gallaudet Drive, Fremont, CA 94538-4511
From: lab@spader.cap.se (Lars Berntzon)
Newsgroups: comp.sys.sun.admin
Subject: Re: C2security
Keywords: C2security
Date: 15 Oct 92 13:22:53 GMT
Organization: CGL Techno AB, Kista, Sweden

damon@etsun.tech.iupui.edu (Damon Beals) writes:


>	I want to start running C2 security.  So my question is will
>running C2 cause any problems.  Does it cause any problems with NIS.

>Also we are running around 300 Bw-NFS machine.  Will the bwnfsd handle
>the password correctly.  

>Does anyone have any horror stories with changing to C2 security.


>   Thanks Damon

I have just moved my system to C2 with no major problems. What you should
do first though is to check that all your applications that needs information
about users and password will work. If the applications are new and linked
dynamic there should be no problem. Old programs from before C2 was
available on Sun:s might cause trouble, specially if statically linked
( man ldd).

Second you must see to that all machines have C2-things in the kernel (like
auditing).

Another problem might arise if you have other types of machines accessing 
the NIS-database from the Sun:s, they might not support the C2-concept att
all.

There is also a patch for rpc.passwdd available from Sun that you'll need,
sorry but i don't remeber the patch-number.

Except from this i have no horror stories.

--
Lars Berntzon                              lab@cap.se or  ...seunet!spader!lab
Cap Programator AB
Sweden
From: lapeyre@oasys.dt.navy.mil (J P Lapeyre)
Newsgroups: comp.sys.sun.admin
Subject: /var/yp/Makefile needed
Date: 13 Oct 92 18:11:52 GMT
Article-I.D.: oasys.26318
Reply-To: lapeyre@oasys.dt.navy.mil (J P Lapeyre)
Organization: Carderock Division, NSWC, Bethesda, MD

I'm trying to start up yellow pages (now NIS) and I didn't even have
/var/yp on my system even though all NFS stuff was installed. Can some
one e-mail or post their default Makefile so I can get it.  I got sys
4.1.1 on CD-ROM and can find no way to intelligently get one file off
the CD. It's not in TAR format. THANX, JP


      ****************************************************************
      * J.P. Lapeyre                       lapeyre@oasys.dt.navy.mil *
      * David Taylor Model Basin                fax: (301)227-4347   *
      * CDNSWC                                                       *
      * Bethesda, MD 20084-5000                 vox: (301)227-1870   *
      ****************************************************************
      | "It is better to debate a question without settling it       |
      |  than to settle a question without debating it."             |
      |                                                              |
      |__________________Joseph Joubert _____________________________|
Newsgroups: comp.sys.sun.admin
From: larry@mitra.mitra.com (Larry Williamson)
Subject: Re: Size of swap file
Organization: Mitra Imaging Inc.
	<1992Oct7.163601.3305@clark.dgim.doc.ca>
Date: Thu, 8 Oct 1992 18:04:34 GMT

In article <1992Oct7.163601.3305@clark.dgim.doc.ca> don@mars.dgrc.doc.ca (Donald McLachlan) writes:
   I always initially configure for swap >= the max memory that could possibly be
   stuffed directly on the motherboard. For all SS1/SS@'s this is 64M. For
   the 630 it is 128MB. This is generally ok for quite a while.

Hmm, our Sparc10 can support up to 512M on the motherboard. Do you
suggest that a swap partition of 512M is appropriate? This box came
with only a 424M disk.
From: barnesm@vavau.Corp.Sun.COM (Mark Barnes - SMCC/CTE/OS)
Newsgroups: comp.sys.sun.admin
Subject: Re: Automounter: what's it good for?
Date: 16 Oct 92 21:18:48 GMT
Reply-To: barnesm@vavau.Corp.Sun.COM
Organization: Sun Microsystems, Inc.
NNTP-Posting-Host: vavau.corp.sun.com

To add to previous posts:

- With automounter you can have a setup such that if one host does not respond,
  then a mount from one or more alternative hosts is attempted.

- If you configure things to do so, you can mount any filesystem that is exported
   to you from anywhere on your net.  It's as simple as:  cd /net/host_name.

   
-----------------------------------+---------------------------------------
Mark Barnes, System Engineer    |  <insert standard disclaimers here>
SUN Microsystems Computer Corp. |
Corporate Technical Escalations |  I speak for myself, an individual,
Menlo Park, CA, USA             |  not for the company for which I work.
barnesm@vavau.Corp.Sun.COM      |
--------------------------------+---------------------------------------
Newsgroups: comp.sys.sun.admin
From: schaefer@denali.gsfc.nasa.gov (Martha Schaefer)
Subject: accounting
Followup-To: comp.sys.sun.admin
Organization: Goddard Space Flight Center
Date: Wed, 7 Oct 1992 15:16:50 GMT

I have recently started using the accounting software on our Sparc 2, and
am puzzled by something in the daily and monthly reports.  In the usage
summary, why should there be two listings for each UID?  Should I just sum
the two together to get the total usage for each person?  Please respond by
e-mail.
Newsgroups: comp.sys.sun.admin
From: horn@tegan.jsc.nasa.gov (Mark Horn)
Subject: Re: YP not accessing DNS
Organization: NASA Johnson Space Center
Date: Tue, 13 Oct 1992 20:08:40 GMT

In article <1992Oct13.142209.10732@aio.jsc.nasa.gov> horn@mickey.jsc.nasa.gov writes:
>We are having a problem with YP accessing
>the Domain Name Services.  On both our master server and all of our clients 
>if we ask to rlogin or telnet to any machine that is not in our yp hosts 
>db`s we get an "unknown host" error.
>
>I've scanned the man pages and discovered that there is an option to ypserv
>that will have it access the DNS when doing host lookup.  In /etc/rc.local
>I have ypserv setup to start as 'ypserv -d'. 

This is a followup post to summarize the answers that I got to this problem.
The problem is apparently a well known one and many people gave me the same
solution (which worked).

The solution revolves around having B=-b defined in the /var/yp/Makefile.  
Once this is set, then you simply touch /etc/hosts, then run make in /var/yp
on all servers (master & slave).  The -d option, that I mentioned is
apparently a debugging option for ypserv and has nothing to do with DNS.  The
manuals are apparently inaccurate.

One more thing that was mentioned was to make sure the the file
/etc/resolv.conf was properly configured on all machines - servers and
clients.

Thanks very much for the prompt response,
- Mark Horn
horn@mickey.jsc.nasa.gov
From: snozer@cats.ucsc.edu (Daniel Craig Jalkut)
Newsgroups: comp.sys.sun.admin
Subject: Help! Modem fried my computer?!
Date: 9 Oct 1992 06:22:52 GMT
Organization: University of California, Santa Cruz
NNTP-Posting-Host: am.ucsc.edu


I was using tip to connect to a system via a 9600 baud modem which I'd 
never used before on my Sun 3/50, and after a long period of what appeared
to be perfect usage, i got a lot of 'line noise' and my Sun froze up. I 
tried escaping with various methods, until finally I was forced to 
L1-A out and do a 'k2' reboot. Upon rebooting my screen went black and 
has been frozen ever since. I've tried turning it off and turning it on
but it still doesn't do anything.  Did I fry something with the modem?
-daniel
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.admin
Subject: Re: System panic "swtch"
Date: 10 Oct 92 22:32:09 GMT
Organization: Auspex Systems, Santa Clara

>What does the panic message "swtch" mean?

The simple answer is "it means you should call up Sun and complain".

The complicated answer is "it means that the process-switching code
found that the process that it decided to run, from looking at the queues
of runnable processes, wasn't *really* runnable".

There may be a patch for this, or there may not.
Newsgroups: comp.sys.sun.admin